On 03/24/2009 07:03 PM, mayamatakeshi wrote:
On Tue, Mar 24, 2009 at 6:43 PM, Klaus Darilion
<klaus.mailinglists(a)pernau.at> wrote:
Thanks. I can't use this right now as I'm still working with branch 1.4.
I'll go with it when we migrate to a newer branch.
if one really needs htable, then you can just copy from 1.5 to 1.4,
compile&install. I am using it in may 1.4 deployments.
Cheers,
Daniel
mayamatakeshi schrieb:
> Hello,
> we are running kamailio 1.4.
> Some days ago one of our subscribers SIP phone went crazy and
> bombarded our proxy with thousands of REGISTER requests. Actually, it
> didn't wait for any response of the proxy, it just kept sending
> REGISTER messages (same packet always). Since we are running with
> nonce_reuse disabled, it stalled the server due to "auth:challenge:
> failed to generate nonce".
> I don't have the whole figure but the packet capture I inspected
> showed that the terminal sent more than 200 thousand REGISTER messages
> in 15 seconds.
> We may not be able to replace those terminals at this moment. So to
> avoid this problem to happen again, we enabled nonce_reuse. However
> this only will solve the nonce problem but still we will have a lot of
> hits to database.
> So I was thinking, maybe I should create a transaction before sending
> the challenge so that REGISTER retransmissions would be absorbed. I
> was thinking in doing something like this:
>
> if (!proxy_authorize("", "subscriber")) {
> t_newtran();
> proxy_challenge("", "0");
> exit;
> }
>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
SIP Router Masterclass - Kamailio (OpenSER) Training
http://www.asipto.com/index.php/sip-router-masterclass/