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)
Fri, Jan 3, 12:37 PM
Unknown Object (File)
Thu, Jan 2, 7:21 PM
Unknown Object (File)
Dec 2 2024, 7:54 PM
Unknown Object (File)
Nov 9 2024, 11:17 AM
Unknown Object (File)
Nov 9 2024, 11:17 AM
Unknown Object (File)
Nov 9 2024, 11:17 AM
Unknown Object (File)
Nov 6 2024, 6:21 AM
Unknown Object (File)
Oct 19 2024, 11:52 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