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/