DragonFly BSD
DragonFly submit List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: tcpdrop(8) for DragonFly


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Sun, 14 Nov 2004 16:31:36 +0100

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.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]