diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-09 23:36:32 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-09 23:36:32 +0000 |
commit | 00044cdf00f6574a29f0961b4746b80f7926ba78 (patch) | |
tree | 8ee1c0443504b7834fed8e070fb8536e8b15561a /sbin/sysctl/sysctl.8 | |
parent | 812760c22318b1d16957febbc72e980ec5505778 (diff) |
The list of tcp/udp ports not to allocate dynamically is now
a bitmask configurable via sysctl([38]). The default values
have not changed. If one wants to change the list it should
be done early on in /etc/rc.
Diffstat (limited to 'sbin/sysctl/sysctl.8')
-rw-r--r-- | sbin/sysctl/sysctl.8 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index 9ffc0ea4fd7..90ee178d107 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.10 1997/07/15 00:38:14 angelos Exp $ +.\" $OpenBSD: sysctl.8,v 1.11 1997/08/09 23:36:30 millert Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -131,7 +131,6 @@ privilege can change the value. .It kern.pipe_buf integer no .It kern.chown_restricted integer no .It kern.no_trunc integer no -.It kern.vdisable integer no .It kern.boottime struct no .It kern.somaxconn integer yes .It kern.sominconn integer yes @@ -156,7 +155,9 @@ privilege can change the value. .It net.inet.tcp.keepidle integer yes .It net.inet.tcp.keepintvl integer yes .It net.inet.tcp.slowhz integer no +.It net.inet.tcp.baddynamic array yes .It net.inet.udp.checksum integer yes +.It net.inet.udp.baddynamic array yes .It net.ipx.ipx.recvspace integer yes .It net.ipx.ipx.sendspace integer yes .It net.ipsec.encap.encdebug integer yes @@ -223,6 +224,13 @@ Information about the load average history may be obtained with .Bd -literal -offset indent -compact sysctl vm.loadavg .Ed +.Pp +Set the list of reserved TCP ports that should not be allocated +by the kernel dynamically. This can be used to keep daemons +from stealing a specific port that another program needs to function: +.Bd -literal -offset indent -compact +sysctl -w net.inet.tcp.baddynamic="749 750 751 760 761 871" +.Ed .Sh FILES .Bl -tag -width <netinet/icmpXvar.h> -compact .It Pa <sys/sysctl.h> |