Page MenuHomeFreeBSD

pf: fix failure to log correct action through default rule
AbandonedPublic

Authored by franco_opnsense.org on Aug 24 2023, 9:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 31, 7:00 PM
Unknown Object (File)
Sun, Jan 19, 1:38 PM
Unknown Object (File)
Jan 18 2025, 1:42 PM
Unknown Object (File)
Jan 10 2025, 10:40 AM
Unknown Object (File)
Jan 9 2025, 9:43 PM
Unknown Object (File)
Dec 25 2024, 7:41 PM
Unknown Object (File)
Dec 25 2024, 9:13 AM
Unknown Object (File)
Nov 22 2024, 11:04 PM

Details

Reviewers
kp
Summary

The default rule is used to call PFLOG_PACKET macro and the reason
is given directly for when e.g. PFRES_SHORT is invoked and PF_DROP
is carried out. However, the action is not passed down directly so
action needs to be adjusted when the default rule made the decision
due to a non-matching reason, which means PF_DROP.

OpenBSD fix: https://github.com/openbsd/src/commit/7b8683a1743e7

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 54307
Build 51197: arc lint + arc unit

Event Timeline

@kp when you said "Supporting opnsense is your job, not mine. You don’t get to just throw bugs over the wall without doing any actual testing on freebsd."[1] I'm unsure if you really meant this or if you simply don't react because it's not important to you or FreeBSD?

I can live with begging for fixes or just for them to be comitted, but I don't appreciate the attitude you have towards contributors.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273207