PFILCTL(8)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸŽ€ NAME πŸŽ€

pfilctl β€” the pfil(9) control utility. Okay so this is the section 8 page, a.k.a. the System Manager's Manual page for PFILCTL(8), and it's literally here to help you vibe with pfilctl. πŸ’…

✨ SYNOPSIS ✨

No cap, the whole usage is right here:

pfilctl heads
pfilctl hooks
pfilctl link ⟨-i | -o⟩ [-a] hook head
pfilctl unlink ⟨-i | -o⟩ hook head

πŸ’… DESCRIPTION πŸ’…

Okay so the pfilctl utility is intended to view and change configuration of the pfil(9) packet filtering hooks and filters on them. It's giving packet-filter control room energy, and honestly? Obsessed. πŸ¦‹

πŸ¦‹ COMMANDS πŸ¦‹

  • heads β€” list available packet filtering points. Vibe check: these are the heads, bestie. πŸ‘‘
  • hooks β€” list available packet filters. That's the hook squad. 🫢
  • 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. Slay. πŸ”₯
  • 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. Periodt. πŸ’€

🌈 SEE ALSO 🌈

Go peek at ipfilter(4), ipfw(4), pf(4), and pfil(9) β€” the whole reference squad. Iykyk. 🌸

πŸ‘‘ AUTHORS πŸ‘‘

The pfilctl utility was written by Gleb Smirnoff <glebius@FreeBSD.org>. Big main-character energy from Gleb, fr fr. πŸ’–

Cute sign-off: the footer says Debian, January 28, 2019, and PFILCTL(8) β€” mwah, bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from