]> git.ipfire.org Git - people/stevee/guardian.git/commit - modules/Events.pm
Drop address from counthash when manually unblocking a host.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 19 Jul 2016 07:43:22 +0000 (09:43 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 19 Jul 2016 07:43:22 +0000 (09:43 +0200)
commite2377f6327a5c85eae700262f91254ef30c76b31
treea8056305ad8031dfa2635e2577c39e66bb498344
parent1044256085fc81fbc64475688bb1d0a347f4b123
Drop address from counthash when manually unblocking a host.

When a host address manualy get unblocked by calling the
unblock command via socket connection, the address now
will be dropped from counthash too.

If an address get unblocked because the configured BlockTime ends,
the entry still remains in the counthash and will be blocked again,
next time the address will be counted.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
modules/Events.pm