pf working but no log
Giorgos Keramidas
keramida at ceid.upatras.gr
Mon Nov 6 23:22:22 UTC 2006
On 2006-11-06 22:57, Zbigniew Szalbot <zbyszek at 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
More information about the freebsd-questions
mailing list