| Summary: | pf Logging Issue: Missing NAT and RDR Translation Details in pflog | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Alfa <burak.sn> |
| Component: | kern | Assignee: | Kristof Provost <kp> |
| Status: | Open --- | ||
| Severity: | Affects Only Me | CC: | franco, grahamperrin |
| Priority: | --- | Keywords: | feature |
| Version: | 14.0-STABLE | Flags: | linimon:
mfc-stable13?
|
| Hardware: | amd64 | ||
| OS: | Any | ||
|
Description
Alfa
2023-09-18 08:26:46 UTC
^Triage: severity reduced to the norm for a feature request. pflog simply logs matching packages causing a rule to trigger and does not emit rule metadata, because the reference to the rule is in the pflog header. Since https://cgit.freebsd.org/src/commit/sys/netpfil/pf?id=8e496ea1df1f00ea7832eb41754dbbb56dd244c8 the nat rules are logged separately from the filter rule and that's pre-rewrite. The filter rule log will match post-write. It gives you an idea of how the address was rewritten, but only if you compare the two packet headers. Cheers, Franco ^Triage: promote version number to a currently supported value. Mark, https://cgit.freebsd.org/src/commit/sys/netpfil/pf?id=8e496ea1df1f00ea7832eb41754dbbb56dd244c8 was never backported to stable/13 but it is available in 14.0-RELEASE so I don't think the issue applies any longer and certainly not to 14.0-STABLE :) Cheers, Franco ^Triage: over to committer of https://cgit.freebsd.org/src/commit/sys/netpfil/pf?id=8e496ea1df1f00ea7832eb41754dbbb56dd244c8 for possible mfc-13 consideration. |