From 47e8c0df80372b7e332c2917c46155e79ace4a7f Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 5 Jun 1999 05:45:57 +0000 Subject: Add handle to control global TCP keepalives and turn them on as default. Despite their name it doesn't keep TCP sessions alive, it kills them if the other end has gone AWOL. This happens a lot with clients which use NAT, dynamic IP assignment or which has a 2^32 * 10^-3 seconds upper bound on their uptime. There is no detectable increase in network trafic because of this: two minimal TCP packets every two hours for a live TCP connection. Many servers already enable keepalives themselves. The host requirements RFC is 10 years old, and doesn't know about the loosing clients of todays InterNet. --- etc/defaults/rc.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/defaults') diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index b3874d6..a81058e 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -9,7 +9,7 @@ # # All arguments must be in double or single quotes. # -# $Id: rc.conf,v 1.8 1999/04/10 10:56:56 des Exp $ +# $Id: rc.conf,v 1.9 1999/05/16 09:19:44 phk Exp $ ############################################################## ### Important initial Boot-time options ##################### @@ -41,6 +41,7 @@ natd_interface="fxp0" # Public interface or IPaddress to use. natd_flags="" # Additional flags for natd. tcp_extensions="NO" # Set to Yes to turn on RFC1323 extensions. log_in_vain="NO" # Disallow bad connection logging (or YES). +tcp_keepalive="YES" # Kill dead TCP connections (or NO). network_interfaces="lo0" # List of network interfaces (lo0 is loopback). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. -- cgit v1.1