mirror of https://github.com/fail2ban/fail2ban
- Fixed "ignore IPs". Only the first value was taken into account. Thanks to Adrien Clerc
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@627 a942ae1a-1317-0410-a47c-b1dcaea8d605_tent/ipv6_via_aInfo
parent
c7b099f785
commit
5176ce820e
|
@ -20,6 +20,8 @@ ver. 0.8.2 (2007/??/??) - stable
|
|||
- Fixed ipfw action script. Thanks to Nick Munger
|
||||
- Removed date from logging message when using SYSLOG. Thanks
|
||||
to Iain Lea
|
||||
- Fixed "ignore IPs". Only the first value was taken into
|
||||
account. Thanks to Adrien Clerc
|
||||
|
||||
ver. 0.8.1 (2007/08/14) - stable
|
||||
----------
|
||||
|
|
2
README
2
README
|
@ -75,7 +75,7 @@ Nick Munger, Christoph Haas, Justin Shore, Joël Bertrand,
|
|||
René Berber, mEDI, Axel Thimm, Eric Gerbier, Christian Rauch,
|
||||
Michael C. Haller, Jonathan Underwood, Hanno 'Rince' Wagner,
|
||||
Daniel B. Cid, David Nutter, Raphaël Marichez, Guillaume
|
||||
Delvit, Vaclav Misek
|
||||
Delvit, Vaclav Misek, Adrien Clerc
|
||||
|
||||
License:
|
||||
--------
|
||||
|
|
|
@ -299,7 +299,7 @@ class Filter(JailThread):
|
|||
for i in self.__ignoreIpList:
|
||||
# An empty string is always false
|
||||
if i == "":
|
||||
return False
|
||||
continue
|
||||
s = i.split('/', 1)
|
||||
# IP address without CIDR mask
|
||||
if len(s) == 1:
|
||||
|
@ -314,7 +314,7 @@ class Filter(JailThread):
|
|||
if ip in ips:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
continue
|
||||
if a == b:
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue