summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2004-01-07 19:51:25 +0000
committermarkus <markus@openbsd.org>2004-01-07 19:51:25 +0000
commite4fb2e29cbdfcbb8780885f141f6180708c9402b (patch)
tree01e278f06023c9bbbfeb781b678dea5967adc139
parentUnbreak KERN_PROC_KTHREAD. Explicitly list KERN_PROC_KTHREAD in (diff)
downloadwireguard-openbsd-e4fb2e29cbdfcbb8780885f141f6180708c9402b.tar.xz
wireguard-openbsd-e4fb2e29cbdfcbb8780885f141f6180708c9402b.zip
document syn cache sysctl; ok deraadt, jmc, itojun
-rw-r--r--lib/libc/gen/sysctl.38
-rw-r--r--sbin/sysctl/sysctl.84
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 21457a4a0c8..69ca630493d 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.119 2004/01/07 02:13:51 millert Exp $
+.\" $OpenBSD: sysctl.3,v 1.120 2004/01/07 19:51:25 markus Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1019,6 +1019,8 @@ The currently defined protocols and names are:
.It tcp sack integer yes
.It tcp sendspace integer yes
.It tcp slowhz integer no
+.It tcp synbucketlimit integer yes
+.It tcp syncachelimit integer yes
.It udp baddynamic array yes
.It udp checksum integer yes
.It udp recvspace integer yes
@@ -1370,6 +1372,10 @@ The units for tcp.keepidle and tcp.keepintvl; those variables are in ticks
of a clock that ticks tcp.slowhz times per second.
(That is, their values must be divided by the tcp.slowhz value to get times
in seconds.)
+.It Li tcp.syncachelimit
+The maximum number of entries allowed in the TCP syn cache.
+.It Li tcp.synbucketlimit
+The maximum number of entries allowed per hash bucket in the TCP syn cache.
.It Li udp.baddynamic
Analogous to
.Li tcp.baddynamic
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 6532fa5f926..2d5ef830874 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.8,v 1.111 2003/12/19 09:11:21 jmc Exp $
+.\" $OpenBSD: sysctl.8,v 1.112 2004/01/07 19:51:25 markus Exp $
.\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $
.\"
.\" Copyright (c) 1993
@@ -233,6 +233,8 @@ privilege can change the value.
.It net.inet.tcp.rstppslimit integer yes
.It net.inet.tcp.ackonpush integer yes
.It net.inet.tcp.ecn integer yes
+.It net.inet.tcp.syncachelimit integer yes
+.It net.inet.tcp.synbucketlimit integer yes
.It net.inet.udp.checksum integer yes
.It net.inet.udp.baddynamic array yes
.It net.inet.udp.recvspace integer yes