All of lore.kernel.org
 help / color / mirror / Atom feed
* prevent iptables LOG target from flooding dmesg
@ 2010-06-05 20:42 Thanasis
       [not found] ` <AANLkTilXnjHFMQI50wTupvFi2hIgf0tMhlu-lzPekPr7@mail.gmail.com>
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Thanasis @ 2010-06-05 20:42 UTC (permalink / raw)
  To: netfilter

The subject says it all.
I have set up logging like so :
--------------------------------------------------------------------------------------------------------------------
iptables -A INPUT -m state --state INVALID -j LOG --log-prefix "DROP
INVALID " --log-ip-options --log-tcp-options
iptables -A INPUT -i $INTIF ! -s $LAN -j LOG --log-prefix "SPOOFED PKT "
iptables -A INPUT ! -i lo -j LOG --log-prefix "DROP " --log-ip-options
--log-tcp-options
iptables -A OUTPUT -m state --state INVALID -j LOG --log-prefix "DROP
INVALID " --log-ip-options --log-tcp-options
iptables -A OUTPUT ! -o lo -j LOG --log-prefix "DROP " --log-ip-options
--log-tcp-options
iptables -A FORWARD -m state --state INVALID -j LOG --log-prefix "DROP
INVALID " --log-ip-options --log-tcp-options
iptables -A FORWARD -i $INTIF ! -s $LAN -j LOG --log-prefix "SPOOFED PKT "
iptables -A FORWARD ! -i lo -j LOG --log-prefix "DROP " --log-ip-options
--log-tcp-options
--------------------------------------------------------------------------------------------------------------------
and dmesg is flooded by DROP log messages etc.
I have NETFILTER_NETLINK_LOG [=m]
in the kenel config, but I don't know how to use it,
(and what the module name is).
Any pointers/help will be much appreciated.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-06-06 16:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 20:42 prevent iptables LOG target from flooding dmesg Thanasis
     [not found] ` <AANLkTilXnjHFMQI50wTupvFi2hIgf0tMhlu-lzPekPr7@mail.gmail.com>
2010-06-05 22:03   ` Thanasis
2010-06-06  3:03 ` Robby Workman
2010-06-06  5:26   ` Thanasis
2010-06-06 11:31     ` Jan Engelhardt
2010-06-06 13:42       ` Thanasis
2010-06-06 16:55   ` Thanasis
2010-06-06  7:09 ` lists
2010-06-06 10:52   ` Thanasis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.