From: James MacLean <macleajb@ednet.ns.ca>
To: Marius Mertens <marius.mertens@gmx.de>
Cc: NetFilter <netfilter@lists.netfilter.org>
Subject: Re: Private traffic seen on public NATed interface - Linux 2.6.10-11 tested
Date: Wed, 16 Mar 2005 12:52:48 -0400 [thread overview]
Message-ID: <42386460.1010707@ednet.ns.ca> (raw)
In-Reply-To: <006a01c52a35$821191f0$4206a8c0@loki>
[-- Attachment #1.1: Type: text/plain, Size: 2137 bytes --]
Marius Mertens wrote:
> On Wednesday, March 16, 2005 1:49 PM,
> James MacLean wrote:
>
>> [...]
>> May I suggest someone else even try it at home :), or on a half busy
>> box? We _are_ honestly seeing this at different sites with different
>> rules, but with the common SNAT for private IP space.
>> [...]
>
>
> Sorry I cannot provide anything to solve your problem, but maybe you
> want to check the following:
> I also had (and already have, I just ignore it at the moment) a quite
> similar problem: Some packets that should have been modified by NAT
> were not processed, but in the direction "Internet --> NATted Clients"
> (exactly the opposite direction that makes problems on your setup) so
> that missed packets hit the INPUT rules of my router.
> If you want to have more detailed information please see
> http://lists.netfilter.org/pipermail/netfilter/2005-January/057795.html
> Now to the property you might want to check: All packets being not
> correctly processed by NAT had the state INVALID. I am not sure
> when/why the connection became INVALID, but since there has been
> traffic in both directions before, it it unlikely that it was INVALID
> in the first place.
> Perhaps your not processed packets are also considered INVALID?
> This is of course far away from a solution (since it is still unclear,
> why they become INVALID), but if we can find further criteria that
> applies to all these similar problems, maybe we are able to track it
> down.
>
> Marius
>
Bingo. And thanks :). Yes, this is looking very similar to our
situation. A small dump and the matching INVALID rule logging :
12:24:59.083117 IP 10.0.5.221.1672 > 64.202.98.35.http: F
1992443149:1992443149(0) ack 2731371818 win 63513
Mar 16 12:24:5 the kernel: INVALID IN=eth1 OUT=eth0 SRC=10.0.5.221
DST=64.202.98.35 LEN=40 TOS=0x00 PREC=0x00 TTL=127 ID=15881 DF PROTO=TCP
SPT=1672 DPT=80 WINDOW=63513 RES=0x00 ACK FIN URGP=0
Watching the logs on busy sites we see many of these :).
So now we know what it is, and we can simply apply INVALID rules if we
need to. I wonder how long this has been going on :(.
thanks again,
JES
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3684 bytes --]
prev parent reply other threads:[~2005-03-16 16:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-15 19:30 Private traffic seen on public NATed interface - Linux 2.6.10-11 tested James MacLean
2005-03-15 20:27 ` Francesco Ciocchetti
2005-03-15 20:57 ` James MacLean
2005-03-15 23:20 ` James MacLean
[not found] ` <42374B1B.4090901@ednet.ns.ca>
[not found] ` <4237EC2D.4050807@fastwebnet.it>
2005-03-16 12:49 ` James MacLean
2005-03-16 13:04 ` Private traffic seen on public NATed interface - Linux 2.6.10-11tested Clist
2005-03-16 14:36 ` Private traffic seen on public NATed interface - Linux 2.6.10-11 tested Marius Mertens
2005-03-16 16:52 ` James MacLean [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=42386460.1010707@ednet.ns.ca \
--to=macleajb@ednet.ns.ca \
--cc=marius.mertens@gmx.de \
--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