summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2002-06-07 19:41:23 +0000
committerhenning <henning@openbsd.org>2002-06-07 19:41:23 +0000
commit19aaba8a4d616b51a2195e0a0241389da87aaec5 (patch)
tree6a7319ab189339f6123a63ca89fb815baad69b3a
parentallow using $srcaddr, $srcport, $dstaddr and $dstport in rule labels, (diff)
downloadwireguard-openbsd-19aaba8a4d616b51a2195e0a0241389da87aaec5.tar.xz
wireguard-openbsd-19aaba8a4d616b51a2195e0a0241389da87aaec5.zip
document $srcaddr/$srcport/$dstaddr/$dstport in rule labels
ok dhartmei@
-rw-r--r--share/man/man5/pf.conf.55
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: