Re: [dhcwg] [radext] draft-ietf-dhc-dhcpv6-radius-opt-10

"Leaf Yeh" <leaf.yeh.sdo@gmail.com> Mon, 08 April 2013 14:35 UTC

Return-Path: <leaf.yeh.sdo@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 37C9A21F97D9; Mon, 8 Apr 2013 07:35:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.473
X-Spam-Level:
X-Spam-Status: No, score=-3.473 tagged_above=-999 required=5 tests=[AWL=0.125, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 AujwTgALxPQQ; Mon, 8 Apr 2013 07:35:23 -0700 (PDT)
Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by ietfa.amsl.com (Postfix) with ESMTP id 4246621F97D7; Mon, 8 Apr 2013 07:35:23 -0700 (PDT)
Received: by mail-pa0-f49.google.com with SMTP id kp14so3235316pab.8 for <multiple recipients>; Mon, 08 Apr 2013 07:35:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=qTab5rnx1VsUm9i7fa2TEzINOeSIuW4Qqs8C+ZxrEPQ=; b=MeT+idPtY3ZndsKfTy2tDyzoGijEg1hhPc3Cnto59bFJqJzj9/AFK2lLeSRTamu8gH 9JXauAS2nN+kkRSua7ZuhwkZF0CJze80SNC0OBu9zxvamRDOWYygThD5WAZhHYbeMkkO wE75FIjaVCNHt3IzJi7BASVrWdzYVrPijlm0yfLX9gAW/SFPaK2BmG9Jr+KYuRNAMKr1 K0GZBLxW0BL2rW7Hcl547Qhu1RZbcGzna0ZjzDUDPWBnY0wMTnRd3oLrHn/5GyG5LI5g AP853bvA9cf0mW3CxRF7X3hhS+hWzDxC1GI03iw558G1htVGtmfzXmD3bB2lJaDxKsJn WysQ==
X-Received: by 10.66.219.136 with SMTP id po8mr24849398pac.53.1365431722591; Mon, 08 Apr 2013 07:35:22 -0700 (PDT)
Received: from PC ([114.248.232.47]) by mx.google.com with ESMTPS id to7sm40250501pab.0.2013.04.08.07.34.40 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 08 Apr 2013 07:35:22 -0700 (PDT)
From: Leaf Yeh <leaf.yeh.sdo@gmail.com>
To: 'Jouni Korhonen' <jouni.nospam@gmail.com>, radext@ietf.org
References: <CAC8SSWtBMyDgShEDofyUjgcBiQ_ttY_DUbDNHnhhnf531+9XXA@mail.gmail.com> <FB413294-CF61-4AD9-AF26-41EC8A30DF37@gmail.com>
In-Reply-To: <FB413294-CF61-4AD9-AF26-41EC8A30DF37@gmail.com>
Date: Mon, 08 Apr 2013 22:34:33 +0800
Message-ID: <5162d5aa.0794420a.2f19.fffff597@mx.google.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C1_01CE34A9.43392920"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac40KydsA3cjSiyLRsiJsmwVRvqQGAANtouw
Content-Language: zh-cn
Cc: 'dhcwg' <dhcwg@ietf.org>
Subject: Re: [dhcwg] [radext] draft-ietf-dhc-dhcpv6-radius-opt-10
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dhcwg>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Apr 2013 14:35:24 -0000

Jouni - it is possible in future when new attributes get added to registry
server silently discarding attributes may lead to a situation where the
server fails to provide enough information back to relay. 

 

Does that sounds a question for the newly introduced attribute? 

Anyway, the server is supposed to know the meaning of the attributes from
the relay before its response; if not, the server will silently ignore it.
Right?

 

 

Best Regards,

Leaf

 

 

 

From: dhcwg-bounces@ietf.org [mailto:dhcwg-bounces@ietf.org] On Behalf Of
Jouni Korhonen
Sent: Monday, April 08, 2013 3:32 PM
To: <radext@ietf.org>
Cc: dhcwg
Subject: Re: [dhcwg] [radext] draft-ietf-dhc-dhcpv6-radius-opt-10

 

Seems that I forgot to CC mailing lists.

 

- Jouni

 

Begin forwarded message:





From: jouni korhonen <jouni.nospam@gmail.com>

Subject: Re: [dhcwg] [radext] draft-ietf-dhc-dhcpv6-radius-opt-10

Date: April 5, 2013 7:37:47 PM GMT+03:00

To: Tomek Mrugalski <tomasz.mrugalski@gmail.com>

 


5.4.2013 17.16 "Tomek Mrugalski" <tomasz.mrugalski@gmail.com> kirjoitti:
>
> On 05.04.2013 15:12, Ted Lemon wrote:
> > On Apr 5, 2013, at 8:50 AM, Jouni Korhonen <jouni.nospam@gmail.com>
> > wrote:
> >> Blindly dropping an attribute might not work in all cases. For
> >> example, in some cases the server might not then be able to provide
> >> all information the relay needs..
> >
> > Well, I did say "silently ignored," not "dropped," but yeah.   If the
> > server doesn't support that attribute, it's not going to have any
> > effect anyway.   It seems like silently ignoring it is better than
> > dropping the whole message, although I suppose you could argue the
> > opposite, since a misconfiguration of this sort is probably something
> > the administrator wants to fix immediately, not discover by accident
> > years later.
> Anyway, dropping the whole message is definitely too radical here. We

I was not suggesting dropping the message. I said "blindly dropping an
attribute".. which is somewhat different. I am fine with a) but my point was
that it is possible in future when new attributes get added to registry
server silently discarding attributes may lead to a situation where the
server fails to provide enough information back to relay. This needs to be
taken into account when defining DHCP extensions relying on this I-D and the
established registry. 

Jouni

> have 3 options when server receives an unknown attribute:
> a) ignore just the unknown attribute
> b) ignore the whole radius option
> c) ignore the whole message
>
> I think we have an agreement that a) is the way to go. At least that's
> what I strongly recommend.
>
> Also, depending on server implementation, it is quite likely that the
> server will parse unknown attributes and handle them in some generic
> way, e.g. hex string. This is what some implementations do with unknown
> DHCPv6 options and I imagine similar approach can be taken with RADIUS
> attributes. Of course, such a behaviour is strictly implementation
> specific, so there's no need to put anything about it in the spec.
> So whether the attribute is "unknown" or not may be a bit blurry
> definition sometimes.
>
> "Server MAY ignore received RADIUS attributes that it does not support."
> seems like a reasonable text here. Some implementors will ignore unknown
> attribute, some may produce a warning and some my try to handle it in a
> generic way.
>
> Tomek
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org
> https://www.ietf.org/mailman/listinfo/dhcwg