PFLOG(4) Device Drivers Manual PFLOG(4)

pflogpacket filter logging interface

pseudo-device pflog

The pflog interface is a pseudo-device which makes visible all packets logged by the packet filter. Logged packets can easily be monitored in real time by invoking tcpdump(1) on the pflog interface.

Instances of the pflog interface can be created using ifconfig(8).

Create a pflog interface and monitor all packets logged on it:

# ifconfig pflog1 create
# tcpdump -n -e -ttt -i pflog1

inet(4), inet6(4), netintro(4), pf(4), ifconfig(8), tcpdump(1)

The pflog device first appeared in OpenBSD 3.0.

May 31, 2007 macOS 14.5