cd /root
mkdir fail2ban
cd fail2ban
wget http://pbxinaflash.net/source/fail2ban/fail2ban-update
chmod +x fail2ban-update
./fail2ban-update
ps aux | grep fail2ban-server
service fail2ban restart
2008-10-13 16:22:48,718 fail2ban.actions.action: ERROR iptables -N fail2ban-SSH
iptables -A fail2ban-SSH -j RETURN
iptables -I INPUT -p tcp --dport ssh -j fail2ban-SSH returned 100
root 2640 0.0 0.3 10064 1728 ? S Oct05 0:00 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
root 32418 0.0 0.1 3920 676 pts/0 R+ 06:31 0:00 grep fail2ban
[2008-10-15 22:32:56] NOTICE[2914] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (15c6135b2e18b28d721acbd36tb24b9c != b1f421792d50f69c62d65cd5b68c681b)
[2008-10-15 22:33:26] NOTICE[2919] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (3fe2e00a7671a2fb4f42s22d62753ce7 != 2b91e72d34357d3d7cd529c76de13e7d)
[2008-10-15 22:33:56] NOTICE[2915] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (8748b14c143d81c4fd6f0t5bd34cab8c != d0772e6d6958e9c87b076f0004830eff)
[2008-10-15 22:34:26] NOTICE[2921] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (41684d62gh1b21b9803e2c3d593c59c9 != 8637ee588617388472fbc85703f471c4)
[2008-10-15 22:34:56] NOTICE[2916] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (b6f29bf6c9b7b0544c03725b7d68337f != 46bb74ec67ca4f59020251e908fa2511)
[2008-10-15 22:35:26] NOTICE[2914] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (388ff2b4db63d5ccbf300972eb9f8230 != d0be9b56b3bf4d06add919eda979b7b0)
[2008-10-15 22:35:56] NOTICE[2919] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (9d378832bec45298c3dbcfef41ee9b2a != 346a7708be3f6da50efc7840f8650734)
[2008-10-15 22:36:26] NOTICE[2915] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (370ec3e9a44784g7124bdd6888bb95d8 != e95ecbe090d60a653261b898475fb3a4)
[2008-10-15 22:36:56] NOTICE[2921] chan_iax2.c: Host 172.16.24.2 failed MD5 authentication for '204' (1df0e55734ddf32e846adc8cdf52c616 != 4c8908f511ed07fce73a65f91d81a553)
NOTICE.* <HOST> failed MD5 authentication for '.*'$
Link up your team and customers Phone System Live Chat Video Conferencing
Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.
Check your inbox!
We’ve sent you an email. Click on the button in the email body to verify your email address – (if you can not find it, check your spam folder).
Upon verification you will be directed to the 3CX setup wizard.