diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-04-20 06:39:05 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-04-20 06:39:05 +0000 |
commit | 94f4b0d02ab8ae5fb1ace3e14a260e6528ce9244 (patch) | |
tree | eb8ac53754573ad05f6ceccce2c8242f3c3ff688 | |
parent | 65e3494c14f4edaa6b61ef2c0e09fbd7ef0407da (diff) |
GATEWAY and NMBCLUSTERS are dead. ok beck@ deraadt@ jmc@
-rw-r--r-- | share/man/man4/gre.4 | 5 | ||||
-rw-r--r-- | share/man/man4/options.4 | 32 | ||||
-rw-r--r-- | share/man/man8/afterboot.8 | 7 |
3 files changed, 5 insertions, 39 deletions
diff --git a/share/man/man4/gre.4 b/share/man/man4/gre.4 index 1aa21585568..2b3a0ecebfd 100644 --- a/share/man/man4/gre.4 +++ b/share/man/man4/gre.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gre.4,v 1.23 2004/02/07 19:08:44 jmc Exp $ +.\" $OpenBSD: gre.4,v 1.24 2004/04/20 06:39:04 tedu Exp $ .\" $NetBSD: gre.4,v 1.10 1999/12/22 14:55:49 kleink Exp $ .\" .\" Copyright 1998 (c) The NetBSD Foundation, Inc. @@ -190,8 +190,7 @@ In order for to actually mark the interface as up, the keyword ``up'' must be given last on its command line. .Pp -The kernel must be set to forward datagrams by including option -``GATEWAY'' in the kernel config file and issuing the appropriate +The kernel must be set to forward datagrams by issuing the appropriate option to .Xr sysctl 8 . .Pp diff --git a/share/man/man4/options.4 b/share/man/man4/options.4 index 1f34ff8879a..01a6ce254f5 100644 --- a/share/man/man4/options.4 +++ b/share/man/man4/options.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: options.4,v 1.138 2004/03/21 19:50:44 miod Exp $ +.\" $OpenBSD: options.4,v 1.139 2004/04/20 06:39:04 tedu Exp $ .\" $NetBSD: options.4,v 1.21 1997/06/25 03:13:00 thorpej Exp $ .\" .\" Copyright (c) 1998 Theo de Raadt @@ -687,19 +687,6 @@ for details. .El .Ss Networking Options .Bl -ohang -.It Cd option GATEWAY -Enables -.Em IPFORWARDING -and (on most architectures) increases the size of -.Em NMBCLUSTERS . -In general, -.Em GATEWAY -is used to indicate that a system should act as a router, and -.Em IPFORWARDING -is not invoked directly. -(Note that -.Em GATEWAY -has no impact on protocols other than IP, such as CLNP or XNS.) .It Cd option IPFORWARDING Enables IP routing behavior. With this option enabled, the machine @@ -707,8 +694,6 @@ will forward IP datagrams between its interfaces that are destined for other machines. Note that even without this option, the kernel will still forward some packets (such as source routed packets) -- removing -.Em GATEWAY -and .Em IPFORWARDING is insufficient to stop all routing through a bastion host on a firewall -- source routing is controlled independently. @@ -1040,21 +1025,6 @@ Default value is 10. .El .Ss Operation Related Options .Bl -ohang -.It Cd option NMBCLUSTERS=value -Size of kernel mbuf cluster map, -.Em mb_map , -in MCLBYTES-sized (default: 2048 bytes) logical pages. -NMBCLUSTERS defaults to 2048 on hppa and i386, to 1024 on powerpc and sparc64, -to 256 on vax, and to 512 on other architectures. -If its value is not 2048, it is doubled if -.Dq option GATEWAY -is used. -See -.Pa /usr/include/machine/param.h -for exact default information. -Increase this value if -.Dq mclpool limit reached -messages appear. .It Cd option NKMEMPAGES=value .It Cd option NKMEMPAGES_MIN=value .It Cd option NKMEMPAGES_MAX=value diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8 index c116f98fbcf..c71e3218bac 100644 --- a/share/man/man8/afterboot.8 +++ b/share/man/man8/afterboot.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: afterboot.8,v 1.88 2003/12/05 23:55:07 jmc Exp $ +.\" $OpenBSD: afterboot.8,v 1.89 2004/04/20 06:39:04 tedu Exp $ .\" .\" Copyright (c) 1997 Marshall M. Midden .\" All rights reserved. @@ -263,10 +263,7 @@ or .Dl net.inet6.ip6.forwarding=1 .Pp to -.Pa /etc/sysctl.conf , -or by compiling a new kernel with the -.Cm GATEWAY -option. +.Pa /etc/sysctl.conf . Packets are not forwarded by default, due to RFC requirements. .Pp You can add new |