All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: "Steve (Telsat Broadband)" <steve@telsatbb.vu>
Cc: netfilter@vger.kernel.org
Subject: Re: Deleting subnet range from conntrack
Date: Tue, 8 Jan 2013 04:50:50 +0100	[thread overview]
Message-ID: <20130108035050.GA19114@1984> (raw)
In-Reply-To: <026801cded4b$cda64b10$68f2e130$@telsatbb.vu>

Hi Steve,

On Tue, Jan 08, 2013 at 01:56:48PM +1100, Steve (Telsat Broadband) wrote:
> Hi All,
> 
> As part of a walled gateway I have written, the gateway is listening on both
> TCP and UDP for incoming connections.  For TCP, the connection is picked up
> and authenticated and allowed to proceed through the gateway; this all
> appears to work normally; however, under UDP, the unauthenticated data is
> sent to the auth processing listener via a NAT 'REDIRECT' command.  This
> command then authenticates the data, BUT the problem is that UDP data still
> continues to be redirected to the auth processor even after authorisation.
> 
> If have found that if I run a 'conntrack -D -s xxx.xxx.xxx.xxx' on the IP in
> question, the UDP data then flows through as expected.  The problem is, that
> for some instances, I'm needing the authorise/permit a subnet or network
> xxx.xxx.xxx.xxx/xx or and IPv6 subnet and it appears that conntrack doesn't
> support this.
> 
> Is there a way to get around this and delete conntrack entries for the
> subnet?

Unfortunately not yet. But it is doable.

  reply	other threads:[~2013-01-08  3:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08  2:56 Deleting subnet range from conntrack Steve (Telsat Broadband)
2013-01-08  3:50 ` Pablo Neira Ayuso [this message]
2013-01-09 13:50   ` Eliezer Croitoru

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=20130108035050.GA19114@1984 \
    --to=pablo@netfilter.org \
    --cc=netfilter@vger.kernel.org \
    --cc=steve@telsatbb.vu \
    /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.