summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-23 13:06:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-23 13:06:38 +0000
commit4a2375f74a84e26e241a55775e3bc25f8a382f3c (patch)
treeca6e85a41d6472819abf88ed3e2e8c81b02d728a
parent141d16ea47c210d79aea60023fd3f06f2187d381 (diff)
rfc1323 variable
-rw-r--r--etc/netstart3
-rw-r--r--etc/rc6
2 files changed, 7 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart
index 2dabaa0dad5..e70cd11ef3a 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.10 1996/09/04 10:25:55 deraadt Exp $
+# $OpenBSD: netstart,v 1.11 1996/09/23 13:06:37 deraadt Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=-q
@@ -31,6 +31,7 @@ amd_dir=/amd # AMD's mount directory
amd_master=/etc/amd/master # AMD 'master' map
ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering
ipmon_flags=-s # To disable logging, use ipmon_flags=NO
+rfc1323=YES # TCP RFC1323 extensions (disable if tcp is slow)
# /etc/myname contains my symbolic name
#
diff --git a/etc/rc b/etc/rc
index daf4b9ca9af..6f4b62731f0 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.24 1996/09/07 20:45:24 millert Exp $
+# $OpenBSD: rc,v 1.25 1996/09/23 13:06:36 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -80,6 +80,10 @@ if [ X"${ipfilter}" = X"YES" -a X"${ipmon_flags}" != X"NO" ]; then
ipmon ${ipmon_flags} &
fi
+if [ X"${rfc1323}" = X"NO" ]; then
+ echo 'disabling rfc1323'; sysctl -w net.inet.tcp.rfc1323=0
+fi
+
# clean up left-over files
rm -f /etc/nologin
rm -f /var/spool/lock/LCK.*