|
NAME
SYNOPSIS
DESCRIPTIONThe The pflog0 interface is created when the
Each packet retrieved on this interface has a header associated
with it of length struct pfloghdr {
u_int8_t length;
sa_family_t af;
u_int8_t action;
u_int8_t reason;
char ifname[IFNAMSIZ];
char ruleset[PF_RULESET_NAME_SIZE];
u_int32_t rulenr;
u_int32_t subrulenr;
uid_t uid;
pid_t pid;
uid_t rule_uid;
pid_t rule_pid;
u_int8_t dir;
u_int8_t pad[3];
u_int32_t ridentifier;
};
EXAMPLESCreate a # ifconfig pflog create pflog1 # ifconfig pflog1 up # tcpdump -n -e -ttt -i pflog1 SEE ALSOtcpdump(1), inet(4), inet6(4), netintro(4), pf(4), ifconfig(8), pflogd(8) HISTORYThe BUGSFreeBSD does not set a process id in the pid field in pfloghdr.
|