Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 19:50:02 +0100
From:      Antoine Brodin <antoine.brodin@laposte.net>
To:        freebsd-pf@FreeBSD.org
Subject:   pf used as a module from buildkernel can't log in -current ?
Message-ID:  <20051030195002.5075e2fd.antoine.brodin@laposte.net>

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

I use pf as a module on -current and it worked well until recently.
Today I noticed that pflogd didn't log anything.  It worked correctly
a month ago.

This seems to be related to revision 1.8 of sys/modules/pf/Makefile

pf says it logs packets :

%%%
# pfctl -sr -v | grep -A1 log
...
block return-rst log inet proto tcp all
  [ Evaluations: 847       Packets: 8         Bytes: 408         States: 0     ]
block return-icmp(port-unr) log inet proto udp all
  [ Evaluations: 847       Packets: 58        Bytes: 27811       States: 0     ]
...
%%%

but /var/log/pflog stays empty

opt_pf.h is empty too (that's why I say it's probably related to
revision 1.8 of sys/modules/pf/Makefile) :

%%%
% file /usr/obj/usr/src/sys/BARTON/opt_pf.h
/usr/obj/usr/src/sys/BARTON/opt_pf.h: empty
%%%

If I rebuild pf.ko in /sys/modules/pf , unload the other one and reload
this one pflogd does his job.

Is this behaviour expected ?

Cheers,


Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051030195002.5075e2fd.antoine.brodin>