From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mario Subject: Re: packets loging Date: Thu, 20 Apr 2006 15:47:08 -0500 Message-ID: <4447F34C.6030500@yahoo.com.mx> References: <002d01c66445$01dd28f0$0e01050a@CyberAdmin> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <002d01c66445$01dd28f0$0e01050a@CyberAdmin> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: robee Cc: netfilter@lists.netfilter.org robee wrote: > when i use -j LOG target, netfilter writes so many information to=20 > syslog. what can i use to write only IN and OUT interface, SRC and DST=20 > host? > > robee > > $myLoglevel=3Dinfo ... iptables -A _____ -i $intif -s $Src -o $outif -d $Dest ________ -j LOG=20 --log-prefix "xxxxxxx" --log-level $myLoglevel and a little change in syslog.conf... like: kern.=3Dinfo=20 /var/log/kern.info.log .... __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam =A1gratis!=20 Reg=EDstrate ya - http://correo.yahoo.com.mx/=20