Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Alex Bligh <alex@alex.org.uk>
Cc: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Ignore tcp checksum on ip_conntrack
Date: Mon, 20 Sep 2010 12:28:58 +0200	[thread overview]
Message-ID: <4C97376A.6040208@netfilter.org> (raw)
In-Reply-To: <1E6DC90B5FEECCA9D7482842@Ximines.local>

On 16/09/10 17:55, Alex Bligh wrote:
> 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.

# 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

      reply	other threads:[~2010-09-20 10:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16 15:55 Ignore tcp checksum on ip_conntrack Alex Bligh
2010-09-20 10:28 ` Pablo Neira Ayuso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C97376A.6040208@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=alex@alex.org.uk \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox