Re: Netfilter Logs

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

 



Le ven 30/04/2004 à 14:08, zze-KHOURY Jad FTRD/DMI/CAE a écrit :
>  I'm having some problems finding how to log ONLY iptable log messages
> to another file other than messages. So I made some changes in the
> "sylsog.conf" file by adding: kern.warning /var/log/firewall since the
> Default log level entry is" warning". But I still reveive some message
> other than the packets, from the kernel itself!

Yes.
If you still want to use syslog, then you have to set a custom level
that is not likely to interfer with other stuff, such as emergency.

>  how can I limit the input messages to only Netfilter packets?
> What should I change in the syslog.conf file If I don't want to
> receive Netfilter messages in this file?

man syslog.conf

Or use ULOG target and ulogd.

-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
>> Hi! I'm your friendly neighbourhood signature virus.
>> Copy me to your signature file and help me spread!



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux