1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00

Reviewed by: wollman

Add a knob to make it easy to turn off RFC 1323 and RFC 1644 options.
This commit is contained in:
Rodney W. Grimes 1995-05-11 19:08:37 +00:00
parent 303fd456bf
commit a51ab5ce3b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8455
2 changed files with 20 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $Id: netstart,v 1.28 1995/04/12 16:58:06 ache Exp $
# $Id: netstart,v 1.29 1995/04/24 23:52:15 rgrimes Exp $
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
# If there is a global system configuration file, suck it in.
@ -18,6 +18,16 @@ if [ -n "$defaultdomainname" -a "x$defaultdomainname" != "xNO" ] ; then
domainname $defaultdomainname
fi
#
# XXX This is known to cause an error if /usr is nfs mounted since it
# will not be avaliable until after the network is up :-(. Once the
# relocation of sysctl to /sbin is done that problem will go away.
#
if [ -n "$tcp_extensions" -a "x$tcp_extensions" = "xNO" ] ; then
sysctl -nw net.inet.tcp.rfc1323=0
sysctl -nw net.inet.tcp.rfc1644=0
fi
# Set up all the network interfaces, calling startup scripts if needed
for ifn in ${network_interfaces}; do
if [ -e /etc/start_if.${ifn} ]; then

View File

@ -4,7 +4,7 @@
# This is sysconfig - a file full of useful variables that you can set
# to change the default startup behavior of your system.
#
# $Id: sysconfig,v 1.10 1995/04/11 01:22:24 rgrimes Exp $
# $Id: sysconfig,v 1.11 1995/04/24 23:52:16 rgrimes Exp $
######################### Start Of Syscons Section #######################
@ -63,6 +63,14 @@ hostname=myname.my.domain
# Set to the NIS domainname of your host, or NO if none
defaultdomainname=NO
#
# Some broken implementations can't handle the RFC 1323 and RFC 1644
# TCP options. If TCP connections randomly hang, try disabling this,
# and bug the vendor of the losing equipment.
#
tcp_extensions=YES
# XXX This is known to cause an error if /usr is nfs mounted since it
# Set to the list of network devices on this host. You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example: