Michael C. Toren on Thu, 8 May 2003 22:33:33 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] solution: how to keep iptables from spamming the console


> The solutions to the iptables question raised at the meeting last night
> is in the man page for iptables(8):
[..]
>        --log-level level
>               Level of logging (numeric or see syslog.conf(5)).

Combining the "limit" MATCH extension with the LOG target handler can also
be very effective to combat noisy logging messages.  Something along the
lines of:

	iptables [...] -m limit --limit 3/minute --limit-burst 3 -j LOG

-mct
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug