pf log

Toni Schmidbauer toni at stderror.at
Tue Dec 7 04:17:05 PST 2004


On Sun, Dec 05, 2004 at 09:16:36PM +0700, Muhammad Reza wrote:
> i have an error when try to read pf log via tcpdump on .5.3-stable
> 
> ns2# /usr/sbin/tcpdump -n -e -ttt -i pflog0
> tcpdump: BIOCSETIF: pflog0: Network is down
> ns2# /usr/sbin/tcpdump -n -e -ttt -r /var/log/pflog
> tcpdump: fread: Unknown error: 0

- "ifconfig pflog0 up" solves the first issue

- is pflog_enable="YES" in your rc.conf? if not do that and start
pflogd via "/etc/rc.d/pflogd start"

hth,
toni
-- 
Wer es einmal so weit gebracht hat, dass er nicht | toni at stderror dot at
mehr irrt, der hat auch zu arbeiten aufgehoert    | Toni Schmidbauer
-- Max Planck                                     |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041206/a4595ded/attachment.bin


More information about the freebsd-questions mailing list