From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>,
Richard Feng <rfeng@wurldtech.com>,
"netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: conntrack-tools 0.9.14 can not block the connection
Date: Fri, 07 May 2010 22:13:49 +0200 [thread overview]
Message-ID: <4BE4747D.9010705@plouf.fr.eu.org> (raw)
In-Reply-To: <alpine.LSU.2.01.1005072144530.31492@obet.zrqbmnf.qr>
Jan Engelhardt a écrit :
> On Friday 2010-05-07 21:14, Pablo Neira Ayuso wrote:
>>>> The documentation seems to be off here. If you only delete a ct
>>>> entry, the next packet (even if a TCP ACK or something) will make
>>>> a new ct with NEW as a ctstate.
>>>>
>>>> To really have a TCP/SCTP connection blocked after deletion of the ct
>>>> entry, you have to only allow NEW ctstates with the initla TCP/SCTP
>>>> packet (SYN/INIT).
Jan made an interesting point. TCP conntrack has a liberal/strict
sysctl, but I do not see any for SCTP conntrack. If I'm not mistaken, is
SCTP conntrack of the liberal or strict kind ?
>>> Yes, you need a well-formed stateful rule-set "to cut" the connection
>>> (at least you have to add a rule to block traffic in INVALID stats).
>> With "stats" I meant "state", and liberal tracking must be disabled as said.
>
> Which is the default anyway. :-)
>
> I think what was really meant was tcp_loose, not tcp_be_liberal.
In my understanding, tcp_loose only allows conntrack to pick up
connections from the middle, but packets are still INVALID until the
required number of packets is seen and accepted. Am I wrong ?
next prev parent reply other threads:[~2010-05-07 20:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 23:51 conntrack-tools 0.9.14 can not block the connection Richard Feng
2010-05-07 7:55 ` Jan Engelhardt
2010-05-07 8:49 ` Rob Sterenborg
2010-05-07 9:50 ` Jan Engelhardt
2010-05-07 16:17 ` Richard Feng
2010-05-07 16:27 ` Jan Engelhardt
2010-05-07 19:13 ` Pablo Neira Ayuso
2010-05-07 19:14 ` Pablo Neira Ayuso
2010-05-07 19:46 ` Jan Engelhardt
2010-05-07 20:13 ` Pascal Hambourg [this message]
2010-05-08 20:33 ` Jozsef Kadlecsik
2010-05-08 20:39 ` Jan Engelhardt
2010-05-10 11:11 ` Pascal Hambourg
2010-05-09 23:16 ` Pablo Neira Ayuso
2010-05-07 9:57 ` Pascal Hambourg
2010-05-07 16:22 ` Richard Feng
2010-05-07 18:51 ` Pascal Hambourg
2010-05-07 19:04 ` Richard Feng
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=4BE4747D.9010705@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.org \
--cc=jengelh@medozas.de \
--cc=netfilter@vger.kernel.org \
--cc=pablo@netfilter.org \
--cc=rfeng@wurldtech.com \
/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.