Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 10:16:47 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        Dru <genisis@istar.ca>
Cc:        questions@freebsd.org
Subject:   Re: ipfw logging
Message-ID:  <3AD7347F.C2D8C09B@urx.com>
References:  <Pine.BSF.4.21.0104131301060.4776-100000@istar.ca>

next in thread | previous in thread | raw e-mail | index | archive | help


Dru wrote:
> 
> Have ipfw running fine on 4.2-Release, it logs beautifully to the console
> the packets that I would expect to see logged. However, I must be missing
> something obvious as it refuses to log to a file. Here's the appropriate
> lines that I've added to:

Did you look at what is being logged to /var/log/security?

Kent

> 
> /etc/rc.conf
> firewall_logging_enable="YES"
> 
> /etc/syslog.conf
> !ipfw
> *.*                                             /var/log/ipfwlog
> 
> I added those 2 lines at the bottom of syslog.conf and I used TABs, not
> spaces.
> 
> I then "touch"ed /var/log/ipfwlog, and have left the default permissions
> on for the moment:
> 
> ls -l /var/log/ipfwlog
> -rw-r--r--  1 root  wheel  0 Apr 13 12:58 /var/log/ipfwlog
> 
> Am I missing a typo or something, or have I forgotten to add another line
> someplace? I've "hup"ped syslogd umpteen times, not to mention re-booting
> several times.
> 
> TIA,
> 
> Dru
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/

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?3AD7347F.C2D8C09B>