diff --git a/fail2ban/server/filter.py b/fail2ban/server/filter.py index 3901fae9..45ae7704 100644 --- a/fail2ban/server/filter.py +++ b/fail2ban/server/filter.py @@ -168,7 +168,7 @@ class Filter(JailThread): if isinstance(value, bool): value = {True: 'yes', False: 'no'}[value] value = value.lower() # must be a string by now - if not (value in ('yes', 'no', 'warn')): + if not (value in ('yes', 'warn', 'no', 'raw')): logSys.error("Incorrect value %r specified for usedns. " "Using safe 'no'" % (value,)) value = 'no'