The pftabled daemon is a small helper to make your pf tables reachable from other hosts. You can add/delete/flush IP addresses to/from a remote table with a single UDP datagram. Sample client programs in C, Perl, PHP and Python are included. This is in heavy use distributing blocked IP addresses to other systems at an ISP environment.


pftabled [options...]
-d           Run as daemon in the background
-v           Log all received packets
-a address   Bind to this address (default:
-f table     Force requests to use this table
-k keyfile   Read authentication key from file
-p port      Bind to this port (default: 56789)
-t timeout   Remove IPs from table after timeout seconds

Client examples

$ pftabled-client -k /etc/key 56789 spam add
$ pftabled-client -k /etc/key 56789 spam del
$ pftabled-client -k /etc/key 56789 spam flush

Download pftabled-1.09.tar.gz