Re: netfilter logging

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

 



On Wed, 8 Jun 2005 14:25:33 +0100 (BST)
"Jimmy" <squid@xxxxxxxxxx> wrote:

> Hello,
> 
> I have just started to log my iptables drops. As seen with this line in my
> iptables-save output.
> 
> -A INPUT -j LOG --log-level 1
> -A INPUT -j LOG --log-prefix "Dropped: "
> 
> What I would like to know is how I can get iptables to NOT log to console
> only to the message logs. Currently it goes into /var/log/syslog
> 

	cf /usr/src/linux/kernel/printk.c

	echo "4 4 1 7">  /proc/sys/kernel/printk

[...]

-- 
Vincent Lenouvel - <vincent@xxxxxxxxxxxxxxx>

Université de Caen, Campus II, Bd Maréchal Juin, BP 5186, 14032 Caen

Empreinte de la clé = D14D EFE9 4F55 AF89 98B0  666B 17E5 C840 4B0D 80E4

wget -O - http://users.info.unicaen.fr/~vincent/signature.asc | gpg --import

Attachment: pgp3eRNQwPlVM.pgp
Description: PGP signature


[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