Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Yury Polyanskiy <ypolyans@princeton.edu>
To: Mart Frauenlob <mart.frauenlob@chello.at>
Cc: netfilter@vger.kernel.org
Subject: Re: martian destination and RAW iptable
Date: Tue, 27 Jan 2009 22:34:49 +0300	[thread overview]
Message-ID: <ea182b20901271134j2515994dk3db95ef073d47554@mail.gmail.com> (raw)
In-Reply-To: <497F504E.9040807@chello.at>

On Tue, Jan 27, 2009 at 9:19 PM, Mart Frauenlob
<mart.frauenlob@chello.at> wrote:
> Yury Polyanskiy wrote:
>>
>> Hello everyone!
>>
>> 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?
>>
>
> find /proc -name log_martians
>
> set the one for your interface to `0'.
>

Thanks, but I was asking how is it possible that a packet slips
through the -s 1.2.3.4 -j DROP rule in PREROUTING.

Y

  reply	other threads:[~2009-01-27 19:34 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 [this message]
2009-01-27 23:55       ` Yury Polyanskiy

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=ea182b20901271134j2515994dk3db95ef073d47554@mail.gmail.com \
    --to=ypolyans@princeton.edu \
    --cc=mart.frauenlob@chello.at \
    --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