ispCP - Board - Support
probleme FTP Brute Force - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: French Corner (/forum-25.html)
+--- Thread: probleme FTP Brute Force (/thread-10660.html)



probleme FTP Brute Force - mafia - 05-11-2010 01:46 AM

Bonjour

j ai un petite problème avec fail2ban voila le log merci beaucoup

/etc/init.d/fail2ban restart
Restarting authentication failure monitor: fail2banTraceback (most recent call last):
File "/usr/bin/fail2ban-client", line 401, in <module>
if client.start(sys.argv):
File "/usr/bin/fail2ban-client", line 370, in start
return self.__processCommand(args)
File "/usr/bin/fail2ban-client", line 180, in __processCommand
ret = self.__readConfig()
File "/usr/bin/fail2ban-client", line 374, in __readConfig
self.__configurator.readAll()
File "/usr/share/fail2ban/client/configurator.py", line 58, in readAll
self.__jails.read()
File "/usr/share/fail2ban/client/jailsreader.py", line 41, in read
ConfigReader.read(self, "jail")
File "/usr/share/fail2ban/client/configreader.py", line 59, in read
SafeConfigParserWithIncludes.read(self, [bConf, bLocal])
File "/usr/share/fail2ban/client/configparserinc.py", line 105, in read
fileNamesFull += SafeConfigParserWithIncludes.getIncludes(filename)
File "/usr/share/fail2ban/client/configparserinc.py", line 76, in getIncludes
parser.read(resource)
File "/usr/lib/python2.5/ConfigParser.py", line 267, in read
self._read(fp, filename)
File "/usr/lib/python2.5/ConfigParser.py", line 490, in _read
raise e
ConfigParser.ParsingError: File contains parsing errors: /etc/fail2ban/jail.local
[line 225]: ' enabled = true\n'
[line 226]: ' port = pop3\n'
[line 227]: ' filter = courierlogin\n'
[line 228]: ' failregex = courierpop3login: LOGIN FAILED.*ip=\\[.*:<HOST>\\]\n'
[line 229]: ' logpath = /var/log/mail.log\n'
[line 230]: ' maxretry = 2\n'
[line 234]: ' enabled = true\n'
[line 235]: ' port = imap2\n'
[line 236]: ' filter = courierlogin\n'
[line 237]: ' failregex = imapd: LOGIN FAILED.*ip=\\[.*:<HOST>\\]\n'
[line 238]: ' logpath = /var/log/mail.log\n'
[line 239]: ' maxretry = 2\n'
failed!