Search notes:

/proc/sys/net/ipv4/tcp_fin_timeout

The value of /proc/sys/net/ipv4/tcp_fin_timeout corresponds to the interval in which TCP connection stays in TIME_WAIT.
Linux sets this value by default to the value of TCP_TIMEWAIT_LEN, as defined in include/net/tcp.h

See also

The SO_REUSEADDR socket option.

Index