pftabled-1.09.tar.gz

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.

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 flush
	

History

2010-11-12
Release 1.09. Add sample PHP client. Use mandoc manual formatter if available.
2010-04-20
Release 1.08. Add sample Python client. Check not only for replay attacks but for clock deviations to both sides (patch by Melissa Jenkins).
2009-02-04
Release 1.07. Add sample Perl client.
2006-03-06
Release 1.06. Add mask field to enable addition/deletion of whole networks (idea and initial patch from Niki Denev). Changed pftabled-client option parsing.
2005-01-27
Release 1.05. Make authentication completely optional. Portability fixes for servers running on FreeBSD (prompted by Nick Buraglio).
2004-09-12
Release 1.04. SHA1 authentication and client selectable tables (idea from Russell Fulton) which necessitates a new wire format.
2004-05-01
Release 1.03. Bugfix: Missing initializer for timeout queue added.
2004-04-24
Release 1.02. New timeout option to automatically remove table entries after a fixed time (idea from Samuel Ljungkvist).
2003-10-29
Release 1.01. Initial release.
Please ignore these hidden links for harvesters and spambots