diff options
author | Lin Zhang <xiaolou4617@gmail.com> | 2017-10-05 18:44:03 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-10-09 13:08:39 +0200 |
commit | 49f817d793d1bcc11d721881aac037b996feef5c (patch) | |
tree | f1525ecf75e8f4e4d7c9ffca73f2b097cb4c424a /net/vmw_vsock | |
parent | netfilter: x_tables: avoid stack-out-of-bounds read in xt_copy_counters_from_... (diff) | |
download | linux-49f817d793d1bcc11d721881aac037b996feef5c.tar.xz linux-49f817d793d1bcc11d721881aac037b996feef5c.zip |
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 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions