iptables -A INPUT -j LOG does not log anything

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

 



Hi all,

I set my iptables with policy "-P INPUT DROP" and my last line of INPUT chains to "-A INPUT -j LOG".

So everything packets not matching my INPUT rules will be LOG and DROP.

My problem is that iptables does not log anything to my syslog file.

I checked the syslogd configuration (debian default):

*.*;auth,authpriv.none          -/var/log/syslog

kern.*                          -/var/log/kern.log

*.=info;*.=notice;*.=warn;\
        auth,authpriv.none;\
        cron,daemon.none;\
        mail,news.none          -/var/log/messages


I checked counters of INPUT chains :
20 3 144 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 4

But nothing on my logfiles (syslog, messages, kern.log).

Does someone can help ?

Best Regards,
Alexandre



[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