7 Comments

  1. anon
    anon 19/07/2013 at 12:45 .

    Thank you for the succinct article.
    My colleague pointed out if the local port range is 32768 – 61000, that there are 28233 available ports, not 28232.

  2. Kevein
    Kevein 22/10/2013 at 04:14 .

    Hi,

    #define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT state, about 60 seconds */

    I think this line means the TIME-WAIT is 60 second, not MSL is 60s.
    You may watch the output of netstat, the TIME-WAIT socket is destroyed by 60s.

    Thanks,
    Kevein

  3. Emiel
    Emiel 09/01/2014 at 00:01 .

    FreeBSD can change the msl through a sysctl.

  4. Jacek Lakomiec
    Jacek Lakomiec 15/01/2014 at 03:26 .

    Check on these as well:

    root@lara ~ # sysctl -A | grep -i wait
    net.netfilter.nf_conntrack_tcp_timeout_fin_wait = 120
    net.netfilter.nf_conntrack_tcp_timeout_close_wait = 60
    net.netfilter.nf_conntrack_tcp_timeout_time_wait = 120
    net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait = 120
    net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait = 60
    net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait = 120

Post Comment

You must be logged in to post a comment.