Source-Changes-HG archive

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

[src/trunk]: src add net.inet.tcp.rstppslimit



details:   https://anonhg.NetBSD.org/src/rev/9e45d02c4933
branches:  trunk
changeset: 495391:9e45d02c4933
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Jul 27 11:37:46 2000 +0000

description:
add net.inet.tcp.rstppslimit

diffstat:

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

diffs (46 lines):

diff -r cd296f009d24 -r 9e45d02c4933 lib/libc/gen/sysctl.3
--- a/lib/libc/gen/sysctl.3     Thu Jul 27 11:36:14 2000 +0000
+++ b/lib/libc/gen/sysctl.3     Thu Jul 27 11:37:46 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.3,v 1.62 2000/07/10 09:34:39 itojun Exp $
+.\"    $NetBSD: sysctl.3,v 1.63 2000/07/27 11:39:08 itojun Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -692,6 +692,7 @@
 .It tcp        newreno integer yes
 .It tcp        log_refused     integer yes
 .It tcp        rstratelimit    integer yes
+.It tcp        rstppslimit     integer yes
 .It udp        checksum        integer yes
 .It udp        sendspace       integer yes
 .It udp        recvspace       integer yes
@@ -831,6 +832,11 @@
 This variable specifies minimum interval, in microseconds, between RSTs
 sent in response to an incoming TCP packet with no corresponding listen
 or connected socket.
+.It Li tcp.rstppslimit
+The variable specifies the maximum number of outgoing TCP RST packets,
+per second.
+TCP RST packet that exceeded the value are subject to rate limitation
+and will not go out from the node.
 .It Li udp.checksum
 Returns 1 when UDP checksums are being computed and checked.
 Disabling UDP checksums is strongly discouraged.
diff -r cd296f009d24 -r 9e45d02c4933 sbin/sysctl/sysctl.8
--- a/sbin/sysctl/sysctl.8      Thu Jul 27 11:36:14 2000 +0000
+++ b/sbin/sysctl/sysctl.8      Thu Jul 27 11:37:46 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.8,v 1.50 2000/07/10 09:34:38 itojun Exp $
+.\"    $NetBSD: sysctl.8,v 1.51 2000/07/27 11:37:46 itojun Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -231,6 +231,7 @@
 .It net.inet.tcp.mssdflt       integer yes
 .It net.inet.tcp.recvspace     integer yes
 .It net.inet.tcp.rfc1323       integer yes
+.It net.inet.tcp.rstppslimit   integer yes
 .It net.inet.tcp.rstratelimit  integer yes
 .It net.inet.tcp.sack  integer yes
 .It net.inet.tcp.sendspace     integer yes



Home | Main Index | Thread Index | Old Index