All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: Richard Feng <rfeng@wurldtech.com>
Cc: "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 20:51:27 +0200	[thread overview]
Message-ID: <4BE4612F.4090604@plouf.fr.eu.org> (raw)
In-Reply-To: <201005070922.00629.rfeng@wurldtech.com>

Richard Feng a écrit :
> On May 7, 2010 02:57:51 am Pascal Hambourg wrote:
>>
>> The conntrack tool only deals with netfilter connection tracking, not
>> with the actual connection (e.g. it won't send RST's in order to tear it
>> down). How it may affect the actual connection depends on the iptables
>> ruleset.
>>
> It says it can block traffic in the 
> document "http://conntrack-tools.netfilter.org/manual.html#conntrack".

Do you mean this : "this can be used to block traffic" ?
It can be used to block traffic, but does not block traffic by itself.
Subsequent packets of a deleted TCP connection will just be in the
INVALID state, it is up to the iptables ruleset to drop such packets if
this is what you want.

> What should I do if I want to break current connection? Using 'cutter'?

What do you want to achieve exactly ? Drop/reject subsequent packets ?
Then see above, you need iptables. Or actively close the connection ?
Then you need a tool such as cutter.

  reply	other threads:[~2010-05-07 18:51 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
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 [this message]
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=4BE4612F.4090604@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@vger.kernel.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.