[OpenSIPS-Users] Register attack!

Hung Nguyen hungbk546 at gmail.com
Tue Nov 2 08:26:34 CET 2010


Hi every body!

I have a problem with attacker as following:


attack                   registrar

register  ------------->
register  ------------->
...
register  ------------->


Attacker send 200 registers/second so registrar server is error. This
is configuration for register method:

route[2] {

  # ----------------------------------------------------------
  # REGISTER Message Handler
  # ----------------------------------------------------------

  if (!search("^Contact:[ ]*\*") && nat_uac_test("7")) {
    setflag(6);
    fix_nated_register();
    fix_nated_contact();
    force_rport();
  };

  if (!radius_www_authorize("abc.com")) {
    www_challenge("abc.com", "0");
    exit;
  };
  consume_credentials();

  if (!save("location")) {
    sl_reply_error();
  };
}

Please help me,

Thanks.

Hung



More information about the Users mailing list