Re: Log everything from iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mittwoch, 15. Juni 2005 19:20 schrieb Sebastião Antônio Campos:

Hi,

> How can I do to log everything is passing thru my firewall on eth0 and eth1
> and lo?? Using iptables??
just put:

iptables -I INPUT 1 -j LOG
iptables -I OUTPUT 1 -j LOG
iptables -I FORWARD 1 -j LOG

in a script and run it. It pushes a Log-entry as the first rule in the table.

Michael

-- 

          SysQuadrat    Systeme mit Sicherheit
    Michael Weinert Stuttgart Filderstadt-Plattenhardt
  Tel.: 0711-9970288 Fax: 5360559 Mobil: 0170-4141273
   http://www.linux-firewall.de  weinert@xxxxxxx
           KeyServer hkp://pgp.mit.edu

Attachment: pgpFFgc1GzEv5.pgp
Description: PGP signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux