Core Update 157 w/ Tim F’s IP Blocklists Feature

For those that may be using the IP Blocklists feature provided at:
You will notice breakage after updating to Core 157. The issue relates to the refactoring of:


The new improved version of getipstat no longer writes the iptables stats to temp files – as the blocklist feature expects. As a temporary hack, I have locally made the following mod to file:


changing line 58 so that it writes the expected temp file:

system( “$getipstat > /var/tmp/iptables.txt” );

This seems to be working for me – no guarantees / warranties implied. Your actual mileage may vary :slight_smile:

A slightly less “hackish” patch to /srv/web/ipfire/cgi-bin/blocklist.cgi for anyone interested
blocklist.cgi.patch.tar (10 KB)