Iptables LOG

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

 



Hi every one :-)

I'm using :
kernel 2.4.23 
iptables 1.2.8
a ppp connection . 
into my kernel conf , i have enabled iptables LOG 
( 
CONFIG_IP_NF_TARGET_LOG=y
CONFIG_IP_NF_TARGET_ULOG=y
 )

I try to have iptables logs into a file .

I search and i found this to make it works :
http://lists.netfilter.org/pipermail/netfilter/2003-September/046667.html

What i made is :

#1 give this iptables rule 
iptables -A INPUT -j LOG --log-level debug --log-prefix "iptables_rktmb : "

#2 modifying /etc/syslog.conf 

[...]
*.info;*.!warn;kern.!=debug;\
	authpriv.none;cron.none;mail.none;news.none	-/var/log/messages

[...]
*.=debug                                                /var/log/debug

#3 killall -HUP syslogd

But IT DOES NOT want to work ... i have nothing into /var/log/debug execpt my 
pppd logs ...

How should i manage it ? what did i miss please ? Help me . :-)
--
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina



[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