Home > Archive > Linux/Unix > October 2001 > iptables with logging





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author iptables with logging
brianwph

2001-10-15, 1:49 am

Hi,
I'd like to ask about the LOG function in iptables.

I've configured my syslog.conf with an entry:
*.info /root/log
#log all info level messages

and iptables setting:

iptables -N ALLOW_ICMP
iptables -F ALLOW_ICMP
iptables -A ALLOW_ICMP -p icmp --icmp-type echo-reply -j ACCEPT
iptables -A ALLOW_ICMP -p icmp --icmp-type echo-request -j ACCEPT
iptables -A ALLOW_ICMP -p icmp --icmp-type echo-request -j LOG --log-level 6 --log-prefix "PING: "

But after ping both eth0 and eth1 cards of the machine, I still got nothing logged. Any possible results???

Thanks a lot!!!

Best Regards,
Brian
ccieToBe

2001-10-15, 8:57 am

I've never used iptables before (I mostly use ipfilter) so I have no idea. Someone like TW2001 might be able to help you out with this.
TW2001

2001-10-15, 7:19 pm

This may seem like a stupid question.Do you have the Logging variable uncommented and set to 1 in your configurable parameters?
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net