Firewall Logging

Alexander Dalloz ad+lists at uni-x.org
Wed Nov 3 16:26:48 UTC 2004


Am Mi, den 03.11.2004 schrieb Neil Marjoram um 16:41:

> Think I missed something, how do I turn on the firewall logging and
> point it to it's own file?

> Neil.

You need to use logging rules with iptables, which means rules with jump
target to LOG (-j LOG) in front of the matching rule you want to log.
And you will have to choose a syslog priority (the facility is "kern").
With this syslog information you then have to customize
/etc/syslog.conf.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp 
Serendipity 17:23:24 up 14 days, 15:02, load average: 0.41, 0.60, 0.52 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20041103/b96652aa/attachment-0002.bin 


More information about the users mailing list