Dear<div>this note is only for fresh administrators don't think about asterisk security.<br><div>I found fail2ban very useful for anti asterisk hacking, so I want to share it with fresh admins. </div><div>some hackers try your sip or iax2 ip with a lot of username/password, may be after 1 million try, one username/password was accepted. so in 2-3 hours, they use all of the credit of the hacked user. </div>
</div><div>fail2ban, runs as service, and checks the logs, and blocks the <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">suspicious IPs.</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; ">for more info:</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: nowrap; "><a href="http://www.fail2ban.org/wiki/index.php/Asterisk">http://www.fail2ban.org/wiki/index.php/Asterisk</a></span></div>
<div><a href="http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asterisk">http://www.voip-info.org/wiki/view/Fail2Ban+(with+iptables)+And+Asterisk</a></div><div><br></div><div>best</div>