On Thu, Jun 19, 2008 at 12:16:15AM -0500, JW wrote: > Hello, > > Iptables is annoying me by: > > 1) printing logs to the console > > 2) filling my /var/log/messages up with the same logs, which then get picked > up and uselessly emailed to me by logcheck and logwatch. > > Of course all the logging is controlled by syslog, not iptables. > > What I really want is for those logs (which are not worthy of > their "kernel.warning" status) to go to their own file. > > Google searching has turned up dozens of possible options, all of which seem > like rather untidy hacks. > > What's the "right" way to do it?
iptables LOG messages come from kernel: if you want to keep using
syslogd, then you need to change all your LOG rules to ULOG (install
ulogd) which gives you more options files, syslog, DB etc
>
> JW
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
--
"The Iraqis need to be very much involved. They were the people that was
brutalized by this man."
- George W. Bush
12/15/2003
Washington, DC
signature.asc
Description: Digital signature

