summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLin Zhang <xiaolou4617@gmail.com>2017-10-05 19:44:03 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2017-10-09 14:08:39 +0300
commit49f817d793d1bcc11d721881aac037b996feef5c (patch)
treef1525ecf75e8f4e4d7c9ffca73f2b097cb4c424a /tools/perf/scripts/python
parente466af75c074e76107ae1cd5a2823e9c61894ffb (diff)
downloadlinux-49f817d793d1bcc11d721881aac037b996feef5c.tar.xz
netfilter: SYNPROXY: skip non-tcp packet in {ipv4, ipv6}_synproxy_hook
In function {ipv4,ipv6}_synproxy_hook we expect a normal tcp packet, but the real server maybe reply an icmp error packet related to the exist tcp conntrack, so we will access wrong tcp data. Fix it by checking for the protocol field and only process tcp traffic. Signed-off-by: Lin Zhang <xiaolou4617@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions