Page MenuHomeFreeBSD

pf: add a new log opt PF_LOG_MATCHES
ClosedPublic

Authored by kp on Sep 7 2024, 9:35 AM.
Tags
None
Referenced Files
F148603846: D46588.diff
Thu, Mar 19, 2:23 AM
Unknown Object (File)
Sat, Mar 14, 1:33 PM
Unknown Object (File)
Sat, Mar 14, 7:34 AM
Unknown Object (File)
Sat, Mar 14, 1:59 AM
Unknown Object (File)
Sat, Feb 28, 5:48 AM
Unknown Object (File)
Fri, Feb 27, 8:36 PM
Unknown Object (File)
Tue, Feb 17, 11:05 PM
Unknown Object (File)
Feb 15 2026, 8:55 AM

Details

Summary

forces logging on all subsequent matching rules
new log opt "matches"
awesome for debugging, a rule like
match log(matches) from $testbox
will show you exactly which subsequent rules match on that packet
real ok theo assumed oks ryan & dlg bikeshedding many

Obtained from: OpenBSD, henning <henning@openbsd.org>, 1603e01ae4
Obtained from: OpenBSD, henning <henning@openbsd.org>, f496e91672
Obtained from: OpenBSD, henning <henning@openbsd.org>, 07481a9fee
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59376
Build 56263: arc lint + arc unit