Do you have jail.local file in /etc/fail2ban/ directory?
If yes, then open it with your favorite text editor and change log path.

> On 23 Nov 2018, at 15:49, Willen Borges Coelho <[email protected]> wrote:
> 
> Hi,
>  
> how I change recidive jail from systemd-journal to direct file access?
> The recidive jail stopped working after I updated the server….
> How do I change it?
>  
>  
> [recidive]
> enabled = true
> backend = auto
> logpath  = /var/log/fail2ban.log
> banaction = %(banaction_allports)s
> bantime  = 604800  ; 1 week
> findtime = 86400   ; 1 day
> maxretry = 3
>  
> Status for the jail: recidive
> |- Filter
> |  |- Currently failed: 0
> |  |- Total failed:     0
> |  `- Journal matches:  _SYSTEMD_UNIT=fail2ban.service PRIORITY=5
> `- Actions
>    |- Currently banned: 0
>    |- Total banned:     0
>    `- Banned IP list:
>  
> Before updating it worked, and the return of the command was different, how 
> do I change?
>  
> Status for the jail: recidive
> |- Filter
> |  |- Currently failed: 1
> |  |- Total failed:     268
> |  `- File list:        /var/log/fail2ban.log
> `- Actions
>    |- Currently banned: 1
>    |- Total banned:     3
>    `- Banned IP list:   129.213.76.116
>  
> Regards,
>  
> <image001.png>
> Willen Borges Coelho
> Analista da Tecnologia da Informação
> Coordenadoria de Tecnologia da Informação
> Instituto Federal do Espírito Santo – Campus Cachoeiro de Itapemirim
> 28 3526 9027 <tel:28%C2%A03526%C2%A09027>
>  
>  
> 
> 
> Esta mensagem (incluindo anexos) contém informação confidencial destinada a 
> um usuário específico e seu conteúdo é protegido por lei. Se você não é o 
> destinatário correto deve apagar esta mensagem.
> 
> O emitente desta mensagem é responsável por seu conteúdo e endereçamento.
> Cabe ao destinatário cuidar quanto ao tratamento adequado. A divulgação, 
> reprodução e/ou distribuição sem a devida autorização ou qualquer outra ação 
> sem conformidade com as normas internas do Ifes são proibidas e passíveis de 
> sanção disciplinar, cível e criminal.
> _______________________________________________
> Fail2ban-users mailing list
> [email protected] 
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users 
> <https://lists.sourceforge.net/lists/listinfo/fail2ban-users>
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to