diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-10-25 12:51:32 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-10-25 12:51:32 +0000 |
commit | 6c1978d873cc79b38a7df88c488cea6b14b93175 (patch) | |
tree | 1e6d70dc24634e0c59c3896ecdbc142cb14a5e0c /share/man | |
parent | b87c3c7c06c53de77f454b2de6bbd678807ce3a2 (diff) |
note that multiple instances can be created,
and adapt the example to show how...
ok henning
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/pflog.4 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/share/man/man4/pflog.4 b/share/man/man4/pflog.4 index 701acfcffd7..2b2e22b8877 100644 --- a/share/man/man4/pflog.4 +++ b/share/man/man4/pflog.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pflog.4,v 1.8 2005/05/27 20:19:33 dhartmei Exp $ +.\" $OpenBSD: pflog.4,v 1.9 2006/10/25 12:51:31 jmc Exp $ .\" .\" Copyright (c) 2001 Tobias Weingartner .\" All rights reserved. @@ -45,6 +45,14 @@ on the interface, or stored to disk using .Xr pflogd 8 . .Pp +The pflog0 interface is created automatically at boot if both +.Xr pf 4 +and +.Xr pflogd 8 +are enabled; +further instances can be created using +.Xr ifconfig 8 . +.Pp Each packet retrieved on this interface has a header associated with it of length .Dv PFLOG_HDRLEN . @@ -72,9 +80,13 @@ struct pfloghdr { }; .Ed .Sh EXAMPLES +Create a +.Nm +interface +and monitor all packets logged on it: .Bd -literal -offset indent -# ifconfig pflog0 up -# tcpdump -n -e -ttt -i pflog0 +# ifconfig pflog1 up +# tcpdump -n -e -ttt -i pflog1 .Ed .Sh SEE ALSO .Xr inet 4 , |