TCP SYN packets intermittently go unanswered
This document (7023254) is provided subject to the disclaimer at the end of this document.
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 0
net.ipv4.tcp_tw_recycle = 0
hostname:/proc/sys/net/ipv4 # echo 0 > tcp_tw_recycle
- tcp_tw_recycle (Boolean; default: disabled; since Linux 2.4)
- Enable fast recycling of TIME_WAIT sockets. Enabling this option is not recommended since this causes problems when working with NAT (Network Address Translation).
- tcp_tw_reuse (Boolean; default: disabled; since Linux 2.4.19/2.6)
- Allow to reuse TIME_WAIT sockets for new connections when it is safe from protocol viewpoint. It should not be changed without advice/request of technical experts.
tcp_tw_reuse may cause latent packets from a previous TCP connection to be accepted by a new connection on the reopened socket pair. Due to its impact on global TCP behavior, SUSE Support does not recommend enabling it with the exception of very specific use cases. All services reliant on TCP ought to be adequately tested to ensure the change does not cause problems with communications.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7023254
- Creation Date: 08-Aug-2018
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org