Browse Source

rfc1323 variable

OPENBSD_2_0
deraadt 28 years ago
parent
commit
01c3288eb9
2 changed files with 7 additions and 2 deletions
  1. +2
    -1
      src/etc/netstart
  2. +5
    -1
      src/etc/rc

+ 2
- 1
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=-q routed_flags=-q
@ -31,6 +31,7 @@ amd_dir=/amd # AMD's mount directory
amd_master=/etc/amd/master # AMD 'master' map amd_master=/etc/amd/master # AMD 'master' map
ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering
ipmon_flags=-s # To disable logging, use ipmon_flags=NO 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 # /etc/myname contains my symbolic name
# #


+ 5
- 1
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -80,6 +80,10 @@ if [ X"${ipfilter}" = X"YES" -a X"${ipmon_flags}" != X"NO" ]; then
ipmon ${ipmon_flags} & ipmon ${ipmon_flags} &
fi fi
if [ X"${rfc1323}" = X"NO" ]; then
echo 'disabling rfc1323'; sysctl -w net.inet.tcp.rfc1323=0
fi
# clean up left-over files # clean up left-over files
rm -f /etc/nologin rm -f /etc/nologin
rm -f /var/spool/lock/LCK.* rm -f /var/spool/lock/LCK.*


Loading…
Cancel
Save