pf working but no log

Zbigniew Szalbot zbyszek at szalbot.homedns.org
Tue Nov 7 06:57:48 UTC 2006


Hello,

On Tue, 7 Nov 2006, Juha Saarinen wrote:

> That file should be a pcap file:

Maybe that's the problem then - that I created it using touch?

> $ sudo file /var/log/pflog

I only get:

/var/log/pflog: empty


> What do you see if you do:
>
> $sudo /etc/rc.d/pf status

No ALTQ support in kernel
ALTQ related functions disabled
Status: Enabled for 0 days 07:25:33           Debug: Urgent

Hostid: 0x605bc923

State Table                          Total             Rate
   current entries                        0
   searches                         1229576           46.0/s
   inserts                                0            0.0/s
   removals                               0            0.0/s
Counters
   match                            1229576           46.0/s
   bad-offset                             0            0.0/s
   fragment                               0            0.0/s
   short                                  0            0.0/s
   normalize                              0            0.0/s
   memory                                 0            0.0/s
   bad-timestamp                          0            0.0/s
   congestion                             0            0.0/s
   ip-option                              0            0.0/s
   proto-cksum                            0            0.0/s
   state-mismatch                         0            0.0/s
   state-insert                           0            0.0/s
   state-limit                            0            0.0/s
   src-limit                              0            0.0/s
   synproxy                               0            0.0/s


How do I create the pflog file then? Thank you!

-- 
Zbigniew Szalbot


More information about the freebsd-questions mailing list