Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: Leaking ICMP and UDP packets
Date: Mon, 19 Apr 2004 18:45:21 +0100	[thread overview]
Message-ID: <200404191845.21225.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0404190914120.2276-100000@dudester.spoontail.com>

On Monday 19 April 2004 5:17 pm, Daniel David Benson wrote:

> I essentially have everything go out as a global nat, but every now and
> then a tcpdump on the frontside interface is showing some ICMP and UDP
> packets not getting natted.

"Some"?   I agree with Frank - let's see an example, please.

> Anyone ever seen this before?

No.   As far as I'm concerned, if you tell netfilter to NAT, then it NATs.

> It's not a major deal as we are are having our front edge router handle
> these ugly packets, but I'd like to tighten it up.

Are you sure they are un-NATted packets "leaking" through netfilter, and not 
ICMP packets being sent back to some remote system by the firewall itself, 
saying "host unreachable" etc?

Other information which may be useful to diagnose this problem:

1. What's your Internet bandwidth?
2. How many conntrack table entries do you typically have (wc -l 
/proc/net/ip_conntrack)?
3. Do you have any DNAT rules for incoming packets, as well as the SNAT rule 
you've already posted?
4. Are you doing anything in the mangle table?
5. Do you run any services on the firewall, or is it just a filtering router?

Regards,

Antony.

-- 
Anyone that's normal doesn't really achieve much.

 - Mark Blair, Australian rocket engineer

                                                     Please reply to the list;
                                                           please don't CC me.



  parent reply	other threads:[~2004-04-19 17:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-19 16:17 Leaking ICMP and UDP packets Daniel David Benson
2004-04-19 16:31 ` Frank Gruellich
2004-04-19 16:54   ` Daniel David Benson
2004-04-19 17:08     ` Daniel David Benson
2004-04-19 17:45 ` Antony Stone [this message]
2004-04-20 17:13   ` Daniel David Benson
2004-04-20 17:46     ` Antony Stone
2004-04-20 18:06       ` Daniel David Benson
2004-04-20 18:37         ` Antony Stone

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=200404191845.21225.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --cc=netfilter@lists.netfilter.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