From: Eric Leblond <eric@inl.fr>
To: Tim Ritberg <tim_rit@gmx.de>
Cc: netfilter@vger.kernel.org
Subject: Re: Incoming packet in wrong chain
Date: Mon, 09 Feb 2009 08:19:29 +0100 [thread overview]
Message-ID: <498FD901.40205@inl.fr> (raw)
In-Reply-To: <20090208224430.207240@gmx.net>
Hi,
Tim Ritberg a écrit :
>> For Netfilter connection tracking, a NEW TCP connection does not have to
>> start with a SYN packet. If
>> /proc/sys/net/netfilter/nf_conntrack_tcp_loose is set to 1 (default),
>> Netfilter will try to pick up connection. By this mean, it is possible
>> to recover a connection (in some fail-over case for example), but it
>> introduces this looking-weird-at-first behaviour.
>>
>> BR,
>> - --
>> Eric Leblond <eleblond@inl.fr>
>
> because of that netfilter put it in INPUT-Chain?
> and I wonder why it occurs randomly.
These packets are often due to ghost connections:
- packet from a connection "closed" in the middle due to link failure
- packet from connection open by the people having the IP before you
- ...
> Should I switch to nf_conntrack_tcp_loose 0?
You can, there should be no problem with that.
BR,
--
Eric Leblond <eric@inl.fr>
INL: http://www.inl.fr/
NuFW: http://www.nufw.org/
prev parent reply other threads:[~2009-02-09 7:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-08 17:17 Incoming packet in wrong chain Tim Ritberg
2009-02-08 21:28 ` Eric Leblond
2009-02-08 22:44 ` Tim Ritberg
2009-02-09 7:19 ` Eric Leblond [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=498FD901.40205@inl.fr \
--to=eric@inl.fr \
--cc=netfilter@vger.kernel.org \
--cc=tim_rit@gmx.de \
/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.