In your final statement below, did you mean  *without* quoted strings? On line 896 it says
"unless specified otherwise values expressed as quoted strings are case sensitive"

Ranga.

Jonathan Rosenberg wrote:
[EMAIL PROTECTED]">
Basic questions belong on [EMAIL PROTECTED].

The answer is that this parameter is case insensitive, so it doesn't
matter what the capitalization is. In fact, any parameter expressed with
quoted strings in a BNF is case insensitive.

-Jonathan R.

Kirchhoff Mechthild wrote:
Hello,
I'm in doubt about the right form of the algorithm parameter in an
WWW/Proxy-Authenticate header.

In RFC 2617 it is defined as:
algorithm = "algorithm" "=" ( "MD5" | "MD5-sess" |
token )

But later in RFC 2617 there is an example:
File "digtest.c":
#include <stdio.h>
#include "digcalc.h"
void main(int argc, char ** argv) {
char * pszNonce =
"dcd98b7102dd2f0e8b11d0f600bfb0c093";
char * pszCNonce = "0a4f113b";
char * pszUser = "Mufasa";
char * pszRealm = "[EMAIL PROTECTED]";
char * pszPass = "Circle Of Life";
char * ps zAlg = "md5";
char szNonceCount[9] = "00000001";
char * pszMethod = "GET";
char * pszQop = "auth";
char * pszURI = "/dir/index.html";
HASHHEX HA1;
HASHHEX HA2 = "";
HASHHEX Response;
DigestCalcHA1(pszAlg, pszUser, pszRealm,
pszPass, pszNonce,
pszCNonce, HA1);
DigestCalcResponse(HA1, pszNonce,
szNonceCount, pszCNonce, pszQop,
pszMethod, pszURI, HA2, Response);
printf("Response = %s\n", Response);
};

In the call flows (draft-ietf-call-flows-02.txt) I found:

SIP/2.0 407 Proxy Authorization Required
Via: SIP/2.0/UDP here.com:5060
Fro m: BigGuy <sip:[EMAIL PROTECTED]>
To: LittleGuy <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Proxy-Authenticate: Digest realm="MCI WorldCom SIP",
domain="wcom.com", nonce="wf84f1ceczx41ae6cbe5aea9c8e88d359",
opaque="", stale=FALSE, algorithm=MD5
Content-Length: 0

What should a SIP server do if it receives algorithm=md5 in a
Proxy/-Authorization header?
Reject the authentication header or accept it and take the response as
if calculated using the MD5 algorithm?

Thanks for your answers.

Mit freundlichem Gruss / With kind regards

Mechthild Kirchhoff

SIEMENS
ICN WN CC NA D15
Sch ertlinstrasse 8
D-81359 Muenchen
Germany

Tel. : +49-89-722-49533
Email: [EMAIL PROTECTED]

_______________________________________________
sip-aaa mailing list
[EMAIL PROTECTED]
http://mailman.dynamicsoft.com/mailman/listinfo/sip-aaa


-- 

M. Ranganathan
N.I.S.T. Advanced Networking Technologies Division 
100 Bureau Drive, Stop 8920, Gaithersburg, MD 20899
Tel:301 975 3664; fax:301 590 0932

Advanced Networking Technologies for the people!

Reply via email to