Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Added descriptions of the new sysctls for controlling the di...



details:   https://anonhg.NetBSD.org/src/rev/1e83e56d8457
branches:  trunk
changeset: 516796:1e83e56d8457
user:      kml <kml%NetBSD.org@localhost>
date:      Tue Oct 30 06:43:21 2001 +0000

description:
Added descriptions of the new sysctls for controlling the disposition
of IPv4 routes added via redirects, rediraccept and redirtimeout.

diffstat:

 lib/libc/gen/sysctl.3 |  15 ++++++++++++++-
 sbin/sysctl/sysctl.8  |   4 +++-
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r 7227aff33364 -r 1e83e56d8457 lib/libc/gen/sysctl.3
--- a/lib/libc/gen/sysctl.3     Tue Oct 30 06:41:09 2001 +0000
+++ b/lib/libc/gen/sysctl.3     Tue Oct 30 06:43:21 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.3,v 1.79 2001/10/18 09:14:29 itojun Exp $
+.\"    $NetBSD: sysctl.3,v 1.80 2001/10/30 06:43:21 kml Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -680,6 +680,8 @@
 .It ip maxfragpacket   integer yes
 .It icmp       maskrepl        integer yes
 .It icmp       errppslimit     integer yes
+.It icmp       rediraccept     integer yes
+.It icmp       redirtimeout    integer yes
 .It tcp        rfc1323 integer yes
 .It tcp        sendspace       integer yes
 .It tcp        recvspace       integer yes
@@ -772,6 +774,17 @@
 ICMP error messages that exceeded the value are subject to rate limitation
 and will not go out from the node.
 Negative value disables rate limitation.
+.It Li icmp.rediraccept
+If set to non-zero, the host will accept ICMP redirect packets.
+Note that routers will never accept ICMP redirect packets,
+and the variable is meaningful on IP hosts only.
+.It Li icmp.redirtimeout
+The variable specifies lifetime of routing entries generated by incoming
+ICMP redirect.  This defaults to zero;  if the system is not running
+a routing daemon like 
+.Xr routed 8
+than this value can be set to remove the routes added by redirect.
+A reasonable value to use would be 600 seconds.
 .It Li tcp.rfc1323
 Returns 1 if RFC1323 extensions to TCP are enabled.
 .It Li tcp.sendspace
diff -r 7227aff33364 -r 1e83e56d8457 sbin/sysctl/sysctl.8
--- a/sbin/sysctl/sysctl.8      Tue Oct 30 06:41:09 2001 +0000
+++ b/sbin/sysctl/sysctl.8      Tue Oct 30 06:43:21 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.8,v 1.68 2001/08/20 10:31:46 hubertf Exp $
+.\"    $NetBSD: sysctl.8,v 1.69 2001/10/30 06:43:55 kml Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -216,6 +216,8 @@
 .It machdep.console_device     dev_t   no
 .It net.inet.icmp.maskrepl     integer yes
 .It net.inet.icmp.errppslimit  integer yes
+.It net.inet.icmp.rediraccept  integer yes
+.It net.inet.icmp.redirtimeout integer yes
 .It net.inet.ip.allowsrcrt     integer yes
 .It net.inet.ip.anonportmax    integer yes
 .It net.inet.ip.anonportmin    integer yes



Home | Main Index | Thread Index | Old Index