[sr-dev] Stale nonce for Authentication

Martin Hoffmann martin.hoffmann at telio.ch
Wed Apr 27 14:29:52 CEST 2011


Hi,

we came across an issue where a client expects an unexpired nonce to be
flaged by the stale=true flag in the Digest Authenticate header field.
I added this to the challenge function by using flag 8. The patch is
attached. I suspect that calling pre_auth again to check whether the
nonce is stale isn't the correct way to do this and am open to suggestions.

I also looked into using the pv_*_authenticate() functions but all the
database stuff is just getting crazy.

Best regards,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kamailio.stale-auth.patch
Type: text/x-diff
Size: 856 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20110427/7eed1bcd/attachment.patch>


More information about the sr-dev mailing list