From: Whit Blauvelt <whit@transpect.com>
To: netfilter@vger.kernel.org
Subject: Could Cogent be doing packet mangling that would confuse Netfilter about interfaces?
Date: Mon, 15 Aug 2011 13:13:53 -0400 [thread overview]
Message-ID: <20110815171353.GA15638@black.transpect.com> (raw)
In-Reply-To: <20110725000139.GA10041@black.transpect.com>
Hi,
This is related to a couple of messages I sent to the list 3 weeks ago, with
some additional information. The basic problem is that Netfilter is seeing
some traffic lately as coming in on the wrong interface, which we notice
when that traffic gets blocked or gets by when it shouldn't, since some of
our rules specify interfaces.
We're now seeing the same behavior from both iptables 1.4.8 on Debian
Squeeze and 1.3.8 on Ubuntu 8.04 (on totally different hardware). The common
factor is that this is all traffic coming in via our Cogent pipe. When
traffic comes in via either of our two other Speakeasy/Megapath pipes
Netfilter sees all the interface specifications correctly.
This makes me wonder if Cogent has started doing some sort of packet
mangling that's not compatible with how Netfilter looks at packet headers to
determine which interface the packets have shown up from. Could something
like that be the case? Or what else could account for this?
It does look like Cogent is on the list of providers who have been mucking
with stuff they shouldn't -
http://www.newscientist.com/article/dn20768-us-internet-providers-hijacking-users-search-queries.html
We can work around whatever the problem here is by specifying rules by IP
block rather than interface. Still, it's troubling that there can apparently
be some characteristic of incoming traffic that can get Netfilter confused
about the interface it's arrived on. There have to be evil uses for that.
Best,
Whit
next prev parent reply other threads:[~2011-08-15 17:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-23 0:36 How might incoming SMB probes from public IPs be ariving on the internal interfaces? Whit Blauvelt
2011-07-25 0:01 ` Whit Blauvelt
2011-08-15 17:13 ` Whit Blauvelt [this message]
2011-08-15 17:52 ` Could Cogent be doing packet mangling that would confuse Netfilter about interfaces? Tom Eastep
2011-08-15 20:33 ` Whit Blauvelt
2011-08-15 20:47 ` Whit Blauvelt
2011-08-15 21:10 ` Tom Eastep
2011-08-15 21:25 ` Whit Blauvelt
2011-08-15 21:54 ` Grant Taylor
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=20110815171353.GA15638@black.transpect.com \
--to=whit@transpect.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox