pfctl labels modifier contains Stlimiter and Srclimiter modifiers

nte <[email protected]> Sat, 16 May 2026 11:48:33 -0400 (EDT)
Newsgroups gmane.os.openbsd.bugs
Message-ID <[email protected]>
>Synopsis:	pfctl labels modifier contains Stlimiter and Srclimiter modifiers
>Category:	system
>Environment:
	System      : OpenBSD 7.9
	Details     : OpenBSD 7.9-current (GENERIC.MP) #478: Fri May 15 12:43:18 MDT 2026
			 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

	Architecture: OpenBSD.amd64
	Machine     : amd64
>Description:
	When called without an anchor, pfctl -s labels includes info from the 
	Stlimiter and Srclimiter modifiers.

>How-To-Repeat:

Without any labels in pf.conf:
# pfctl -s labels
 ID      USE/LIMIT     RATE/SECS     ADMIT  HARDLIM  RATELIM
 ID      USE/ADDRS    LIMIT  RATE/SECS     ADMIT  ADDRLIM  HARDLIM  RATELIM


With a label inside of an anchor:
anchor "myanchor" {
	match on any label "anchor_label"
}

# pfctl -a myanchor -s labels
anchor_label 0 0 0 0 0 0 0 0

>Fix:
	Unknown