On Wed, 2003-07-16 at 14:14, Jerry Kim wrote: > Hi all. > > I hope to know how to log dropped/accepted packets. > For example, > Exactly the same except put -j LOG --log-prefix "Accept input eth0" instead of -j ACCEPT. Oh, and the log rule must be before the accept/drop rule. > iptables -A INPUT -i eth0 -p tcp -d 10.10.10.1 --dport 22 -j ACCEPT > > How can I log it ? > I don't understand how '-j LOG' target operate. > > Help. > -- -- Raymond Leach <raymondl@xxxxxxxxxxxxxxxxxxxxxx> Network Support Specialist http://www.knowledgefactory.co.za "lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import" Key fingerprint = 7209 A695 9EE0 E971 A9AD 00EE 8757 EE47 F06F FB28 --
Attachment:
signature.asc
Description: This is a digitally signed message part