]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: netscaler: address truncated CIP header detection
authorBertrand Jacquin <jacquinb@amazon.com>
Wed, 13 Dec 2017 00:53:33 +0000 (00:53 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Dec 2017 06:04:07 +0000 (07:04 +0100)
commit43a66a96b3d39157687b6d53c57f431a7f83cec5
tree1362cbb3d660de0e9188c17c5aabfc855021b850
parentc7cc69ac3676c0d3cc14e80c6f7ccde49b05de2c
BUG/MAJOR: netscaler: address truncated CIP header detection

Buffer line is manually incremented in order to progress in the trash
buffer but calculation are made omitting this manual offset.

This leads to random packets being rejected with the following error:

  HTTP/1: Truncated NetScaler Client IP header received

Instead, once original IP header is found, use the IP header length
without considering the CIP encapsulation.
src/connection.c