適用:Debian 7.x
檔案下載:
#> tar xzf 0.9.2.tar.gz #> cd fail2ban-0.9.2/ #> python setup.py install
驗證安裝
#> fail2ban-client -h
自動啟動
#> cd fail2ban-0.9.2/ #> cp files/debian-initd /etc/init.d/fail2ban #> chmod 0744 /etc/init.d/fail2ban
Asterisk Logger 設定
/etc/asterisk/logger.conf:
... [logfiles] ... fail2ban => notice,warning,security
套用設定