Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 29/04/2009, à 11:50

NamTarr

Fail2ban inopérant après migration vers Jaunty

Bonjour,

J'ai passé 2 PC de Intrepid vers Jaunty. Les deux avaient fail2ban d'installer et fonctionnel. Un était une station de travail, l'autre un serveur.

J'ai tenté un suppression et un réinstallation, rien n'y fait sad

Voici mon fichier de log fail2ban :

2009-04-29 11:41:31,563 fail2ban.server : INFO   Changed logging target to /var/log/fail2ban.log for Fail2ban v0.8.3
2009-04-29 11:41:31,565 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,566 fail2ban.jail   : INFO   Creating new jail 'ssh'
2009-04-29 11:41:31,567 fail2ban.jail   : INFO   Jail 'ssh' uses poller
2009-04-29 11:41:31,660 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,661 fail2ban.filter : INFO   Added logfile = /var/log/auth.log
2009-04-29 11:41:31,664 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,665 fail2ban.filter : INFO   Set maxRetry = 6
2009-04-29 11:41:31,667 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,669 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,670 fail2ban.filter : INFO   Set findtime = 600
2009-04-29 11:41:31,672 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,673 fail2ban.actions: INFO   Set banTime = 600
2009-04-29 11:41:31,675 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,688 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,702 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,717 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,732 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,750 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,770 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,793 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,821 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,852 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,921 fail2ban.jail   : INFO   Jail 'ssh' started
2009-04-29 11:41:31,998 fail2ban.server : ERROR  Unexpected communication error

Quelqu'un a une idée?

#2 Le 30/04/2009, à 11:06

NamTarr

Re : Fail2ban inopérant après migration vers Jaunty

Personne n'a ce problème??? sad

#3 Le 30/04/2009, à 13:00

strubli99

Re : Fail2ban inopérant après migration vers Jaunty

Change the python version to execute the /usr/bin/fail2ban-server script file.

Change the first line from
#!/usr/bin/python
to
#!/usr/bin/python2.5

After that restart fail2ban


NamTarr a écrit :

Bonjour,

J'ai passé 2 PC de Intrepid vers Jaunty. Les deux avaient fail2ban d'installer et fonctionnel. Un était une station de travail, l'autre un serveur.

J'ai tenté un suppression et un réinstallation, rien n'y fait sad

Voici mon fichier de log fail2ban :

2009-04-29 11:41:31,563 fail2ban.server : INFO   Changed logging target to /var/log/fail2ban.log for Fail2ban v0.8.3
2009-04-29 11:41:31,565 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,566 fail2ban.jail   : INFO   Creating new jail 'ssh'
2009-04-29 11:41:31,567 fail2ban.jail   : INFO   Jail 'ssh' uses poller
2009-04-29 11:41:31,660 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,661 fail2ban.filter : INFO   Added logfile = /var/log/auth.log
2009-04-29 11:41:31,664 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,665 fail2ban.filter : INFO   Set maxRetry = 6
2009-04-29 11:41:31,667 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,669 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,670 fail2ban.filter : INFO   Set findtime = 600
2009-04-29 11:41:31,672 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,673 fail2ban.actions: INFO   Set banTime = 600
2009-04-29 11:41:31,675 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,688 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,702 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,717 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,732 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,750 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,770 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,793 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,821 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,852 fail2ban.server : ERROR  Unexpected communication error
2009-04-29 11:41:31,921 fail2ban.jail   : INFO   Jail 'ssh' started
2009-04-29 11:41:31,998 fail2ban.server : ERROR  Unexpected communication error

Quelqu'un a une idée?

#4 Le 30/04/2009, à 14:17

NamTarr

Re : Fail2ban inopérant après migration vers Jaunty

Ah ben oui ça marche nettement mieux avec la bonne version de python...:rolleyes:

Merci strubli99 !!