faqts : Computers : Operating Systems : Linux : Networking : TCP/IP : IP Chains

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 17 people (59%) answered Yes
Recently 4 of 8 people (50%) answered Yes

Entry

How can I setup ipchains to log matching packets?

May 15th, 2000 22:00
Nathan Wallace, Arjan Drieman


Try the --log option:

       -l, --log
              Turn  on  kernel logging of matching packets.  When
              this option is set for a  rule,  the  Linux  kernel
              will print some information of all matching packets
              (like most IP header fields) via printk().