• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

fail2ban empty logs

Azurel

Silver Pleskian
In the fail2ban module of plesk is a tab for "logs".
Here you can view Fail2ban logs.
No items found.

I have banned IPs, but no logs? I missed totaly a timestamp for the banned ip. How I can found out the time for the ban per IP?
 
Thanks. My fail2ban (plesk module) config is:

logtarget = SYSLOG

so I must change it to?

logtarget = /var/log/fail2ban.log
 
I have change it and restart fail2ban and get a warning:

# service fail2ban restart
Stopping fail2ban: [ OK ]
Starting fail2ban: WARNING 'ignoreregex' not defined in 'Definition'. Using default one: '' [ OK ]
 
Thank you! :)

As backup....
To start... " Starting fail2ban: WARNING 'ignoreregex' not defined in 'Definition'. Using default one: '' " is really nothing you should worry about, because Fail2ban is clever enough to use the global "ignoreregex" ( which is none )... Please have a closer look on how jails and filters are defined, to understand the warning. For example, the filter "plesk-courierlogin.conf" has an absolut correct filter - definition:
 
Back
Top