summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Buehler <pb@cvs.openbsd.org>2002-10-31 10:51:04 +0000
committerPhilipp Buehler <pb@cvs.openbsd.org>2002-10-31 10:51:04 +0000
commitab40d87405d222da397c3131f636342d93cefc01 (patch)
tree72070008413e7d2c9eea8ca846502aaab0ffda12
parentbd1575603d86eee16ba6f986dab44c085e3ccc68 (diff)
document 'set require-order (yes|no)'
mini-BNF fix henning@ ok
-rw-r--r--share/man/man5/pf.conf.516
1 files changed, 13 insertions, 3 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5
index 09d7f8752c2..cb67ae2a71d 100644
--- a/share/man/man5/pf.conf.5
+++ b/share/man/man5/pf.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.conf.5,v 1.100 2002/10/31 09:18:24 henning Exp $
+.\" $OpenBSD: pf.conf.5,v 1.101 2002/10/31 10:51:03 pb Exp $
.\"
.\" Copyright (c) 2002, Daniel Hartmeier
.\" All rights reserved.
@@ -248,6 +248,15 @@ Example:
.Bd -literal
set block-policy return
.Ed
+.Ss require-order
+By default
+.Xr pfctl 8
+enforces an ordering of the ruleset to: options, scrub, nat, filter.
+Setting this option to
+.Em no
+disables this enforcement.
+One has to be very careful about the implications of an out of order
+ruleset.
.Sh ACTIONS
.Bl -tag -width Fl
.It Em block
@@ -1068,8 +1077,9 @@ option = set ( [ "timeout" ( timeout | "{" timeout-list "}" ) ] |
"high-latency" | "satellite" |
"aggressive" | "conservative" ] ]
[ "limit" ( limit | "{" limit-list "}" ) ] |
- [ "loginterface" ( interface-name | "none" ) ] | .
- [ "block-policy" ( "drop" | "return" ) ] ).
+ [ "loginterface" ( interface-name | "none" ) ] |
+ [ "block-policy" ( "drop" | "return" ) ] |
+ [ "require-order" ( "yes" | "no" ) ] ).
pf_rule = action ( "in" | "out" )
[ "log" | "log-all" ] [ "quick" ]