pfilctl(8)

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 -i flag the hook will be connected as input and with -o as output hook. At least one of -i or -o is required. By default pfilctl will 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 -a flag switches to appending new hook instead of prepending.

unlink ⟨-i | -o⟩ hook head Unlink hook on head. At least one of -i or -o is required. With the -i flag the hook will be removed from the input list of hooks and with -o on output list.

Releases

15 releases since FreeBSD 13.0-RELEASE; the text changed 1 time.

  1. 13.0–13.2
  2. 13.3–16.0

Authors

The pfilctl utility was written by Gleb Smirnoff ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.