[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:

>Date: 30 Jun 2001 14:45:15 +0200
>From: Kent Nyberg <blurkis zxmail com>
>To: seawolf-list redhat com
>Reply-To: seawolf-list redhat com
>Content-Type: text/plain
>Subject: Can i make the firewall write the logs in another files?
>
>
>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!

You can't do it realtime without hackery.  You can do it via
cron, or if you're into hackery, create a named pipe in /var/log
and log to that, parsing what comes out the other end via a perl
daemon.  Or, talk to Harry Putnam.  He's got some cool log-fu.
;o)


----------------------------------------------------------------------
    Mike A. Harris  -  Linux advocate  -  Open Source advocate
       Opinions and viewpoints expressed are solely my own.
----------------------------------------------------------------------
Want to try a new high performance open source web server?  Try Caudium!
http://caudium.org            http://caudium.sourceforge.net





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