path: root/extensions/
diff options
authorEric Dumazet <>2013-06-20 05:52:35 -0700
committerPablo Neira Ayuso <>2013-08-06 18:43:49 +0200
commit64d45792fe8f50294034bb699ff74ecae178e975 (patch)
tree1fd8db59906709fcd8082e2fd59db7e96e2ea28d /extensions/
parent8643adc8f0f0fe1e22ca0de0503eee0ee1e22bf5 (diff)
xt_socket: add --nowildcard flag
xt_socket module can be a nice replacement to conntrack module in some cases (SYN filtering for example) But it lacks the ability to match the 3rd packet of TCP handshake (ACK coming from the client). Add a XT_SOCKET_NOWILDCARD flag to disable the wildcard mechanism The wildcard is the legacy socket match behavior, that ignores LISTEN sockets bound to INADDR_ANY (or ipv6 equivalent) iptables -I INPUT -p tcp --syn -j SYN_CHAIN iptables -I INPUT -m socket -j ACCEPT Signed-off-by: Eric Dumazet <> Cc: Patrick McHardy <> Cc: Jesper Dangaard Brouer <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'extensions/')
0 files changed, 0 insertions, 0 deletions