summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ip_set.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2010-07-15 17:23:24 +0200
committerPatrick McHardy <kaber@trash.net>2010-07-15 17:23:24 +0200
commit9d1b11102b53103c00b7fddf4658a4d2bdee1338 (patch)
treefd241626fd439dcb5cd1ecf082c20b7f0381037c /include/linux/netfilter_ipv4/ip_set.h
parent67195a8c8a03d12994e91315e49e3d78c51a385a (diff)
extensions: libxt_CHECKSUM extension
This adds a `CHECKSUM' target, which can be used in the iptables mangle table. You can use this target to compute and fill in the checksum in a packet that lacks a checksum. This is particularly useful, if you need to work around old applications such as dhcp clients, that do not work well with checksum offloads, but don't want to disable checksum offload in your device. The problem happens in the field with virtualized applications. For reference, see Red Hat bz 605555, as well as http://www.spinics.net/lists/kvm/msg37660.html Typical expected use (helps old dhclient binary running in a VM): iptables -A POSTROUTING -t mangle -p udp --dport bootpc \ -j CHECKSUM --checksum-fill Includes fixes by Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux/netfilter_ipv4/ip_set.h')
0 files changed, 0 insertions, 0 deletions