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)
Sat, Oct 5, 5:57 PM
Unknown Object (File)
Thu, Oct 3, 11:32 AM
Unknown Object (File)
Mon, Sep 23, 12:24 PM
Unknown Object (File)
Mon, Sep 23, 12:15 PM
Unknown Object (File)
Mon, Sep 23, 10:27 AM
Unknown Object (File)
Fri, Sep 20, 1:55 AM
Unknown Object (File)
Mon, Sep 16, 6:25 PM
Unknown Object (File)
Thu, Sep 12, 3:54 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