Re: [v6ops] IPv6-Only Preferred DHCPv4 option

Jen Linkova <furry13@gmail.com> Wed, 04 December 2019 20:50 UTC

Return-Path: <furry13@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD1FF120895 for <v6ops@ietfa.amsl.com>; Wed, 4 Dec 2019 12:50:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.748
X-Spam-Level:
X-Spam-Status: No, score=-1.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 NkRy0aZ25Ssc for <v6ops@ietfa.amsl.com>; Wed, 4 Dec 2019 12:50:12 -0800 (PST)
Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5327E12004C for <v6ops@ietf.org>; Wed, 4 Dec 2019 12:50:12 -0800 (PST)
Received: by mail-qt1-x830.google.com with SMTP id w47so1205063qtk.4 for <v6ops@ietf.org>; Wed, 04 Dec 2019 12:50:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AVTaRPNdH4H28ThIauzbluDtRdREYlgrvafhqSkzDFM=; b=rbtisdih0aRsU0cnYQPLQd3dZg9knDICuceetJ87Jv1piHTKr/GuV2JUn9oMIH1cdu gBtUerr0CR0+OaMRWVljNuXVBhBRKUoFNSchIV6FiW3ZcAmiZ0e+EYE/5JfEbRbzGyKW 6CvK1Eui9mtRulh6z+7EGTgGsyG8H8acWLS80kJYFB5Vq+e5xrhQEumkNKopUFmQo7g8 +bZqNJLhu+JmPuK10aNW/klcEeHw2ne53uDnUPMQdg86CP3G6Q5fiFmBLEhehw4B3xC4 H0OTGaN74cGTD3R4swl3tU7lu0F2aZ4mrerDy/MI/Xix19MxuaD7K31aTnVRyMgFfjl8 74vQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AVTaRPNdH4H28ThIauzbluDtRdREYlgrvafhqSkzDFM=; b=MpxcwkRsKLUTleBU7BnAqncgX6qo20NuSqKp7EQLLKtN8r9Rof9qKC5J0V0nePqHX9 wgwHFIAh+AJ8yTmiMboJaTiyO3ADtV3JHrLSCrIxOLp9WtvjBTih+NCtG/HyV0Nvwcv5 iwpMoPgAs4mfufp0512bofeg/GZTwm8jInQTCkNTPgniP3bQeNNAL8txlSpf5vNZYNv2 6UrWExJuP09WgUdNZRHMzEuqq5jgsVedGouTYCAKq1YYFM67nSpHbVWJqqc/dF08HL/r kDTyY8uXQYoUpYXSn4oOsCzyeQ1+GqdJs3hPVTBDb9x23WJpZRKRpey59vFJAfc+ecl9 uNrA==
X-Gm-Message-State: APjAAAV1CnUBdC36E3VBeHSUM+lIc3bBkw3rXgRtwxChUPn3VZFKPTfy 3eDFABa+jOg5wi9FWHzeefjigNYenfvG0Lw6RGw=
X-Google-Smtp-Source: APXvYqzMeZg1Tbm68LYZlk98ATdlpmowvS2qj6uLhQRhD/rbFYic3HI+OyDtYXQnme3f5NYFSxsHsikDlSb9zU+BU8M=
X-Received: by 2002:ac8:1e13:: with SMTP id n19mr4661237qtl.384.1575492611130; Wed, 04 Dec 2019 12:50:11 -0800 (PST)
MIME-Version: 1.0
References: <CAFU7BAR1JLUZps=CAqJfeQtUf-xQ88RYvgYrPCP+QP0Ter7YFg@mail.gmail.com> <E03BBE6C-3BED-4D49-8F79-0A1B313EFD9D@apple.com> <28594.1575483729@localhost> <7ac18a46-31d9-74cc-117a-0fd908413aac@gmail.com>
In-Reply-To: <7ac18a46-31d9-74cc-117a-0fd908413aac@gmail.com>
From: Jen Linkova <furry13@gmail.com>
Date: Thu, 05 Dec 2019 07:49:59 +1100
Message-ID: <CAFU7BASH_cqtG47+nwJTtc8o7vZBjgPde47eO-mU=TbctLUiiw@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: V6 Ops List <v6ops@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/ZbO4XuQ7hOXKA04G4y2UeCK_G1E>
Subject: Re: [v6ops] IPv6-Only Preferred DHCPv4 option
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Dec 2019 20:50:14 -0000

On Thu, Dec 5, 2019 at 6:53 AM Brian E Carpenter
<brian.e.carpenter@gmail.com> wrote:
>
> As an ex-author of an ex-draft that suggested using IPv6 to tell hosts to avoid IPv4, I'm curious to know whether a draft that suggests using IPv4 to tell hosts to prefer IPv6 will also be accused of being an operational nightmare.

I hope not and let me explain why I have that hope ;)
AFAIR the main issue with using IPv6 to signal to the host 'pls turn
of IPv4' was that many IPv4-only networks might not have IPv6 security
in place. So an attacker can use IPv6 to a)turn off IPv4 and b) break
IPv6 by sending a rogue RA.

What this draft proposes is to use DHCPv4 to signal to the host 'pls
turn of IPv4' . The same protocol, not IPv6. So there is a shared fate
here - it the network allows rogue DHCP servers then IPv4 is doomed
anyway.  But it's all is working over IPv4, no IPv6 involved.


> On 05-Dec-19 07:22, Michael Richardson wrote:
> >
> > Tommy Pauly <tpauly@apple.com> wrote:
> >     > Thanks for posting this draft! I find it to be both a well-written document, and a great solution.
> >
> > As an author, thank you.
> > I think that this document grew quickly from hallway discussion at IETF106.
> >
> >     > As a client OS vendor, I think this would be easy for the client hosts
> >     > to implement, and we'd likely see a scenario in which pretty quickly,
> >     > most modern mobile devices and laptops would support this, and we'd end
> >     > up with using v4 on networks only for more "legacy" devices.
> >
> > A question that we had was whether or not hosts in a IPv6-mostly network
> > should configure IPv4-LL addresses in order to speak to legacy-v4-only hosts.
> >
> > The DHCPv4 option has a payload value that can be returned with information.
> > Right now, it's a boolean: if the option exists the network is ready.
> > We have considered two things:
> >
> > 1) We could put a time at which the host should recheck for v4.  This avoids
> >    making mis-configuration of IPv6-mostly networks permanent.  The question
> >    is not whether such a recheck timeout should exist (it must); but rather
> >    whether we should allow it to be configured in the option, or if we can
> >    just suggest some implementation local value.
> >
> > 2) Whether or not IPv4-LL (169.254.0.0) addresses should be configured or not.
> >    We could make this an option in the payload here as well.
> >
> > We wind up with four classes of v4-hosts:
> >
> > 1) IPv4-only legacy hosts which do not speak IPv6 at all.
> >    (The old printer in the corner, a whole plethora of stupid Web-Connected IoT devices)
> >    Some might not even have IPv4-LL addresses though!
> >
> > 2) Dual-Stack hosts do not understand this option.
> >    They have IPv4-LL and IPv6-LL addresses as well as IPv6 GUAs and ULAs, so
> >    they can talk to any host on the network.
> >
> > 3) Dual-Stack hosts which have an operational need for IPv4 that is not
> >    satisfied by NAT64, and which therefore either do not include this option,
> >    or for which the network is aware of their need, and does not answer with
> >    the option set.
> >
> > 4) Dual-Stack hosts which turn off their IPv4.
> >    Do they keep IPv4-LL so that they can talk to (1)?
> >
> > [5) IPv6-only capable hosts which never speak IPv4]
> >
> > --
> > ]               Never tell me the odds!                 | ipv6 mesh networks [
> > ]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
> > ]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [
> >
> >
> >
> > --
> > Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
> >  -= IPv6 IoT consulting =-
> >
> >
> >
> >
> > _______________________________________________
> > v6ops mailing list
> > v6ops@ietf.org
> > https://www.ietf.org/mailman/listinfo/v6ops
> >
>
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops



-- 
SY, Jen Linkova aka Furry