Digest and MD5

Iandc Davies Iandc.Davies at Marconi.com
Tue Sep 6 11:28:37 CEST 2005


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





More information about the Freeradius-Users mailing list