Logging IPTables to file using syslogd

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

 




Hi Guys

I have an iptables firewall, and i am looking at logging on the firewall logs into the seperate file using syslogd, at present moment, it is being logged to the messages file and and file call firewall.  My syslod.conf file is as follows : 

kern.*                          -/var/log/firewall
*.err;authpriv.none             /dev/tty10
*.err;authpriv.none             |/dev/xconsole
*.emerg                          *



mail.*                          -/var/log/mail

news.crit                       -/var/log/news/news.crit
news.err                        -/var/log/news/news.err
news.notice                     -/var/log/news/news.notice

*.=warn;*.=err                  -/var/log/warn
*.crit                           /var/log/warn

*.*;mail.none;news.none         -/var/log/messages


local0,local1.*                 -/var/log/localmessages
local2,local3.*                 -/var/log/localmessages
local4,local5.*                 -/var/log/localmessages
local6,local7.*                 -/var/log/localmessages


How do I change this so the logging is done to seperate files.
-- 
Regards
Pyuesh Daya
Tel : (011) 719 0384
Fax : (011) 719 0444
------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux