[Serusers] performance on nat binding
Richard
richard at o-matrix.org
Sun Nov 14 19:11:48 CET 2004
Hi Jan,
In the NOTIFY message, it has a proxy authentication nonce got from REGISTER
messages.
I am not in the <some test here> if proxy_authorize() should be called and
the impact on the ser performance.
Richard
>
> Since the purpose of NOTIFY messages is just to get some reply from
> SER and keep the NAT bindings open, I would recommend to put a simple
> test at the beginning of the configuration file and send 200 OK
> immediately, something like:
>
> if (method == "NOTIFY" && <some test here>) {
> sl_send_reply("200", "OK");
> break;
> };
>
> Note that you have to replace <some test here> with something that
> tests if this is one of the NOTIFYs keeping the NAT open, you could
> probably test for some particular value in the Request-URI, or
> something like that. You probably do not want to reply all NOTIFY
> messages this way.
>
> Jan.
More information about the sr-users
mailing list