Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 1997 12:27:09 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Andrew Ryder <aryder@bestweb.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: FireWall Question
Message-ID:  <Pine.BSF.3.96.971112122609.440J-100000@gdi.uoregon.edu>
In-Reply-To: <3469E1ED.6FEAE3AE@bestweb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Nov 1997, Andrew Ryder wrote:

> Hi, I was looking through the man pages of ipfw and it said I can change
> the area where ipfw sends its messages (normally /dev/console) with
> sysctl. Upon looking through the man pages of sysctl, it had lost me on
> exactly how I could log to a different area. Is there a way via syslog
> or wherever that I can log all the ipfw messages to /var/log/ipfw and
> treat it as a normal log? Please respond to this email since I am not on
> this list. Thanks

To view all the sysctl's, run `sysctl -a'.  You must compile your kernel
with the options outlined in the ipfw(8) man page for these sysctl's to
show.  Then you need to modify /etc/syslog.conf to pick up messages from
ipfw and route them to a different file.  See syslog.conf(5) for details.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





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