ipmon log rotation

This is a discussion on ipmon log rotation within the IPFilter forums, part of the System Security and Security Related category; Hello, Trying to figure this one out, I've got ipfilter running on fbsd 5.1. In my rc.conf ...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-03-2003
dave
 
Posts: n/a
Default ipmon log rotation

Hello,
Trying to figure this one out, I've got ipfilter running on fbsd 5.1. In
my rc.conf file i have:
ipmon_flags="-Davn /var/log/firewall.log"
then i followed the ipmon example for log rotation given in the rc.conf man
page and added the following one line to /etc/newsyslog.conf:
/var/log/firewall.log 600 3 100 * Z /var/run/ipmon.pid
I'm having two problems, firstly, the log is in fact being written but when
newsyslog rotates the log file ipmon continues to write to firewall.log.0
which i am assuming is the previous log file and the new log fille,
firewall.log has only that newsyslog rotated it. The second problem and this
might be related to the first is that newsyslog is not compressing these
logs.
Thanks.
Dave.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0