tcpdrop(8) for DragonFly
joerg at britannica.bec.de
Sun Nov 14 07:34:18 PST 2004
On Sat, Nov 13, 2004 at 08:20:05PM -0800, Matthew Dillon wrote:
> Well, a TIME_WAIT state is actually more correct, depending on whether
> the connection is incoming or outgoing. It will go away in < ~2 minutes
> on its own. tcp_drop() will throw away the control block and the
> problem with that is that the remote end will not be notified about
> the disconnection until/unless it actually tries to send another packet.
> I would far prefer that shutdown be used, assuming no other issues
> pop up.
The original intent was actually to be able to completely shutdown a
connection, because e.g. for a DOS, you don't care about the other side,
which most likely doesn't care about you.
More information about the Submit