summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2026-07-06 14:30:55 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2026-07-24 11:22:22 +0200
commit16aecbe3036f6097c26b51b12e4c1cf207769690 (patch)
tree67c946ab2d94dd079e4f2c04d0f8eafb832f9758 /tools/perf/scripts/python/task-analyzer.py
parent4172fd3697b0405e4f9654a950b4adf33f3a796c (diff)
netfilter: nf_nat_sip: rewind offset when NAT shrinks the packet
sashiko says: If map_addr() changes the packet length, such as when the public NAT IP string is shorter or longer than the internal IP, coff will still point to the offset relative to the pre-mangled packet. If the packet shrinks, coff could overshoot the correct position, potentially causing the next ct_sip_parse_header_uri() call to silently skip bytes and miss subsequent Contact headers. Could this lead to a failure to NAT those subsequent headers and leak internal network details? Fixes: c978cd3a9371 ("[NETFILTER]: nf_nat_sip: translate all Contact headers") Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions