diff --git a/CHANGELOG b/CHANGELOG index 2e75b008..603777f6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 ---------- diff --git a/README b/README index 5cece798..eeffa2b4 100644 --- a/README +++ b/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: -------- diff --git a/server/filter.py b/server/filter.py index ddd44e78..373195e4 100644 --- a/server/filter.py +++ b/server/filter.py @@ -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