Hi All,
I have tried installing and configuring the fail2ban for ssh ..
My SSH port is 5000 and below is my /etc/fail2ban/jail.local file .. with only below changes in the default file
Set "enabled" to "true" in [ssh-ddos] section
Set "port" to "5000" in [ssh] and [ssh-ddos] sections
My /etc/fail2ban/jail.local file -- > http://pastebin.com/irrrqcsm
But when I am starting the fail2ban , there are no logs nothing .. also restarting fail2ban gives below error --
/etc/init.d/fail2ban restart
Restarting authentication failure monitor: fail2ban failed!
Also in /etc/fail2ban/fail2ban.conf , I have set the loglevel = 4(DEBUG) , but still no logs gets created in /var/log/fail2ban.log and this logfile is empty .
Any clue please ??