I have two questions
1) In case of active close, after FIN_WAIT state how much time will it take to close the connection?
I understood /proc/sys/net/ipv4/tcp_fin_timeout will decide (default 60 sec) in case of ubuntu and in case of BSD socket implementation 2 * MSL will take... AM I RIGHT ??? Kindly Confirm
2) In case of passive close, similarly after receiving last ack from other terminal how much time will it take to close the connection?
Can u share some more details on this???
hi Jasper Bongertz,
1) In Ubuntu 12.XX ver we observed FIN_WAIT time as 60sec and other one is less than one sec is taking... even after modifying /proc/sys/net/ipv4/tcp_fin_timeout, it is not changing...
2) Using Wireshark, capture traffic, can we get the FIN_WAIT sate time??? i understood, Fin_wait / close states are internals of tcp stack, this info can n't get through captures? AM I RIGHT?
asked 17 Apr '15, 02:39
edited 18 Apr '15, 20:07
how about you capture your own traffic for a while and simply check what happens? Those timings often depend on stack behavior, so it could be completely different on each system/stack.
It's always better to try and see what happens than reading design documents, wondering what reality is like. Use Wireshark, capture traffic, verify.
answered 17 Apr '15, 05:25