| 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
 |