Date: Tue, 7 Nov 2006 01:22:01 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Zbigniew Szalbot <zbyszek@szalbot.homedns.org> Cc: freebsd-questions@freebsd.org Subject: Re: pf working but no log Message-ID: <20061106232201.GB8688@kobe.laptop> In-Reply-To: <Pine.BSF.4.64.0611062253450.67080@192.168.11.51> References: <Pine.BSF.4.64.0611061919200.61906@192.168.11.51> <20061106214652.GA7918@kobe.laptop> <Pine.BSF.4.64.0611062253450.67080@192.168.11.51>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-11-06 22:57, Zbigniew Szalbot <zbyszek@szalbot.homedns.org> wrote:
> On Mon, 6 Nov 2006, Giorgos Keramidas wrote:
>> I think there's a slight misunderstanding here. PF is *not*
>> ipfilter, so unless you've done something special it doesn't log to
>> ipfilter.log.
>>
>> Can you show us the exact rc.conf settings you used for PF?
>
> Acutally I made a typo when writting the email. I just called the log
> pflog (which I forgot and thought I had called it
> ipfileter.log).
That's alright.
> Here's the snippet:
>
> #pf-related conf
> pf_enable="YES" # Enable PF (load module if required)
> pf_rules="/etc/pf.conf" # rules definition file for PF
> pflog_enable="YES" # start pflogd(8)
> pflog_logfile="/var/log/pflog" # where pflogd should store the logfile
>
> Sorry for the confusion and thanks for being willing to help! I
> appreciate that very much!
Cool. The pf should be logging.
* Have you restarted it at all, after the configuration options
were set?
* Does the file '/var/log/pflog' exist? If yes, who is its
owner and what are its permissions? Is it empty?
# /bin/ls -olbF /var/log/pflog
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061106232201.GB8688>
