Re: packets loging

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

 



robee wrote:

when i use -j LOG target, netfilter writes so many information to syslog. what can i use to write only IN and OUT interface, SRC and DST host?

robee


$myLoglevel=info ...

iptables -A _____ -i $intif -s $Src -o $outif -d $Dest ________ -j LOG --log-prefix "xxxxxxx" --log-level $myLoglevel

and a little change in syslog.conf... like: kern.=info /var/log/kern.info.log ....




__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam Ągratis! Regístrate ya - http://correo.yahoo.com.mx/


[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