pfilctl8
Pfil(9) control utility
Usage
pfilctl heads
pfilctl hooks
pfilctl {link
⟨-i | -o⟩
[-a]
hook
head}
pfilctl {unlink
⟨-i | -o⟩
hook
head}
Overview
The pfilctl utility is intended to view and change configuration of the pfil(9) packet filtering hooks and filters on them.
Commands
heads-
List available packet filtering points.
hooks-
List available packet filters.
-
link⟨-i|-o⟩ [-a] hook head Link hook to head. With the-iflag the hook will be connected as input and with-oas output hook. At least one of-ior-ois required. By defaultpfilctlwill prepend the hook in front of other hooks if any present: new hook will be as close to the wire as possible, so that on input it will be the first filter and on output it will be the last. Adding the-aflag switches to appending new hook instead of prepending. -
unlink⟨-i|-o⟩ hook head Unlink hook on head. At least one of-ior-ois required. With the-iflag the hook will be removed from the input list of hooks and with-oon output list.
Releases
15 releases since FreeBSD 13.0-RELEASE; the text changed 1 time.