November 22, 2024, 12:31:07 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: can netfilter logs be configured and to run reports  (Read 6319 times)

Offline davejunkie

  • New Member
  • Posts: 2
can netfilter logs be configured and to run reports
« 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

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
can netfilter logs be configured and to run reports
« Reply #1 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