From: Yury Polyanskiy <ypolyans@princeton.edu>
To: netfilter@vger.kernel.org
Subject: Re: martian destination and RAW iptable
Date: Wed, 28 Jan 2009 02:55:08 +0300 [thread overview]
Message-ID: <ea182b20901271555s258f40ect362affc080a2372f@mail.gmail.com> (raw)
In-Reply-To: <ea182b20901271134j2515994dk3db95ef073d47554@mail.gmail.com>
>>>
>>> I wanted to filter out the annoying logs:
>>>
>>> Jan 24 00:19:54 tetra kernel: martian destination 0.0.0.0 from 1.2.3.4,
>>> dev eth0
>>>
>>> and issued the following:
>>>
>>> #iptables -t raw -I PREROUTING -s 1.2.3.4 -d 0.0.0.0 -j DROP
>>> #iptables -t raw -I PREROUTING -s 1.2.3.4 -j DROP
>>>
>>> Amazingly, I'm still getting those pesky log messages. How is this
>>> possible?
The problem was in arp_process():
814 if (arp->ar_op == htons(ARPOP_REQUEST) &&
815 ip_route_input(skb, tip, sip, 0, dev) == 0) {
So the packet "arp who has 0.0.0.0 tell 1.2.3.4" triggered those log messages.
Sorry for spamming.
Best,
Yury
prev parent reply other threads:[~2009-01-27 23:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ea182b20901270724r3c7909dbo7ddec6bc92c8afa6@mail.gmail.com>
2009-01-27 15:25 ` martian destination and RAW iptable Yury Polyanskiy
2009-01-27 18:19 ` Mart Frauenlob
2009-01-27 19:34 ` Yury Polyanskiy
2009-01-27 23:55 ` Yury Polyanskiy [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=ea182b20901271555s258f40ect362affc080a2372f@mail.gmail.com \
--to=ypolyans@princeton.edu \
--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