summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>1999-10-28 03:40:08 +0000
committerangelos <angelos@openbsd.org>1999-10-28 03:40:08 +0000
commita6db68dbe69ca202bd1f79ed634c1a37d0329d91 (patch)
treebc2b378160a1f24ec889899a34c81e3f42c7a56e
parentnet.inet.etherip.allow sysctl (diff)
downloadwireguard-openbsd-a6db68dbe69ca202bd1f79ed634c1a37d0329d91.tar.xz
wireguard-openbsd-a6db68dbe69ca202bd1f79ed634c1a37d0329d91.zip
Add ip4.allow and etherip.allow entries.
-rw-r--r--lib/libc/gen/sysctl.310
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 93c0c10225a..38b300880b3 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.29 1999/10/07 02:17:02 provos Exp $
+.\" $OpenBSD: sysctl.3,v 1.30 1999/10/28 03:40:08 angelos Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -528,6 +528,8 @@ The currently defined protocols and names are:
.It ip forwarding integer yes
.It ip redirect integer yes
.It ip ttl integer yes
+.It ip4 allow integer yes
+.It etherip allow integer yes
.It icmp maskrepl integer yes
.It tcp rfc1323 integer yes
.It tcp baddynamic array yes
@@ -563,6 +565,12 @@ packet sourced by
the system.
This value applies to normal transport protocols, not to
.Tn ICMP .
+.It Li ip4.allow
+If set to 0, incoming IPv4-in-IPv4 packets will not be processed.
+If set to any other value, processing will occur.
+.It Li etherip.allow
+If set to 0, incoming Ethernet-in-IPv4 packets will not be processed.
+If set to any other value, processing will occur.
.It Li icmp.maskrepl
Returns 1 if
.Tn ICMP