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
Unknown Object (File)
Wed, Nov 6, 6:21 AM
Unknown Object (File)
Sat, Oct 19, 11:52 AM
Unknown Object (File)
Wed, Oct 16, 6:16 AM
Unknown Object (File)
Wed, Oct 16, 6:15 AM
Unknown Object (File)
Wed, Oct 16, 6:15 AM
Unknown Object (File)
Wed, Oct 16, 5:53 AM
Unknown Object (File)
Oct 5 2024, 5:57 PM
Unknown Object (File)
Oct 3 2024, 11:32 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 Not Applicable
Unit
Tests Not Applicable