path: root/utils/ipset_list
diff options
authorAnders K. Pedersen <>2013-05-03 23:15:48 +0200
committerJozsef Kadlecsik <>2013-05-03 23:15:48 +0200
commit8c4c8293e336c645b8fb75ca0430244c83ddab33 (patch)
tree5afbc09d86262ba0182a9d44b88c311a9c420c7f /utils/ipset_list
parent51bd71755f9275065220a146e06714dd6790232c (diff)
Support package fragments for IPv4 protos without ports
Enable ipset port set types to match IPv4 package fragments for protocols that doesn't have ports (or the port information isn't supported by ipset). For example this allows a hash:ip,port ipset containing the entry,gre:0 to match all package fragments for PPTP VPN tunnels to/from the host. Without this patch only the first package fragment (with fragment offset 0) was matched, while subsequent fragments wasn't. This is not possible for IPv6, where the protocol is in the fragmented part of the package unlike IPv4, where the protocol is in the IP header. IPPROTO_ICMPV6 is deliberately not included, because it isn't relevant for IPv4. Signed-off-by: Anders K. Pedersen <>
Diffstat (limited to 'utils/ipset_list')
0 files changed, 0 insertions, 0 deletions