Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2006 19:40:13 +0100 (CET)
From:      Zbigniew Szalbot <zbyszek@szalbot.homedns.org>
To:        freebsd-questions@freebsd.org
Subject:   pf working but no log
Message-ID:  <Pine.BSF.4.64.0611061919200.61906@192.168.11.51>

next in thread | raw e-mail | index | archive | help
Hello,

I configured the pf utility on FBSD 6.1 stable.

I put in a very simple rule to test:

block in log on $ext_if proto tcp from 218.83.108.230 to any port 25

Now, my conf file specifies that logging should be done to 
/var/log/ipfilter.log

But it is not happening although I tested it by changing the IP to one 
remote machine that I have access to and then tried to telnet to see what 
would happen. I was not able to start mail session on port 25 (good) but 
nothing was saved in the log (bad). Of course I reloaded the conf file 
with rules before I did the test. I even restarted pf completely but no 
logging.

Any hints what I should change to get the logging process to work?

-- 
Zbigniew Szalbot



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