diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2025-12-15 15:26:57 +0100 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2026-01-20 20:08:31 +0100 |
| commit | 2c42d62fd3a19d02e86271f7e2ac55413775a7af (patch) | |
| tree | 84d0cf73ffff49c4714f4854736c7acb4ac0fabd /source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 9b91d490558342d4a4a0893b15306c7099430c66 (diff) | |
pf: fix min-ttl and set-tos for nat64
If we have both af-to and min-ttl or set-tos on a single rule we didn't
apply the new ttl or tos.
That's because the scrub code still applied the change, but we
subsequently create a new header for the new address family. That's done
based on the ttl/tos saved in the struct pf_pdesc, which are the values
from the incoming packet, before the scrub modification(s).
Also update the struct pf_pdesc values when we update packets.
Reported by: Marek Zarychta
Sponsored by: Rubicon Communications, LLC ("Netgate")
(cherry picked from commit cdbc9b76ff4901816b5ebdca5d0b7e9947a015cb)
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
