error with new filters
-
I create the 2 new filter, add in jail.local the new filter but after I reload fail2ban, I have these errors..so fail2ban dosnt start.
Debian 7Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.root@puci:~# service fail2ban start
[….] Starting authentication failure monitor: fail2banTraceback (most recent call last):
File “/usr/bin/fail2ban-client”, line 404, in <module>
if client.start(sys.argv):
File “/usr/bin/fail2ban-client”, line 373, in start
return self.__processCommand(args)
File “/usr/bin/fail2ban-client”, line 183, in __processCommand
ret = self.__readConfig()
File “/usr/bin/fail2ban-client”, line 378, in __readConfig
ret = self.__configurator.getOptions()
File “/usr/share/fail2ban/client/configurator.py”, line 68, in getOptions
return self.__jails.getOptions(jail)
File “/usr/share/fail2ban/client/jailsreader.py”, line 67, in getOptions
ret = jail.getOptions()
File “/usr/share/fail2ban/client/jailreader.py”, line 73, in getOptions
self.__opts = ConfigReader.getOptions(self, self.__name, opts)
File “/usr/share/fail2ban/client/configreader.py”, line 87, in getOptions
v = self.get(sec, option[1])
File “/usr/lib/python2.7/ConfigParser.py”, line 623, in get
return self._interpolate(section, option, value, d)
File “/usr/lib/python2.7/ConfigParser.py”, line 691, in _interpolate
self._interpolate_some(option, L, rawval, section, vars, 1)
File “/usr/lib/python2.7/ConfigParser.py”, line 726, in _interpolate_some
section, map, depth + 1)
File “/usr/lib/python2.7/ConfigParser.py”, line 723, in _interpolate_some
option, section, rest, var)
ConfigParser.InterpolationMissingOptionError: Bad value substitution:
section: [wordpress-hard]
option : action
key : port
rawval : “, protocol=”%(protocol)s”, chain=”%(chain)s”]
%(mta)s-whois-lines[name=%(__name__)s, dest=”%(destemail)s”, logpath=%(logpath)s, chain=”%(chain)s”]any suggestion ?
thx
- The topic ‘error with new filters’ is closed to new replies.