pf working but no log

Zbigniew Szalbot zbyszek at szalbot.homedns.org
Mon Nov 6 18:40:17 UTC 2006


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


More information about the freebsd-questions mailing list