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.
Usage
pftabled [options...] -d Run as daemon in the background -v Log all received packets -a address Bind to this address (default: 0.0.0.0) -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 fw.example.com 56789 spam add 1.2.3.4 $ pftabled-client -k /etc/key fw.example.com 56789 spam del 4.3.2.1/24 $ pftabled-client -k /etc/key fw.example.com 56789 spam flushpftabled-1.09.tar.gz