diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-04-06 17:33:22 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-04-06 17:33:22 +0000 |
commit | b249312a48f49594e44fae08882272808613661a (patch) | |
tree | f673f1e4ba4eabf70e3e8e793992a3bbd79a8ffe /share/man | |
parent | 8886e354843a1df93982497d2fbac708fba8d26c (diff) |
rewrite the description for the recently added "match" action.
ok henning@
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man5/pf.conf.5 | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index cd809e22de9..876d8873967 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.409 2009/04/06 17:22:02 sthen Exp $ +.\" $OpenBSD: pf.conf.5,v 1.410 2009/04/06 17:33:21 sobrado Exp $ .\" .\" Copyright (c) 2002, Daniel Hartmeier .\" All rights reserved. @@ -1259,20 +1259,34 @@ packets that match explicit rules is specify a first filter rule of: .Bd -literal -offset indent block all .Ed +.It Ar match +Every time a packet is matched by one of these rules, the +.Ar queue , +.Ar rtable , +.Ar set-tos , +.Ar min-ttl , +.Ar max-mss , +.Ar no-df , +.Ar random-id , +and +.Ar reassemble tcp +parameters can be overwritten when supplied to the +.Ar match +rule. +Note that these changes may happen on any +.Ar match +rule, not only on the last matching one. +When +.Ar logging +is specified, every matching rule causes the packet to be logged. +This means that a single packet can get logged more than once. +.Pp +This action does not change the state of the packet. .It Ar pass The packet is passed; state is created unless the .Ar no state option is specified. -.It Ar match -Action is unaltered, the previously matched rule's action still matters. -Match rules apply queue and rtable assignments for every matched packet, -subsequent matching pass or match rules can overwrite the assignment, -if they don't specify a queue or an rtable, respectively, the previously -set value remains. -Additionally, match rules can contain log statements; the is logging done -for each and every matching match rule, so it is possible to log a single -packet multiple times. .El .Pp By default |