28 Nov
2001
28 Nov
'01
12:17
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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~