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

Jouni Korhonen <jouni.nospam@gmail.com> Wed, 10 April 2013 06:47 UTC

Return-Path: <jouni.nospam@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 3593421F8C3C; Tue, 9 Apr 2013 23:47:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.8
X-Spam-Level:
X-Spam-Status: No, score=-1.8 tagged_above=-999 required=5 tests=[AWL=1.799, BAYES_00=-2.599, 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 DShLm7-mf6GE; Tue, 9 Apr 2013 23:47:33 -0700 (PDT)
Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by ietfa.amsl.com (Postfix) with ESMTP id 1650D21F8E36; Tue, 9 Apr 2013 23:47:32 -0700 (PDT)
Received: by mail-lb0-f177.google.com with SMTP id r10so188936lbi.36 for <multiple recipients>; Tue, 09 Apr 2013 23:47:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=53Fc3f5BzeRoLkY8f4eU4O4mFE6vzx6srBhIxGjA43I=; b=lt/ZTD8OqevkWC2UuSHM21Gmj33ISzihZZ4G3l58UxNVl+j/UcsKBf6HLE/iyeIqeu Rkxd+1vDUrgPlDahYAqmK5/Vca/Lk8kvGQ6wJz7Yjf7Mux7xYh3vKL6QVDpEzXxa7hk0 7VxSuymupYjUW8VrpI0YJTDRfhGaTar9W3jWSP1LyjLTyuZed0LKvlRBSnMDAoCSx9HU +zUerNvHy+wPmEj5BKnd9luSvRWXEaa20hwv/4Y5c/xcclmzjQsaLQxFUMk5S7BrEhZj bnnpVfCmpNhGZkEbMjF/5DFns3eXwn3JNaXt0eyVrPrOv8eK5Eyv74IxTjzLsKG7cArd Pr0Q==
X-Received: by 10.152.87.212 with SMTP id ba20mr405127lab.0.1365576452054; Tue, 09 Apr 2013 23:47:32 -0700 (PDT)
Received: from [192.168.250.151] ([194.100.71.98]) by mx.google.com with ESMTPS id 10sm3328323laq.8.2013.04.09.23.47.30 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Apr 2013 23:47:30 -0700 (PDT)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Jouni Korhonen <jouni.nospam@gmail.com>
In-Reply-To: <51644403.9080206@gmail.com>
Date: Wed, 10 Apr 2013 09:47:31 +0300
Content-Transfer-Encoding: 7bit
Message-Id: <46E1E39C-4256-4AB3-B1B8-AA2701426F3A@gmail.com>
References: <CAC8SSWtBMyDgShEDofyUjgcBiQ_ttY_DUbDNHnhhnf531+9XXA@mail.gmail.com> <FB413294-CF61-4AD9-AF26-41EC8A30DF37@gmail.com> <5162d5aa.0794420a.2f19.fffff597@mx.google.com> <8D23D4052ABE7A4490E77B1A012B630775138825@mbx-01.win.nominum.com> <489D13FBFA9B3E41812EA89F188F018E184EBA72@xmb-rcd-x04.cisco.com> <AC349589-AC7B-442B-9CE8-D7343BC44BCC@gmail.com> <5164263E.50402@gmail.com> <450791A9-F1A5-41F5-8EE7-8A69C823CE7A@gmail.com> <51644403.9080206@gmail.com>
To: Tomek Mrugalski <tomasz.mrugalski@gmail.com>
X-Mailer: Apple Mail (2.1503)
Cc: dhcwg@ietf.org, "<radext@ietf.org>" <radext@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: Wed, 10 Apr 2013 06:47:34 -0000

> 
>> Still confirming what I
>> meant & asked to be clarified for future use of OPTION_RADIUS (and whether
>> my concern is valid to begin with):
>> 
>> 0) Magic happens..
>> 1) DHCP Relay sends a relay-forward to DHCP Server with OPTION_RADIUS
>>   including attributes X,Y,Z.
>> 2) DHCP Server does not understand Z and thus responses to the Relay
>>   with DHCP options/values based on X & Y only.
>> 3) DHCP Relay receives the response but for it to send a meaningful
>>   reply to DHCP Client it would need some DHCP option/value in
>>   the reply that reflects the content of the RADIUS attribute Z
>>   (that was included into the request sent to Server).
>> 4) what does DHCP Relay do now?
> Send the response back to the client, as usual. This is defined in
> RFC3315, section 20.2, which is a very simple section. Here's the
> relevant part:
> 
>   The relay agent extracts the message from the Relay Message option
>   and relays it to the address contained in the peer-address field of
>   the Relay-reply message.
> 
> As simple as that: decapsulate and send to the client.

Ok. So this clears my concerns. Thanks for the patience convincing me ;-)

- Jouni



> 
> Relay is not supposed to inspect the responses coming back from the
> server or act as judge of any sort (that response is good and the other
> is bad, because some DHCP option related to RADIUS attribute is not
> there). Some relays do deep packet inspection for various reasons
> (snooping addresses or prefixes for example), but that's an additional
> thing that do not affect the basic operation - send the response towards
> the client (or next relay closer to the client if there are more
> relays). Relays may produce warnings or send some alerts if certain
> option is missing, but they need to send the resonse back to the client
> anyway. Otherwise they violate RFC3315 and are not really DHCPv6 relays,
> but something that acts similar to DHCPv6 relay.
> 
> Tomek