<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi Mario,</tt><br>
      <br>
      <br>
      On 11/30/2012 12:22 PM, Mario Contreras wrote:<br>
    </div>
    <blockquote cite="mid:50B89700.7090706@innovasur.es" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi all, <br>
      <br>
      I'm trying to handle two problems with an asterisk that is trying
      to register against my spce. First, If I undeerstand correctly the
      log, asterisk sends a REGISTER, and before spce answers asterisk
      sends two more petitions, so (and I don't know if it is the right
      way) spce bans it.<br>
      <br>
      I think spce should ban it when it has answered three registers,
      right?<br>
      <br>
    </blockquote>
    <br>
    Yes.<br>
    <br>
    <blockquote cite="mid:50B89700.7090706@innovasur.es" type="cite">
      Anyway, I have tried to add the ip of Asterisk to <i>dos_whitelisted_ips</i>
      parameter in config.yml, but it isn't working.<br>
      <br>
      What's the correct syntax?<br>
      <br>
      Thanks!<br>
      <br>
    </blockquote>
    <br>
    <tt><br>
      In this particular scenario, if you want to avoid that SPCE ban
      your asterisk due to too registration attempts,try to increase the
      "failed_auth_attempts" parameter or set "failed_auth_ban_enable"
      to 'no'.<br>
      Your Asterisk has been banning not due to a DoS attack, but just
      for too many registration attempts.<br>
      Anyway you should solve the problem on the Asterisk side.<br>
      <br>
      Regards.<br>
      <br>
      <br>
    </tt>
  </body>
</html>