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

Re: Can i make the firewall write the logs in another files?



On 30 Jun 2001, Kent Nyberg wrote:

>
> I am one of those 'super-paranoid'-people so i made a little firewall
> today. The thing is that i would realy like if the fireall would write
> the logs to another file instead of the default /var/log/messages.
> A file like /var/log/firewall would be very nice!
> Is this possible to do?
>
> I dont like the /var/log/messages since it gets so big..   it would be
> better to have ONE file for the firewall!
>
> /Have a nice day, Kent Nyberg.
>
>
You can add this rule to /etc/syslog.conf.  It will grab a few other
messages besides the firewall ones, but it cuts down the number of
messages you have to look at.

kern.info				/var/log/ipchain

Not't forget to add a rule for logrotate to rotate this file.

Mikkel
 --

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.





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