# Fail2Ban IPv6 Patch for Fail2Ban v0.8.13 --- failregex.py.orig +++ failregex.py @@ -41,7 +41,7 @@ self._matchCache = None # Perform shortcuts expansions. # Replace "" with default regular expression for host. - regex = regex.replace("", "(?:::f{4,6}:)?(?P[\w\-.^_]+)") + regex = regex.replace("", "(?:::f{4,6}:)?(?P[\w\-.^_:]+)") if regex.lstrip() == '': raise RegexException("Cannot add empty regex") try: