[Bug 295064] pfctl: rejects weird interface names in dynamic address references
[email protected] Sat, 16 May 2026 16:45:01 +0000
| Newsgroups | gmane.os.freebsd.devel.pf4freebsd |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295064 --- Comment #5 from [email protected] --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De5536b061033bdc56cee7c1d42ab4fc17= f5b8051 commit e5536b061033bdc56cee7c1d42ab4fc17f5b8051 Author: Kristof Provost <[email protected]> AuthorDate: 2026-05-07 09:58:17 +0000 Commit: Kristof Provost <[email protected]> CommitDate: 2026-05-14 19:04:19 +0000 pfctl: relax interface name requirement The FreeBSD network stack, for better or worse, does not impose any requirements on interface names. As such it's valid for an interface name to start with a number (or indeed, be something like '=E2=AD=90'). Allow this in pfctl, and add a test case for the specific case of interface names starting with a number. Note that we don't support UTF-8 names fully, so those may still fail. PR: 295064 MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 4e7c1ff95a5187faee524055f22c4cf4134d1147) sbin/pfctl/parse.y | 2 +- tests/sys/netpfil/pf/names.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=