From: sean darcy <seandarcy2@gmail.com>
To: netfilter@vger.kernel.org
Subject: Re: conntrack: will it restart after delete?
Date: Fri, 21 Nov 2008 09:50:34 -0500 [thread overview]
Message-ID: <gg6hrq$1kd$1@ger.gmane.org> (raw)
In-Reply-To: <gg56n6$9up$1@ger.gmane.org>
sean darcy wrote:
> Pascal Hambourg wrote:
>> 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.
>> --
>
> Well, it didn't work:
>
> conntrack -D -p udp --dport 4569
> conntrack v0.9.6: You need to supply the `--sport' option for this command
> Try `conntrack -h' or 'conntrack --help' for more information.
>
> conntrack -D -p udp --sport 4569
> conntrack v0.9.6: You need to supply the `--dport' option for this command
> Try `conntrack -h' or 'conntrack --help' for more information.
>
> conntrack -D -p udp --sport 4569 --dport 4569
> conntrack v0.9.6: Can't kill conntracks just by its IDTry `conntrack -h'
> or 'conntrack --help' for more information.
>
> Puzzled, but trolling through man conntrack.
>
Solved. I was using 0.9.6, upgraded to 0.9.8 - now it works.
sean
prev parent reply other threads:[~2008-11-21 14:50 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
2008-11-21 2:34 ` sean darcy
2008-11-21 14:50 ` sean darcy [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='gg6hrq$1kd$1@ger.gmane.org' \
--to=seandarcy2@gmail.com \
--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 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.