Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timothy Frew
Sympl
Commits
7fcfed49
Commit
7fcfed49
authored
Aug 23, 2010
by
Steve Kemp
Browse files
BUGFIX:
Use of uninitialized value $age in int at /usr/bin/firewall-blacklist line 608.
parent
67aa94aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
firewall/bin/firewall-blacklist
View file @
7fcfed49
...
...
@@ -604,6 +604,8 @@ sub expireBlacklist
#
foreach
my
$file
(
sort
(
glob
("
$CONFIG
{'blacklist'}/*.auto
")
)
)
{
next
unless
(
-
e
$file
);
my
$age
=
-
M
$file
;
if
(
int
(
$age
)
>
$CONFIG
{
'
expire
'
}
)
{
...
...
firewall/debian/changelog
View file @
7fcfed49
symbiosis-firewall (2010:0
701
) stable; urgency=low
symbiosis-firewall (2010:0
823
) stable; urgency=low
* Correctly process whitelisted IP addresses.
* Expire whitelisted entries which are older than 8 days.
* 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment