[SPKM] RE: Comments on draft-zhu-pku2u-01.txt

"Liqiang(Larry) Zhu" <lzhu@windows.microsoft.com> Sat, 17 March 2007 02:01 UTC

Return-path: <spkm-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HSOER-0004YV-Ct; Fri, 16 Mar 2007 22:01:19 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HSOEP-0004YG-JQ for spkm@ietf.org; Fri, 16 Mar 2007 22:01:17 -0400
Received: from mailb.microsoft.com ([131.107.115.215] helo=smtp.microsoft.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HSOEJ-0002h6-7l for spkm@ietf.org; Fri, 16 Mar 2007 22:01:17 -0400
Received: from tk1-exhub-c101.redmond.corp.microsoft.com (157.56.116.111) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.0.685.24; Fri, 16 Mar 2007 19:01:10 -0700
Received: from win-imc-02.wingroup.windeploy.ntdev.microsoft.com (157.54.69.169) by tk1-exhub-c101.redmond.corp.microsoft.com (157.56.116.111) with Microsoft SMTP Server id 8.0.685.25; Fri, 16 Mar 2007 19:01:10 -0700
Received: from WIN-MSG-20.wingroup.windeploy.ntdev.microsoft.com ([157.54.62.25]) by win-imc-02.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(6.0.3790.3953); Fri, 16 Mar 2007 19:01:09 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 16 Mar 2007 19:01:09 -0700
Message-ID: <CAAAEFE273EAD341A4B02AAA9CA6F733051CA960@WIN-MSG-20.wingroup.windeploy.ntdev.microsoft.com>
In-Reply-To: <729D2796944018A823D6E75A@sirius.fac.cs.cmu.edu>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Comments on draft-zhu-pku2u-01.txt
Thread-Index: AcdoEtQO7SIGAeLrSMWmArQGOGajUAAJP2ZA
References: <CAAAEFE273EAD341A4B02AAA9CA6F73304D44CE4@WIN-MSG-20.wingroup.win deploy.ntdev.microsoft.com> <45FB0398.3080406@citi.umich.edu> <729D2796944018A823D6E75A@sirius.fac.cs.cmu.edu>
From: "Liqiang(Larry) Zhu" <lzhu@windows.microsoft.com>
To: Jeffrey Hutzelman <jhutz@cmu.edu>, Olga Kornievskaia <aglo@citi.umich.edu>
X-OriginalArrivalTime: 17 Mar 2007 02:01:09.0740 (UTC) FILETIME=[21C58AC0:01C76838]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c3a18ef96977fc9bcc21a621cbf1174b
Cc: Michael.Eisler@netapp.com, kitten@lists.ietf.org, spkm@ietf.org, andros@citi.umich.edu
Subject: [SPKM] RE: Comments on draft-zhu-pku2u-01.txt
X-BeenThere: spkm@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Low Infrastructure Public Key GSS mechanism <spkm.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/spkm>, <mailto:spkm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/spkm>
List-Post: <mailto:spkm@ietf.org>
List-Help: <mailto:spkm-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/spkm>, <mailto:spkm-request@ietf.org?subject=subscribe>
Errors-To: spkm-bounces@ietf.org

Jeff wrote:
> This is a good point.  GSS_S_CONTINUE_NEEDED indicates that it will be

> necessary to make the call again with another token provided by the
peer. 
> When GSS_Init_sec_context or GSS_Accept_sec_context emits an error
token, 
> it should also return an appropriate error status, not 
> GSS_S_CONTINUE_NEEDED.

This is not necessary accurate. In the User2User protocol,
http://www.watersprings.org/pub/id/draft-swift-win2k-krb-user2user-03.tx
t,
the server can return a KRB_ERROR with the GSS_S_CONTINUE_NEEDED status.
  
-----Original Message-----
From: Jeffrey Hutzelman [mailto:jhutz@cmu.edu] 
Sent: Friday, March 16, 2007 2:34 PM
To: Olga Kornievskaia; Liqiang(Larry) Zhu
Cc: Michael.Eisler@netapp.com; andros@citi.umich.edu;
kitten@lists.ietf.org; spkm@ietf.org; Nicolas Williams; Jeffrey
Hutzelman
Subject: Re: Comments on draft-zhu-pku2u-01.txt



On Friday, March 16, 2007 04:52:40 PM -0400 Olga Kornievskaia 
<aglo@citi.umich.edu> wrote:

>    In all cases, GSS_Accept_security_context() returns
>    GSS_S_CONTINUE_NEEDED status [RFC2743] and the output token is a
>    KRB_AS_REP message if a ticket was created or a KRB_ERROR message
if
>    there was an error while processing the request or the local policy
>    prevented a ticket from being issued.
>
> If the acceptor returns GSS_S_CONTINUE_NEEDED in the case of an error,
> what happens when the initiator after processing the error token
decides
> to stop, will the server just hang there in the continue needed state?

This is a good point.  GSS_S_CONTINUE_NEEDED indicates that it will be 
necessary to make the call again with another token provided by the
peer. 
When GSS_Init_sec_context or GSS_Accept_sec_context emits an error
token, 
it should also return an appropriate error status, not 
GSS_S_CONTINUE_NEEDED.


> Token ids are defined for KRB_AS_REQ and KRB_AS_REP but not for
KRB_ERROR?

The token ID for KRB_ERROR is defined in RFC 4121.


> Perhaps last paragraph of Section 6 can have a more detailed
explanation
> that doesn't require the user to go search for a different draft to
find
> our that AP_REQ should carry TYPED_DATA of type TD_IAKERB_FINISHED.
I'm
> sure i'm missing something but why is there a need to tie AS_REQ/REP
to
> AP_REQ/REP no such ties exist in original Kerberos message flow?

I'm not entirely sure what you're talking about here.  The AS exchange
is 
tied to a later AP exchange via the session key; this is true whether
the 
AS exchange results in a TGT or directly in some other service ticket. 
However, this does not protect the integrity of the plaintext portion of

the AS exchange, and in particular of PA-DATA contained in the AS-REQ,
and 
this is generally considered to be a shortcoming of the current AS 
exchange.  While this is likely to be fixed in the next update to the 
Kerberos protocol spec (see draft-ietf-krb-wg-rfc1510ter), it is also 
possible for a higher layer to perform an after-the-fact integrity check
of 
the entire AS exchange, as IAKERB does.  Whether this is necessary or a 
good idea is, of course, up for discussion.


-- Jeff


_______________________________________________
SPKM mailing list
SPKM@ietf.org
https://www1.ietf.org/mailman/listinfo/spkm