* iptables -A INPUT -j LOG does not log anything
@ 2006-04-01 8:44 Alexandre Rouillac
2006-04-04 14:02 ` Alexandre Rouillac
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Rouillac @ 2006-04-01 8:44 UTC (permalink / raw)
To: netfilter
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: iptables -A INPUT -j LOG does not log anything
2006-04-01 8:44 iptables -A INPUT -j LOG does not log anything Alexandre Rouillac
@ 2006-04-04 14:02 ` Alexandre Rouillac
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Rouillac @ 2006-04-04 14:02 UTC (permalink / raw)
To: netfilter
dmesg command give the DROPed packet.
Someone can help ?
Thanks for help.
Alexandre Rouillac wrote:
> 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
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-04 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-01 8:44 iptables -A INPUT -j LOG does not log anything Alexandre Rouillac
2006-04-04 14:02 ` Alexandre Rouillac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.