Re: [kitten] [Ietf-krb-wg] Channel bindings -- interop issue with GSS_C_AF_*
Nico Williams <nico@cryptonector.com> Tue, 07 June 2011 21:14 UTC
Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78DA211E80C2 for <kitten@ietfa.amsl.com>; Tue, 7 Jun 2011 14:14:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.285
X-Spam-Level:
X-Spam-Status: No, score=-2.285 tagged_above=-999 required=5 tests=[AWL=-0.308, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ppJ0JbGGZgK5 for <kitten@ietfa.amsl.com>; Tue, 7 Jun 2011 14:14:50 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by ietfa.amsl.com (Postfix) with ESMTP id E025811E80A3 for <kitten@ietf.org>; Tue, 7 Jun 2011 14:14:50 -0700 (PDT)
Received: from homiemail-a33.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTP id B6F9D594069 for <kitten@ietf.org>; Tue, 7 Jun 2011 14:14:50 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; q=dns; s= cryptonector.com; b=BoN7peoswDrHy/zjEBzTKQYZBjDukXQj+WjaW4f89/s1 ukGK3CzFkyKiS0DtIQFf9wOsrmK619h6PlB4coe2/UIAo34k9aBsMer5pCMMHxTn rlxSe3oqQc6kEdVf+Rn1ni2VepOAVNubQFIM7l0gTRtYaqLKVjkbQWnmN//ueHw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=Fl1ZHpUKsE3VYgXd5SvL+r2/Ltw=; b=dcGj9H3osdF gN2fsLdLhU93lnJWLJruJCPAFyg5Va2hT8At4dLmA5NdY2yY7JFberZE9uM+jt9N 6NTb+eWfqhaM2TQ+Y5iUzBsI6gqbvqAZzOZIiS1zc6ckSbrsjGTa0A59+OtWdRPk tfoPAI9hK8m5ug0G84RmzALpI7W1C3X4=
Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a33.g.dreamhost.com (Postfix) with ESMTPSA id 99C70594061 for <kitten@ietf.org>; Tue, 7 Jun 2011 14:14:50 -0700 (PDT)
Received: by pxi20 with SMTP id 20so4533328pxi.27 for <kitten@ietf.org>; Tue, 07 Jun 2011 14:14:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.10.9 with SMTP id e9mr576734pbb.255.1307481289955; Tue, 07 Jun 2011 14:14:49 -0700 (PDT)
Received: by 10.68.50.39 with HTTP; Tue, 7 Jun 2011 14:14:49 -0700 (PDT)
In-Reply-To: <201106071644.p57GiB90004300@fs4113.wdf.sap.corp>
References: <D5847DD823005F4E9DB94FE77DCEDF680FEE69D1@ALVMBXW01.prod.quest.corp> <201106071644.p57GiB90004300@fs4113.wdf.sap.corp>
Date: Tue, 07 Jun 2011 16:14:49 -0500
Message-ID: <BANLkTinFVqrhsi0Hi6vP2G=DhGT_tXhCpA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: mrex@sap.com
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: kitten@ietf.org, ietf-krb-wg@anl.gov, Thomas Maslen <Thomas.Maslen@quest.com>
Subject: Re: [kitten] [Ietf-krb-wg] Channel bindings -- interop issue with GSS_C_AF_*
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Jun 2011 21:14:51 -0000
On Tue, Jun 7, 2011 at 11:44 AM, Martin Rex <mrex@sap.com> wrote: > Thomas Maslen wrote: >> >> and the general opinion seemed to be that the issue is moot because >> addresses in channel bindings were a mistake and these days you should >> pretty much always be using addressless channel bindings. > > This matches my personal opinion about address-based channel bindings. > They would intefere with firewall traversal, NAT-traversal and any > kind of application-level backend-internal load-balancing and > communication forwarding at protocol levels below GSS-API. Correct. >> In an addressless channel binding, what is the correct address-type >> value to use? Is it 0 (GSS_C_AF_UNSPEC), or is it 255 (GSS_C_AF_NULLADDR)? > > I'm confused. An application that doesn't want address-based channel > bindings would likely supply GSS_C_NO_CHANNEL_BINDINGS. Mine does. You forget about the "application_data" field, which is where we put the TLS (or whatever) channel bindings data. See RFCs 5056 and 5554. Oddly enough, I don't think we ever specified which GSS_C_AF_* to use. I think the right answer is: memset() the gss_channel_bindings_struct to zero, then set the application_data field. In other words, GSS_C_AF_UNSPEC. Dear KITTEN WG: do we have to update RFC5554 about this?? Or should we file an erratum? Nico --
- Re: [kitten] [Ietf-krb-wg] Channel bindings -- in… Nico Williams
- Re: [kitten] [Ietf-krb-wg] Channel bindings -- in… Sam Hartman
- Re: [kitten] [Ietf-krb-wg] Channel bindings -- in… Nico Williams
- Re: [kitten] [Ietf-krb-wg] Channel bindings -- in… Nico Williams
- Re: [kitten] [Ietf-krb-wg] Channel bindings -- in… Thomas Maslen
- Re: [kitten] [Ietf-krb-wg] Channel bindings -- in… Nico Williams
- Re: [kitten] [Ietf-krb-wg] Channel bindings -- in… Martin Rex