Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: davejunkie on March 19, 2004, 06:38:58 PM

Title: can netfilter logs be configured and to run reports
Post by: davejunkie on March 19, 2004, 06:38:58 PM
does any one how to be able to watch what netfilter does and be able to run a report on the info. For example i wouuld like to watch what is happening on my network ( port conntections and so forth).

Jason
Title: can netfilter logs be configured and to run reports
Post by: Ricky on March 20, 2004, 07:48:25 AM
This will log all the data which is dropped by your computer..
Code: [Select]
IPTABLES -A FORWARD -m tcp -p tcp -j LOG
IPTABLES -A FORWARD -m udp -p udp -j LOG
IPTABLES -A FORWARD -m udp -p icmp -j LOG