Ignore tcp checksum on ip_conntrack
ip_conntrack ditches packets for masquerading etc if their ip checksum is wrong.
Is it possible to disable this behaviour on kernel 2.6.18 (I know, it's old)? I have something that like producing tcp packets with invalid checksums.
Signature · 1 line
Alex Bligh
Quoted 6 lines · Alex Bligh
ip_conntrackditches packets for masquerading etc if their ip checksum is wrong.Is it possible to disable this behaviour on kernel 2.6.18 (I know, it's old)? I have something that like producing tcp packets with invalid checksums.
# echo 0 > /proc/sys/net/netfilter/nf_conntrack_checksum
If you use ip_conntrack instead of nf_conntrack you have to set ip_conntrack_checksum to 0.
# echo 0 > /proc/sys/net/ipv4/netfilter/ip_conntrack_checksum