Hello,
I try to understand the nonce count handling.
By parameter "modparam("auth", "nonce_expire", 21600)" I can
define the validity of the Nonce in the time.
But I want also to define the validity of the Nonce in the number of use. For exemple, I
want to limit the reuse of the nonce at 64 times (including register, Invite)
But I can see the definition of the nonce_count for all the SIP users on Kamailio and not
user per user.
If I understand when I use
modparam("auth", "nonce_count", 1) # enable nonce_count support
modparam("auth", "nc_array_order", 20) # 1M in-flight nonces, using
1Mb memory
modparam("auth", "nid_pool_no", 4)
I define a memory to store the nonce values for all the SIP users.
So when User A use nonce x for REGISTER and nonce y for INVITE, nonce x is still valid !
My understanding is it correct ?
Is anyway to define a nonce validity in number of times per user ?
Patrice B
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou
privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par
erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques
etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme
ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that
may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message
and its attachments.
As emails may be altered, France Telecom - Orange is not liable for messages that have
been modified, changed or falsified.
Thank you.