Building the Network You Need with OpenBSD's PF: BSDCan, Ottawa May 6th, 2009
Prev |  | Next

# $variable label names

For even better (finer grained) statistics, you can use variables in label names:

`$if` - The interface.

`$srcaddr` - The source IP address.

`$dstaddr` - The destination IP address.

`$srcport` - The source port specification.

`$dstport` - The destination port specification.

`$proto` - The protocol name.

`$nr` - The rule number.

These expand at ruleset load time