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

Stefan Winter <stefan.winter@restena.lu> Tue, 19 March 2013 07:52 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 8123321F8640 for <radext@ietfa.amsl.com>; Tue, 19 Mar 2013 00:52:18 -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_31=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 OwBnbqlBipVI for <radext@ietfa.amsl.com>; Tue, 19 Mar 2013 00:52:18 -0700 (PDT)
Received: from smtprelay.restena.lu (smtprelay.restena.lu [IPv6:2001:a18:1::62]) by ietfa.amsl.com (Postfix) with ESMTP id ADF7021F8628 for <radext@ietf.org>; Tue, 19 Mar 2013 00:52:17 -0700 (PDT)
Received: from smtprelay.restena.lu (localhost [127.0.0.1]) by smtprelay.restena.lu (Postfix) with ESMTP id C0F3C1058A for <radext@ietf.org>; Tue, 19 Mar 2013 08:52:15 +0100 (CET)
Received: from aragorn.restena.lu (unknown [IPv6:2001:a18:1:8:28d9:750b:eb74:2493]) by smtprelay.restena.lu (Postfix) with ESMTPS id B20DC10581 for <radext@ietf.org>; Tue, 19 Mar 2013 08:52:15 +0100 (CET)
Message-ID: <5148192B.90507@restena.lu>
Date: Tue, 19 Mar 2013 08:52:11 +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> <5147172F.8090100@restena.lu> <08fd01ce23f5$cf8d0b90$6ea722b0$@augustcellars.com> <tslfvzsvd24.fsf@mit.edu> <091f01ce240a$6705a860$3510f920$@augustcellars.com> <51476C2C.5070000@deployingradius.com>
In-Reply-To: <51476C2C.5070000@deployingradius.com>
X-Enigmail-Version: 1.5.1
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----enig2QDHTVWNWHKOFJIJUCDQC"
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: Tue, 19 Mar 2013 07:52:18 -0000

Hi,

>   As I write RADIUS servers instead of supplicants, I think the
> normalization work should be pushed off onto supplicants.
> 
>   The document already says that realm names MUST be registrable as
> names within DNS.  DNS requires NFC.  Therefore, realms are NFC.  Any
> supplicant injecting non-NFC names is wrong.

Not quite. Section 2.1 states:

See [RFC5198] for a discussion of normalization; the use of Normal
   Form Composed (NFC) is RECOMMENDED.

RECOMMENDED means that some ill-thinking supplicant implementers might
decide that they don't have to pay attention to normalisation.

If this statement were a MUST; plus a discussion what to do if an
incoming string is not in NFC (discard?) would make the whole thing a
lot more deterministic.

>   re: Sam's comments on i18n space, I'm not sure it's relevant to have
> the home server normalize the realm name.  I'm curious to know what
> information is in the non-NFC form which is needed by the home server.

It may be that the home server does not "need" the non-normalised junk
:-) It may just be that a supplicant thinks it's wise to send it; and
since the contents of the attribute can't be altered in-flight, this
junk will stay in the packet until it arrives at the home server.

My argument was that it may not even reach the home server if proxies
aren't allowed to do some sort of "sane" lookup of the packet content
vs. their local configuration.

>   The home server knows who it's users are, and can just use names,
> without a realm portion.  If it gets a realm, it verifies that it owns
> the realm, but that verification is largely site-specific.  e.g.
> EXAMPLE\foo versus foo@example.com.

That verification may ultimately require normalisation by the home
server. It's true that this is site-specific; but in the presence of
proxies the problematic bit is to reach that home site in the first place.

>   So the main use for realms is proxies.  They don't care about the
> *content* of the realm.  They just want to use it as an opaque token.
> Realm A goes to RADIUS server for Realm A, etc.

My issue is: does realm A', which is extremely similar to A in that it
differs only in string representation, also go to server A? Or is it
discarded by the proxy due to being unknown (i.e. not byte-wise equal to
the configured realm A)? Or sent to a "last resort"? If NFC(A') = A, and
if that is looked up in the routing table, a lot good is done in terms
of forwardability, IMHO.

Greetings,

Stefan Winter

> 
>   Alan DeKok.
> _______________________________________________
> 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