Commit 7fcfed49 authored by Steve Kemp's avatar Steve Kemp
Browse files

BUGFIX:

  Use of uninitialized value $age in int at /usr/bin/firewall-blacklist
  line 608.
parent 67aa94aa
...@@ -604,6 +604,8 @@ sub expireBlacklist ...@@ -604,6 +604,8 @@ sub expireBlacklist
# #
foreach my $file ( sort( glob("$CONFIG{'blacklist'}/*.auto") ) ) foreach my $file ( sort( glob("$CONFIG{'blacklist'}/*.auto") ) )
{ {
next unless( -e $file );
my $age = -M $file; my $age = -M $file;
if ( int($age) > $CONFIG{ 'expire' } ) if ( int($age) > $CONFIG{ 'expire' } )
{ {
......
symbiosis-firewall (2010:0701) stable; urgency=low symbiosis-firewall (2010:0823) stable; urgency=low
* Correctly process whitelisted IP addresses. * Correctly process whitelisted IP addresses.
* Expire whitelisted entries which are older than 8 days. * Expire whitelisted entries which are older than 8 days.
* The blacklister will honour even auto-whitelisted IPs. * The blacklister will honour even auto-whitelisted IPs.
* Updated to avoid issues with unused blacklist files.
-- Steve Kemp <steve@bytemark.co.uk> Thu, 1 Jul 2010 12:00:00 +0000 -- Steve Kemp <steve@bytemark.co.uk> Thu, 1 Jul 2010 12:00:00 +0000
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment