Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Mart Frauenlob <mart.frauenlob@chello.at>
To: netfilter@vger.kernel.org
Subject: Re: martian destination and RAW iptable
Date: Tue, 27 Jan 2009 19:19:58 +0100	[thread overview]
Message-ID: <497F504E.9040807@chello.at> (raw)
In-Reply-To: <ea182b20901270725n3fde42e4i166b346a919a3050@mail.gmail.com>

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?
>
> # uname -a
> Linux xxx.xxx.xxx.EDU 2.6.28 #1 SMP PREEMPT Fri Jan 16 00:41:03 EST
> 2009 i686 GNU/Linux
>
>   
find /proc -name log_martians

set the one for your interface to `0'.

greets

mart

  reply	other threads:[~2009-01-27 18:19 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 [this message]
2009-01-27 19:34     ` Yury Polyanskiy
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=497F504E.9040807@chello.at \
    --to=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