Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 13:20:27 -0600 (CST)
From:      Gene Harris <zeus@tetronsoftware.com>
To:        Ivan Fetch <ivanfetch@technologist.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Can ipfw log to somewhere else other than the console?
Message-ID:  <Pine.BSF.4.10.10002191317090.678-100000@tetron02.tetronsoftware.com>
In-Reply-To: <Pine.LNX.4.20.0002191012510.920-100000@ibis.ivanfetch.tzo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
syslog.conf is your friend.  ipfw logs through the
kernel.info and higher.  you can also direct ipfw logging to
a differenet file via syslog, with a line similar to the
following in your syslog.conf file:

!ipfw
*.*                             /var/log/ipfw.log

On Sat, 19 Feb 2000, Ivan Fetch wrote:

>  Hi,
>     I have looked through the ipfw manual page with out luck - I would like
>  to have packet logging written to somewhere other than the console and
>  this does not seem to be possible.  FOr example's sake:
>  ipfw add 301 deny log all from badpeople.org to any
>  
>  I would like results of that rule to go into a file vs. the
>  console.  Nothing seems to be sent to syslog at all - Is it possible to
>  change this behavior?

Again, you need to look at your syslog.conf file.
kernel.info and above is the logging facility/level that
ipfw writes to.

>  
>  Thank YOu,
>  Ivan.
>  
>  
>  
>  
>  To Unsubscribe: send mail to majordomo@FreeBSD.org
>  with "unsubscribe freebsd-questions" in the body of the message
>  

*==============================================*
*Gene Harris      http://www.tetronsoftware.com*
*   Home of TeamAccess version control for     *
*        Microsoft Office 97 and 2000          *
*   FreeBSD 3.4-STABLE - The Power to Serve    *
*        Redhat 6.1 Secure Web Server          *
*==============================================*



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10002191317090.678-100000>