Hi again, I still don't know how to log traffic on a specific interface ( eg eth0 ) ... Mit freundlichen Grüßen Bruno Leonhardt CLP Domino R5 Systemadministrator ________________________________________________________________________________________________________ AnalyTek Systemhaus Hospitalstr. 2a D-65589 Hadamar Tel.: 06433/81403-15 Fax : 06433/81403-40
On 2001.11.28 12:03 BLeonhardt@analytek.de wrote:
Hi again,
I still don't know how to log traffic on a specific interface ( eg eth0 ) ...
Mit freundlichen Grüßen Bruno Leonhardt
Hi Bruno, Try something like : #> iptables -I INPUT 1 -i eth0 -j LOG --log-prefix "Logged on eth0: " Will log anything which arrives in the input chain on interface eth0 - but the logs might get big! To send these log messages to a specific file, IIRC, involves /etc/syslog.conf HTH Maf. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Maf. King Standby Exhibition Services ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "It is easier to do a job right than to explain why you didn't." - Martin Van Buren ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
participants (2)
-
BLeonhardt@analytek.de
-
Maf . King