tcp_extensions now only applies to RFC1323
This commit is contained in:
parent
554e90e43f
commit
50b8aa03a9
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
|
# $Id: rc.network,v 1.29 1998/08/14 06:55:17 phk Exp $
|
||||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||||
|
|
||||||
# Note that almost all the user-configurable behavior is no longer in
|
# Note that almost all the user-configurable behavior is no longer in
|
||||||
@ -108,7 +108,6 @@ network_pass1() {
|
|||||||
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
||||||
echo -n ' tcp extensions=NO'
|
echo -n ' tcp extensions=NO'
|
||||||
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
||||||
sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X$gateway_enable" = X"YES" ]; then
|
if [ "X$gateway_enable" = X"YES" ]; then
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
# All arguments must be in double or single quotes.
|
# All arguments must be in double or single quotes.
|
||||||
#
|
#
|
||||||
# $Id: rc.conf,v 1.54 1998/08/10 19:53:22 brian Exp $
|
# $Id: rc.conf,v 1.55 1998/09/04 23:37:24 jkh Exp $
|
||||||
|
|
||||||
##############################################################
|
##############################################################
|
||||||
### Important initial Boot-time options #####################
|
### Important initial Boot-time options #####################
|
||||||
@ -34,7 +34,7 @@ firewall_quiet="NO" # Set to YES to suppress rule display
|
|||||||
natd_enable="NO" # Enable natd (if firewall_enable == YES).
|
natd_enable="NO" # Enable natd (if firewall_enable == YES).
|
||||||
natd_interface="fxp0" # Public interface to use with natd.
|
natd_interface="fxp0" # Public interface to use with natd.
|
||||||
natd_flags="" # Additional flags for natd.
|
natd_flags="" # Additional flags for natd.
|
||||||
tcp_extensions="NO" # Allow RFC1323 & RFC1644 extensions (or NO).
|
tcp_extensions="NO" # Disallow RFC1323 extensions (or YES).
|
||||||
network_interfaces="lo0" # List of network interfaces (lo0 is loopback).
|
network_interfaces="lo0" # List of network interfaces (lo0 is loopback).
|
||||||
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
|
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
|
||||||
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
|
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
|
# $Id: rc.network,v 1.29 1998/08/14 06:55:17 phk Exp $
|
||||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||||
|
|
||||||
# Note that almost all the user-configurable behavior is no longer in
|
# Note that almost all the user-configurable behavior is no longer in
|
||||||
@ -108,7 +108,6 @@ network_pass1() {
|
|||||||
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
||||||
echo -n ' tcp extensions=NO'
|
echo -n ' tcp extensions=NO'
|
||||||
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
||||||
sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X$gateway_enable" = X"YES" ]; then
|
if [ "X$gateway_enable" = X"YES" ]; then
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
|
# $Id: rc.network,v 1.29 1998/08/14 06:55:17 phk Exp $
|
||||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||||
|
|
||||||
# Note that almost all the user-configurable behavior is no longer in
|
# Note that almost all the user-configurable behavior is no longer in
|
||||||
@ -108,7 +108,6 @@ network_pass1() {
|
|||||||
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
||||||
echo -n ' tcp extensions=NO'
|
echo -n ' tcp extensions=NO'
|
||||||
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
||||||
sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X$gateway_enable" = X"YES" ]; then
|
if [ "X$gateway_enable" = X"YES" ]; then
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
|
# $Id: rc.network,v 1.29 1998/08/14 06:55:17 phk Exp $
|
||||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||||
|
|
||||||
# Note that almost all the user-configurable behavior is no longer in
|
# Note that almost all the user-configurable behavior is no longer in
|
||||||
@ -108,7 +108,6 @@ network_pass1() {
|
|||||||
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
||||||
echo -n ' tcp extensions=NO'
|
echo -n ' tcp extensions=NO'
|
||||||
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
||||||
sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X$gateway_enable" = X"YES" ]; then
|
if [ "X$gateway_enable" = X"YES" ]; then
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
|
# $Id: rc.network,v 1.29 1998/08/14 06:55:17 phk Exp $
|
||||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||||
|
|
||||||
# Note that almost all the user-configurable behavior is no longer in
|
# Note that almost all the user-configurable behavior is no longer in
|
||||||
@ -108,7 +108,6 @@ network_pass1() {
|
|||||||
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
||||||
echo -n ' tcp extensions=NO'
|
echo -n ' tcp extensions=NO'
|
||||||
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
||||||
sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X$gateway_enable" = X"YES" ]; then
|
if [ "X$gateway_enable" = X"YES" ]; then
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
|
# $Id: rc.network,v 1.29 1998/08/14 06:55:17 phk Exp $
|
||||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||||
|
|
||||||
# Note that almost all the user-configurable behavior is no longer in
|
# Note that almost all the user-configurable behavior is no longer in
|
||||||
@ -108,7 +108,6 @@ network_pass1() {
|
|||||||
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
||||||
echo -n ' tcp extensions=NO'
|
echo -n ' tcp extensions=NO'
|
||||||
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
||||||
sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X$gateway_enable" = X"YES" ]; then
|
if [ "X$gateway_enable" = X"YES" ]; then
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: rc.network,v 1.28 1998/07/08 15:40:53 nectar Exp $
|
# $Id: rc.network,v 1.29 1998/08/14 06:55:17 phk Exp $
|
||||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||||
|
|
||||||
# Note that almost all the user-configurable behavior is no longer in
|
# Note that almost all the user-configurable behavior is no longer in
|
||||||
@ -108,7 +108,6 @@ network_pass1() {
|
|||||||
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
|
||||||
echo -n ' tcp extensions=NO'
|
echo -n ' tcp extensions=NO'
|
||||||
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
|
||||||
sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "X$gateway_enable" = X"YES" ]; then
|
if [ "X$gateway_enable" = X"YES" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user