Hi,
I am attempting to setup fail2ban to protect ssh.
So I copied jail.conf to jail.local and edited the file, however fail2ban will
now not run.
:(
========
[root@vuwuniconnect01 fail2ban]# service fail2ban restart
Redirecting to /bin/systemctl restart fail2ban.service
Job for fail2ban.service failed. See 'systemctl status fail2ban.service' and
'journalctl -xn' for details.
[root@vuwuniconnect01 fail2ban]# journalctl -xn
-- Logs begin at Mon 2014-10-20 13:46:33 NZDT, end at Tue 2014-10-21 13:22:18
NZDT. --
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz fail2ban-client[5071]: ' enabled
= true\n'
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz systemd[1]: fail2ban.service:
control process exited, code=exited status=255
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz systemd[1]: Failed to start
Fail2ban Service.
-- Subject: Unit fail2ban.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fail2ban.service has failed.
--
-- The result is failed.
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz systemd[1]: Unit fail2ban.service
entered failed state.
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz systemd[1]: fail2ban.service
holdoff time over, scheduling restart.
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz systemd[1]: Stopping Fail2ban
Service...
-- Subject: Unit fail2ban.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fail2ban.service has begun shutting down.
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz systemd[1]: Starting Fail2ban
Service...
-- Subject: Unit fail2ban.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit fail2ban.service has begun starting up.
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz systemd[1]: fail2ban.service
start request repeated too quickly, refusing to start.
Oct 21 13:22:18 vuwuniconnect01.ods.vuw.ac.nz systemd[1]: Failed to start
Fail2ban Service.
-- Subject: Unit fail2ban.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
=========
Any idea what is going on here?
jail.local changes,
=========
#ssj start
[ssh-iptables]
enabled = true
filter = sshd
action = iptables[name=SSH, port=10, protocol=tcp]
sendmail-whois[name=SSH, [email protected],
[email protected]]
logpath = /var/log/auth.log
maxretry = 5
#ssj finish
=========
regards
Steven
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users