]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: net_helper: fix IPv6 header length processing
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Jan 2026 07:42:36 +0000 (08:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Jan 2026 07:42:36 +0000 (08:42 +0100)
commit37057feb80bf6ab5c3a120a023a3ad6eeaa5ffec
tree7adb061251c3254883fcba0f344f28399c3588ba
parentfcd4d4a7aad2102cc4de5a6fe395820287f80c32
BUG/MINOR: net_helper: fix IPv6 header length processing

The IPv6 header contains a payload length that excludes the 40 bytes of
IPv6 packet header, which differs from IPv4's total length which includes
it. As a result, the parser was wrong and would only see the IP part and
not the TCP one unless sufficient options were present tocover it.

This issue came in 3.4-dev2 with recent commit e88e03a6e4 ("MINOR:
net_helper: add ip.fp() to build a simplified fingerprint of a SYN"),
so no backport is needed.
src/net_helper.c