All, For the Digest, the MD5 hashed response is, as far as I can make out, generated as follows :- A1 = H[Digest-User-Name:Realm:Password] A2 = H[Digest-Method:URI] KD1 = H[Hexdump(A1):Nonce] KD2 = H[KD1:Hexdump(A2)] KD = H[KD2] - - Which should match the final received Digest-Reponse element. Right... The question. All info apart from the Password come from the incoming VAS AVP packet. The Password seems to be sourced from a structure called REQUEST defined in libradius.h, in a specific pointer VALUE_PAIR element called config_items. Where and when does this element get populated and with data from where ? Ian Davies {02476 564662} Internal (x740 4662) IMS-SIPAC Software Development Engineer
"Iandc Davies" <Iandc.Davies@Marconi.com> wrote:
For the Digest, the MD5 hashed response is, as far as I can make out, generated as follows :-
See doc/rfc/draft-sterman-aaa-sip-00.txt
All info apart from the Password come from the incoming VAS AVP packet. The Password seems to be sourced from a structure called REQUEST defined in libradius.h, in a specific pointer VALUE_PAIR element called config_items.
Where and when does this element get populated and with data from where ?
It gets populated by another module, like the "users" file. Alan DeKok.
participants (2)
-
Alan DeKok -
Iandc Davies