BLOCKLISTCTL(8)
π NAME π
okay so blocklistctl(8) β yes, the System Manager's Manual one β is the program that displays and changes the state of the blocklistd(8) database, bestie.
πΈ SYNOPSIS πΈ
blocklistctl dump [-abdnrw] [-D dbname]
β¨ DESCRIPTION β¨
blocklistctl is the tool for displaying and changing the state of the blocklistd(8) database. The sub-command it supports is:
ποΈ dump ποΈ
Here are the options for the dump sub-command, no cap:
-aβ show all database entries. by default it shows only the active ones. inactive entries will be shown with a last-access time ofneverβ or, with-r, the remaining time ofnever.-bβ show only the blocked entries.-D dbnameβ specify the location of the blocklistd database file to use. the default is/var/db/blocklistd.db.-dβ increase debugging level.-nβ don't display a header.-rβ show the remaining blocked time instead of the last activity time.-wβ normally the width of addresses is good for IPv4; the-wflag makes the display wide enough for IPv6 addresses.
The output of the dump sub-command is a header (unless -n was given) plus one line for each record in the database, where each line has these columns:
rulenameβ the packet filter rule name associated with the database entry, usuallyblocklistd.address/ma:portβ the remote address, mask, and local port number of the client connection associated with the database entry.idβ this column shows the identifier for the packet filter rule associated with the database entry, though this may only be the wordOKfor packet filters which do not create a unique identifier for each rule.nfailβ the number of failures reported for the client on the noted port, as well as the number of failures allowed before blocking (or, with-a, an asteriskβ¨*β©).last access|remaining timeβ the last time the client was reported as attempting access, or, with-r, the time remaining before the rule blocking the client will be removed.
π SEE ALSO π
π«Ά NOTES π«Ά
Sometimes the reported number of failed attempts can exceed the number of attempts that blocklistd(8) is configured to block. This can happen either because the rule has been removed manually, or because there were more attempts in flight while the rule block was being added. This condition is normal; in that case blocklistd(8) will first attempt to remove the existing rule, and then it will re-add it to make sure that there is only one rule active.
π°οΈ HISTORY π°οΈ
blocklistctl first appeared in NetBSD 7. FreeBSD support for blocklistctl was implemented in FreeBSD 11.
π AUTHORS π
Christos Zoulas
xoxo, Debian β October 25, 2025 π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- Copyright (c) 2015 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms