diff conf/pf.conf.sample @ 0:9f8d79c98fd2 0.4.0

initial public release
author Arkadiusz Juszczyk <ark@wobblyhead.net>
date 2026-10-26 11:29 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/conf/pf.conf.sample	Mon Oct 26 11:29:10 2026 +0100
@@ -0,0 +1,12 @@
+# botblockd uses this pf table.  Include the table definition and a
+# matching block rule in the pf configuration, /etc/pf.conf by
+# default.
+#
+# `persist` keeps the table across `pfctl -f` reloads.  The table is
+# not file-backed; botblockd flushes it at startup and on exit.
+
+table <botblock> persist
+
+# Drop blocked sources early.  Place ahead of any pass rules that
+# would otherwise let them through.
+block in quick from <botblock>