Re: [dhcwg] WGLC for draft-ietf-dhc-dhcpv4-over-dhcpv6-03 - Respond by Dec 9, 2013

Marcin Siodelski <msiodelski@gmail.com> Wed, 27 November 2013 16:03 UTC

Return-Path: <msiodelski@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D7521AE087 for <dhcwg@ietfa.amsl.com>; Wed, 27 Nov 2013 08:03:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8gb-eF4pMckh for <dhcwg@ietfa.amsl.com>; Wed, 27 Nov 2013 08:03:45 -0800 (PST)
Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 19FB41AE084 for <dhcwg@ietf.org>; Wed, 27 Nov 2013 08:03:44 -0800 (PST)
Received: by mail-lb0-f173.google.com with SMTP id u14so5447582lbd.4 for <dhcwg@ietf.org>; Wed, 27 Nov 2013 08:03:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=gCKhIWdb2+zAi2SmFcWpfIY8dynorSq/ofdoBIe4A1k=; b=JtUvq7Sq3XAmQ2O5jHxS/Q1Z5TyR/9gybMJmQg8XFgF1bHdTAu378ub1SsNT1RFOrn tWdP+GqLWjhHGsSIwWbF51kHVJUYmCJGKdqEQ5rmEK2JA2ZlWzM5eLy+cer8PsIw6HTq ZwaXQX5tjvlwzGKgnlqbgl+QLwm+7KKMvYr5l14lHZBcsJZNtDqUDNIh+cOOxvffrYiO xD/LsXD8TPV8Kp8nZ03nDZdVTyJ2F0KxsaHNe4rt5KBV4nksp7Orsb6d4t93UL4djdrz CwUHqCP6g0QSUfX6MSVqDN2wwjaqQMJjpa2ZCXWo8Yopy7i06N+AkzCtAJ/89vBBbnwG HkMg==
MIME-Version: 1.0
X-Received: by 10.152.6.201 with SMTP id d9mr13415939laa.25.1385568223854; Wed, 27 Nov 2013 08:03:43 -0800 (PST)
Received: by 10.112.62.166 with HTTP; Wed, 27 Nov 2013 08:03:43 -0800 (PST)
In-Reply-To: <52960D33.4040501@viagenie.ca>
References: <CEBBC722.9D48D%ian.farrer@telekom.de> <52960D33.4040501@viagenie.ca>
Date: Wed, 27 Nov 2013 17:03:43 +0100
Message-ID: <CAFGoqUPA1_SKzxb6xAYqP2zypRW7tke-1BJE76FABxyd6i06=A@mail.gmail.com>
From: Marcin Siodelski <msiodelski@gmail.com>
To: Simon Perreault <simon.perreault@viagenie.ca>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "<dhcwg@ietf.org>" <dhcwg@ietf.org>
Subject: Re: [dhcwg] WGLC for draft-ietf-dhc-dhcpv4-over-dhcpv6-03 - Respond by Dec 9, 2013
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
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, 27 Nov 2013 16:03:47 -0000

On Wed, Nov 27, 2013 at 4:18 PM, Simon Perreault
<simon.perreault@viagenie.ca> wrote:
> Le 2013-11-27 10:10, ian.farrer@telekom.de a écrit :
>
>>> If this makes sense, then I would rename the options:
>>> s/ENABLE/MULTICAST/ and s/SERVER/UNICAST/. And maybe go further and kill
>>> OPTION_DHCP4_O_DHCP6_ENABLE, and just put the multicast address in the
>>> payload of OPTION_DHCP4_O_DHCP6_SERVER.
>>
>>
>> [ian] IIRC, putting the multicast address into the option was discussed in
>> the authoring process, but was rejected as being too error prone.
>
>
> How is a multicast address more error prone than a unicast address? Any
> network admin would immediately notice the error when "it doesn't work". And
> once it's in place, you don't play with it every day. IMHO the reduced
> complexity is definitely worth it.
>
> Does anyone have a convincing argument for this?
>
>

The OPTION_DHCP4_O_DHCP6_SERVERS is by its definition a collection of
the IP addresses. So the server configuration will probably allow
multiple occurrences of All_DHCP_Relay_Agents_and_Servers in the
OPTION_DHCP4_O_DHCP6_SERVER option. In some cases, the server
configuration may even allow to specify the mixture of multicast and
unicast addresses. That already implies, that either configuration
mechanism or/and the client not only does have to validate that there
is one and only one occurrence of each address in the option, but also
it has to validate that if there are unicast addresses the multicast
shouldn't be present (or vice-versa). Which one the client would
choose if there were both multicast and unicast. Is it really making
it simpler?

In the case proposed in the draft: if I want to use the multicast, I
send minimal amount of information to the client (boolean option). If
I want to use unicast I send two options, if client receives both
options it uses unicast. I am not certain if this is any more
complicated that parsing the option, eliminate the duplicates and the
problem of presence of both multicast and unicast etc. At least, what
you propose causes additional burden on the client's side to prevent
amplification attack when using multicast - something that we only had
for unicast so far.

Marcin