FIN_WAIT_2
Robert Gogolok
robertgogolok at web.de
Mon Mar 21 09:36:09 PST 2005
Charles Swiger wrote:
> The TCP stack wants the remote end to acknowledge the last FIN it sends
> and close the connection cleanly, and there is a timer (2 * MSL?) which
> gets started when a connection moves into the closing stages
> (FIN_WAIT_1, FIN_WAIT_2, LAST_ACK).
So FIN_WAIT_2 is the time the server waits to receive the FIN from the
client, but although it doesn't get this last FIN message yet, it sends
ACK's for the expected FIN message?
> It's not uncommon for some clients (think dialup users running Win98),
> to drop the connection rather rather than close it properly.
So the client has time to ACK the server's FIN, but the user closes the
dialup connection, so the application hasn't sent the FIN?
> Your system should time out these connections after a while.
Good decision:-)
Greetings,
Robert!
More information about the freebsd-questions
mailing list