Re: [radext] I-D Action: draft-ietf-radext-nai-02.txt

Stefan Winter <stefan.winter@restena.lu> Mon, 18 March 2013 13:31 UTC

Return-Path: <stefan.winter@restena.lu>
X-Original-To: radext@ietfa.amsl.com
Delivered-To: radext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6156021F8DD9 for <radext@ietfa.amsl.com>; Mon, 18 Mar 2013 06:31:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_14=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jZw-30WNEpkg for <radext@ietfa.amsl.com>; Mon, 18 Mar 2013 06:31:36 -0700 (PDT)
Received: from smtprelay.restena.lu (smtprelay.restena.lu [IPv6:2001:a18:1::62]) by ietfa.amsl.com (Postfix) with ESMTP id 9B07B21F8D37 for <radext@ietf.org>; Mon, 18 Mar 2013 06:31:34 -0700 (PDT)
Received: from smtprelay.restena.lu (localhost [127.0.0.1]) by smtprelay.restena.lu (Postfix) with ESMTP id 000D210583 for <radext@ietf.org>; Mon, 18 Mar 2013 14:31:31 +0100 (CET)
Received: from aragorn.restena.lu (unknown [IPv6:2001:a18:1:8:4a1:fbc5:ccd:ef70]) by smtprelay.restena.lu (Postfix) with ESMTPS id E962F10581 for <radext@ietf.org>; Mon, 18 Mar 2013 14:31:31 +0100 (CET)
Message-ID: <5147172F.8090100@restena.lu>
Date: Mon, 18 Mar 2013 14:31:27 +0100
From: Stefan Winter <stefan.winter@restena.lu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: radext@ietf.org
References: <20130128155031.8392.45953.idtracker@ietfa.amsl.com>
In-Reply-To: <20130128155031.8392.45953.idtracker@ietfa.amsl.com>
X-Enigmail-Version: 1.5.1
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----enig2RVNTOICFWISXJDUOOXUA"
X-Virus-Scanned: ClamAV
Subject: Re: [radext] I-D Action: draft-ietf-radext-nai-02.txt
X-BeenThere: radext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: RADIUS EXTensions working group discussion list <radext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/radext>, <mailto:radext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/radext>
List-Post: <mailto:radext@ietf.org>
List-Help: <mailto:radext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/radext>, <mailto:radext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Mar 2013 13:31:38 -0000

Hi,

I have one comment about section 2.8 of the document.

Imagine
* an end-user device which produces valid UTF-8 NAIs; they are not in
NFC form though; in particular, the realm portion is interspersed with
U+FEFF characters ("zero-width, non-breaking space", i.e "nothing").
* his EAP server knows about this "strange" representation of the
identity and configures the corresponding byte sequence as a realm he is
willing to authenticate (i.e. terminate EAP for)

As per the draft, this will work nicely; both ends of EAP know each
other's representation of the username, and act accordingly.

In a AAA routing scenario as described in 2.8, forwarding of the
authentication will break unless all intermediate proxies are /also/
provided with the knowledge that this one realm can have the
non-normalised appearance in question.

This requires either signalling of numerous representations of the same
realm throughout all concerned proxies (which doesn't scale well), or
will lead to a "sorry, use a more sane representation" DoS.

I find both alternatives rather unfortunate.

How about the following tweak to the routing decision algorithm in 2.8:

Old text:

"Intermediate nodes MUST use the "utf8-realm" portion of the NAI
   without modification to perform this lookup.  Comparisons between the
   NAI as given in a AAA packet, and as provisioned in a logical AAA
   routing table SHOULD be done as a byte-for-byte equality test."

New text:

"Intermediate nodes MUST use the "utf8-realm" portion of the NAI
   to perform this lookup.  Comparisons between the NAI as given in a
   AAA packet, and as provisioned in a logical AAA routing table SHOULD
   be done as a byte-for-byte equality test of the normalized form (NFC)
   of the NAI and the normalized form (NFC) of the entry in the AAA
   routing table."

Note that this does not manipulate the realm representation in the
packet; it merely changes the logical handling of realms in proxies.

Greetings,

Stefan Winter

On 28.01.2013 16:50, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>  This draft is a work item of the RADIUS EXTensions Working Group of the IETF.
> 
> 	Title           : The Network Access Identifier
> 	Author(s)       : Alan DeKok
> 	Filename        : draft-ietf-radext-nai-02.txt
> 	Pages           : 22
> 	Date            : 2013-01-28
> 
> Abstract:
>    In order to provide inter-domain authentication services, it is
>    necessary to have a standardized method that domains can use to
>    identify each others users.  This document defines the syntax for the
>    Network Access Identifier (NAI), the user identity submitted by the
>    client prior to accessing network resources. This document is a
>    revised version of RFC 4282 [RFC4282], which addresses issues with
>    international character sets, as well as a number of other
>    corrections to the previous document.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-radext-nai
> 
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-radext-nai-02
> 
> A diff from the previous version is available at:
> http://www.ietf.org/rfcdiff?url2=draft-ietf-radext-nai-02
> 
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> _______________________________________________
> radext mailing list
> radext@ietf.org
> https://www.ietf.org/mailman/listinfo/radext
> 


-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473