Iptables LOG
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=yCONFIG_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
Quoted 5 lines · Rakotomandimby Mihamina
Hi every one :-)
I'm using :
kernel 2.4.23
iptables 1.2.8
Does it work if you set it to another level? IE say set it to emerg or info? If it doesnt then I would say the kernel isnt doing what it is supposed to do or klogd isnt running.
Signature · 4 lines
Stephen John Smoogen [email protected] Los Alamos National Labrador CCN-5 Sched 5/40 PH: 5-8058 Ta-03 SM-261 MailStop P208 DP 17U Los Alamos, NM 87545 -- So shines a good deed in a weary world. = Willy Wonka --