Postgrey is a Postfix policy server implementing greylisting. This patch adds p0f support to Postgrey based on p0fq.pl from p0f, like the patch by Fedux. P0f is a fingerprint tool, to identify operating systems. The difference between Fedux’s patch and mine is that his patch requires p0f-analyzer. See the image below.
My patch uses p0f’s socket created with the ‘-Q’ option. Because Postgrey doesn’t know what the source port is of the sender, p0f must also be configured with the ‘-0’ option.
p0f -u postgrey -Q /var/run/p0f-sock -0 -N -i eth0 'tcp dst port 25'
# postgrey options
--p0f --p0f-service=/var/run/p0f-sock --p0f-ip=<ip-of-eth0>
Postgrey version: 1.32
For downloading torrents I use TorrentFlux on a Debian Linux machine. All users on this system have a quota, so they don’t mess things up. TorrentFlux shows a storage bar on the main page with information about how much space is left on the device. Unfortunately it shows information about the complete partition, not about how much of your quota is left. This patch adds quota support and is backwards compatible.
It has just been released. There are some changes to v0.1:
- automatically create database if it doesn’t exist
- added comments per stream
- added backend alive signal
- added backend test script
With this tool you’re able to schedule a application (like darkice) to run. Stream Planner is accessible via a webinterface written in php. The Stream Planner Backend (that is running the process) is written in perl. Both webinterface and backend are talking to a sqlite database with schedule information.