[Sip] cnonce in RFC 3261

Moloud Mousavi <moloud@blueslice.com> Wed, 02 June 2010 17:58 UTC

Return-Path: <moloud@blueslice.com>
X-Original-To: sip@core3.amsl.com
Delivered-To: sip@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0CD2128B797 for <sip@core3.amsl.com>; Wed, 2 Jun 2010 10:58:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.865
X-Spam-Level:
X-Spam-Status: No, score=-1.865 tagged_above=-999 required=5 tests=[AWL=0.133, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wxCry4H580zl for <sip@core3.amsl.com>; Wed, 2 Jun 2010 10:58:53 -0700 (PDT)
Received: from cx295.800onemail.com (cx295.800onemail.com [209.171.54.144]) by core3.amsl.com (Postfix) with ESMTP id 6A4353A67D9 for <sip@ietf.org>; Wed, 2 Jun 2010 10:58:52 -0700 (PDT)
Received: from EX13-N05.exchserver.com ([10.7.5.66]) by cx295.800onemail.com (8.13.8/8.13.8) with ESMTP id o52Hwcao028885 for <sip@ietf.org>; Wed, 2 Jun 2010 13:58:38 -0400
Received: from EX41.exchserver.com ([169.254.1.30]) by EX13-N05.exchserver.com ([10.7.40.160]) with mapi; Wed, 2 Jun 2010 13:58:38 -0400
From: Moloud Mousavi <moloud@blueslice.com>
To: "sip@ietf.org" <sip@ietf.org>
Date: Wed, 2 Jun 2010 13:58:33 -0400
Thread-Topic: cnonce in RFC 3261
Thread-Index: AcsCfTdejNE4ep2+RPur7b3qGobDAw==
Message-ID: <345A3596DB43194797927F6ADFBFFFEF02619B68F9@EX41.exchserver.com>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-CA
x-crx-noroute: SMTP reroute not required
Content-Type: multipart/alternative; boundary="_000_345A3596DB43194797927F6ADFBFFFEF02619B68F9EX41exchserve_"
MIME-Version: 1.0
X-CRXEFW-Info: Please contact Ceryx for more information
X-CRXEFW-Virus: Clean
X-CRXEFW-From: moloud@blueslice.com
X-Mailman-Approved-At: Thu, 03 Jun 2010 08:02:34 -0700
Subject: [Sip] cnonce in RFC 3261
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sip>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jun 2010 17:58:58 -0000

Hi,

The Cnonce definition in RFC 3261 is confusing. This is what I found:

cnonce = "cnonce" EQUAL cnonce-value
cnonce-value = nonce-value


while a bit up an example shows the value of cnonce different than nonce:

nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
uri="sip:bob@biloxi.com",
qop=auth,
nc=00000001,
cnonce="0a4f113b",
response="6629fae49393a05397450978507c4ef1",

I need to calculate the challenge response. I don't know where to get this cnonce from?

One more thing: Why are there many names for the same parameter??? Like this one: nonce-count = "nc" EQUAL nc-value


THANKs a lot.

Moloud




________________________________
NOTICE: This e-mail contains information that may be confidential and proprietary. If you are not the intended recipient, any disclosure or other use of this e-mail or the information contained herein or attached hereto may be unlawful and is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete this e-mail without reading, printing, copying or forwarding it to anyone. Thank you for your kind cooperation.
AVIS : Ce courriel contient des renseignements qui peuvent etre confidentiels ou de propriete industrielle. Si vous n'etes pas le veritable destinataire, la diffusion ou l'usage de ce courriel, des renseignements qu'il contient ou des documents qui lui sont joints pourrait etre illegal. Il est donc strictement interdit de les diffuser ou de les utiliser. Si vous avez recu ce courriel par erreur, veuillez en aviser l'expediteur immediatement et veuillez le supprimer sans le lire, l'imprimer, le sauvegarder ou le diffuser. Merci de votre aimable collaboration.