diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:59:05 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 19:59:05 -0400 |
| commit | 1f19f33e45791ea59aed048796fc68672c6723a5 (patch) | |
| tree | 54625fba89e91d1c2177801ec635e8528bba937f /static/freebsd/man4/pflog.4 3.html | |
| parent | ac5e55f5f2af5b92794c2aded46c6bae85b5f5ed (diff) | |
docs: Removed Precompiled HTML
Diffstat (limited to 'static/freebsd/man4/pflog.4 3.html')
| -rw-r--r-- | static/freebsd/man4/pflog.4 3.html | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/static/freebsd/man4/pflog.4 3.html b/static/freebsd/man4/pflog.4 3.html deleted file mode 100644 index ad5eef40..00000000 --- a/static/freebsd/man4/pflog.4 3.html +++ /dev/null @@ -1,91 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">PFLOG(4)</td> - <td class="head-vol">Device Drivers Manual</td> - <td class="head-rtitle">PFLOG(4)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">pflog</code> — <span class="Nd">packet - filter logging interface</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="Cd">device pflog</code></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The <code class="Nm">pflog</code> interface is a device which - makes visible all packets logged by the packet filter, - <a class="Xr">pf(4)</a>. Logged packets can easily be monitored in real time - by invoking <a class="Xr">tcpdump(1)</a> on the - <code class="Nm">pflog</code> interface, or stored to disk using - <a class="Xr">pflogd(8)</a>.</p> -<p class="Pp">The pflog0 interface is created when the - <code class="Nm">pflog</code> module is loaded; further instances can be - created using <a class="Xr">ifconfig(8)</a>. The - <code class="Nm">pflog</code> module is loaded automatically if both - <a class="Xr">pf(4)</a> and <a class="Xr">pflogd(8)</a> are enabled.</p> -<p class="Pp">Each packet retrieved on this interface has a header associated - with it of length <code class="Dv">PFLOG_HDRLEN</code>. This header - documents the address family, interface name, rule number, reason, action, - and direction of the packet that was logged. This structure, defined in - ⟨<span class="Pa">net/if_pflog.h</span>⟩ looks like</p> -<div class="Bd Pp Bd-indent Li"> -<pre>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; -};</pre> -</div> -</section> -<section class="Sh"> -<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1> -<p class="Pp">Create a <code class="Nm">pflog</code> interface and monitor all - packets logged on it:</p> -<div class="Bd Pp Bd-indent Li"> -<pre># ifconfig pflog create -pflog1 -# ifconfig pflog1 up -# tcpdump -n -e -ttt -i pflog1</pre> -</div> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">tcpdump(1)</a>, <a class="Xr">inet(4)</a>, - <a class="Xr">inet6(4)</a>, <a class="Xr">netintro(4)</a>, - <a class="Xr">pf(4)</a>, <a class="Xr">ifconfig(8)</a>, - <a class="Xr">pflogd(8)</a></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> -<p class="Pp">The <code class="Nm">pflog</code> device first appeared in - <span class="Ux">OpenBSD 3.0</span>.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1> -<p class="Pp">FreeBSD does not set a process id in the <var class="Fa">pid</var> - field in pfloghdr.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">October 29, 2021</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
