<div dir="ltr">On 4 April 2014 15:00, motty cruz <span dir="ltr"><<a href="mailto:motty.cruz@gmail.com" target="_blank">motty.cruz@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello All, my asterisk server is constantly under attack<div><br></div></div></blockquote><div><br></div><div style>Unfortunately you are not alone.</div><div style><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>[Apr 4 06:56:00] NOTICE[21745]: chan_sip.c:25673 handle_request_register: Registration from '"4941" <sip:4941@public_ip>' failed for '<span>194.100.46.132</span><span dir="ltr"><span dir="ltr"><span><img><span>194.100.46.132</span><span></span></span></span></span>:56714' - Wrong password<br>
<sip:4941@public_ip>' failed for '<span>194.100.46.132</span><span dir="ltr"><span dir="ltr"><span><img><span>194.100.46.132</span><span></span></span></span></span>:56714' - Wrong password<br>
<br></div><div>is there a way to reject their registration after a three consecutive tries? <br></div><div><br></div></div></blockquote><div><br></div><div><br></div><div style>Check out fail2ban. Works well.</div><div style>
<br></div><div style>Hope this helps.</div><div style><br></div><div style>-Barry Flanagan</div><div style><br></div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div></div><div>Thanks, <br></div><div>
<div><a>Call</a></div><div><a>Send SMS</a></div>
<div><a>Add to Skype</a></div><div><span>You'll need Skype Credit</span><span>Free via Skype</span></div>
</div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div>