From: Olivier J. <oja...@gm...> - 2006-02-28 14:51:26
|
Checked-in. http://sipp.sourceforge.net/snapshots/sipp.cumulus.2006-02-28.tar.gz Thank you, this was a good one :) Olivier. On 2/24/06, Russell Roy <rr...@ce...> wrote: > > SIPp REGISTER w/ authentication fails against my stack implementation due > to bad algorithm value in Authentication header. > > According to RFC2617, the algorithm value should be a literal (MD5) not a > quoted-string ("MD5"). > > RFC2617 section 3.2.1: > challenge =3D "Digest" digest-challenge > > digest-challenge =3D 1#( realm | [ domain ] | nonce | > [ opaque ] |[ stale ] | [ algorithm ] | > [ qop-options ] | [auth-param] ) > > > domain =3D "domain" "=3D" <"> URI ( 1*SP URI ) <"> > URI =3D absoluteURI | abs_path > nonce =3D "nonce" "=3D" nonce-value > nonce-value =3D quoted-string > opaque =3D "opaque" "=3D" quoted-string > stale =3D "stale" "=3D" ( "true" | "false" ) > algorithm =3D "algorithm" "=3D" ( "MD5" | "MD5-sess" | > token ) > qop-options =3D "qop" "=3D" <"> 1#qop-value <"> > qop-value =3D "auth" | "auth-int" | token > > Here's the relevant change to auth.c: > > 219c219 > < sprintf(result, > "%s,nonce=3D\"%s\",response=3D\"%s\",algorithm=3D%s",result,tmp,resp_hex,= algo); > --- > > sprintf(result, > "%s,nonce=3D\"%s\",response=3D\"%s\",algorithm=3D\"%s\"",result,tmp,resp_= hex,algo); > > Russ Roy > > > > > > ------------------------------------------------------- This SF.Net email > is sponsored by xPML, a groundbreaking scripting language that extends > applications into web and mobile media. Attend the live webcast and join = the > prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642_______________________________________________ Sipp-users mailing= list > Sip...@li... > https://lists.sourceforge.net/lists/listinfo/sipp-users -- http://www.hp.com/go/opencall/ |