Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: conntrack: will it restart after delete?
Date: Mon, 17 Nov 2008 20:34:51 +0100	[thread overview]
Message-ID: <4921C75B.2020201@plouf.fr.eu.org> (raw)
In-Reply-To: <gfs68h$560$1@ger.gmane.org>

Hello,

sean darcy a écrit :
> I've had a problem with a udp connection being setup before DNAT, 
> occurred. See "where are my udp packets going?" Nov 15, 2008.
> 
> So just before setting up DNAT I'd propose to run:
> 
> conntrack -D -p    udp --dport 4569
> 
> but the user guide says this "blocks" the connection.

The user manual only says "this can be used to block traffic" (cut an 
existing connection) with proper ruleset and settings. It does not block 
traffic by itself.

> I only want to 
> flush/empty it, and let it start again with DNAT working.
> 
> Does this do it?

I guess so, although I never used conntrack (no need yet).
However I would run the conntrack command after setting up DNAT rules, 
because a packet could arrive between the two operations. Deleting a UDP 
conntrack entry should be harmless, as the next UDP packet would create 
it again anyway.

  reply	other threads:[~2008-11-17 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-17 16:31 conntrack: will it restart after delete? sean darcy
2008-11-17 19:34 ` Pascal Hambourg [this message]
2008-11-21  2:34   ` sean darcy
2008-11-21 14:50     ` sean darcy

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=4921C75B.2020201@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --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