diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-06-07 19:41:24 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-06-07 19:41:24 +0000 |
commit | 404680569036a0926f7bc53aafdc6719d9cfe92f (patch) | |
tree | 34882222239bd94b8f683bec18fe062137cdad4b | |
parent | d88fa8decb468dbf99d40a241f6405442916e579 (diff) |
document $srcaddr/$srcport/$dstaddr/$dstport in rule labels
ok dhartmei@
-rw-r--r-- | share/man/man5/pf.conf.5 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/man/man5/pf.conf.5 b/share/man/man5/pf.conf.5 index 1e5f1dc00be..53bb1bb36a7 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.47 2002/06/01 04:08:47 hugh Exp $ +.\" $OpenBSD: pf.conf.5,v 1.48 2002/06/07 19:41:23 henning Exp $ .\" .\" Copyright (c) 2001, Daniel Hartmeier .\" All rights reserved. @@ -362,6 +362,9 @@ Adds a label (name) to the rule, which can be used to identify the rule. For instance, .Em pfctl -s labels shows per-rule statistics for rules that have labels. +You can use $srcaddr, $srcport, $dstaddr and $dstport which will be replaced +by source/destination address/port at parse time in the label. +This allows for unique labels even when using address lists. .Sh MACROS .Em pfctl supports macro definition and expansion like: |