From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: Connection tracking looses packets?
Date: Fri, 26 May 2006 14:19:16 +0200 [thread overview]
Message-ID: <4476F244.8000608@plouf.fr.eu.org> (raw)
In-Reply-To: <44745ECF.70702@expertron.co.za>
Hello,
Justin Schoeman a écrit :
>
> (This is logged by a -m state --state INVALID rule in the mangle table.)
> The packet is then not natted, but drops into the INPUT chain for the
> firewall itself, where it is dropped.
Yes, packets marked in the INVALID state by the connection tracking are
not handled by NAT.
> Any idea why this packet may be dropped, or are there other possible
> reasons why the connection may be stalling?
If the reason is incorrect sequence numbers with a kernel >= 2.6.9 or
including patch tcp-window-tracking, you can try to enable (value > 0)
the parameter /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_be_liberal
(net.ipv4.netfilter.ip_conntrack_tcp_be_liberal in sysctl) :
ip_conntrack_tcp_be_liberal
when enabled, only out of window reset (RST) segments
are marked as INVALID; when disabled (default), all
out of window packets are marked as INVALID.
next prev parent reply other threads:[~2006-05-26 12:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 13:25 Connection tracking looses packets? Justin Schoeman
2006-05-24 14:02 ` Sietse van Zanen
2006-05-26 12:19 ` Pascal Hambourg [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-05-29 2:23 Mike Polek
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=4476F244.8000608@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.org \
--cc=netfilter@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.