summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-28 03:40:09 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-10-28 03:40:09 +0000
commitcacce03b3f7cb6f9a8d302e7c03b0ce00be68e76 (patch)
treeae3b1d4db62b1dacedf5706f512ff6dcc78c3121 /lib/libc/gen
parent79c42e713453fdcac1a8c490a73f050fbf63f52a (diff)
Add ip4.allow and etherip.allow entries.
Diffstat (limited to 'lib/libc/gen')
-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