Re: draft-bourbaki-6man-classless-ipv6-00

Brian E Carpenter <brian.e.carpenter@gmail.com> Sun, 04 June 2017 23:06 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF2B112E056 for <ipv6@ietfa.amsl.com>; Sun, 4 Jun 2017 16:06:02 -0700 (PDT)
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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham 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 HRLIct_HAKhz for <ipv6@ietfa.amsl.com>; Sun, 4 Jun 2017 16:06:01 -0700 (PDT)
Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (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 52470127B5A for <ipv6@ietf.org>; Sun, 4 Jun 2017 16:06:01 -0700 (PDT)
Received: by mail-pf0-x22a.google.com with SMTP id m17so74430695pfg.3 for <ipv6@ietf.org>; Sun, 04 Jun 2017 16:06:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Qg5KMarbbzI2vHng2L05JMUtbymogTI265SxWD5fSdg=; b=RFBKWApINLusDEAudO5aIenhkSElBiXEQqAdHxEnUadrS4SD6Tr1iY65CyOq3jHWRM G+vH8dhOdNwj/e55qg3pRmujR+novDvlAjh602vW7INyhcAoYWBob2kcvrYX113Z86ai DsPT9vuEdvzDpkoCNpWXWHffvV1fGpQ+Gzd4tdTd+Np8j1iz8Jub3mztAC2+JHVK3lJ9 mTlNe4WfRXDinuj/mIkQvT8U82JiIdsBhzQz+bok+czAd/lUAd3pKpKbiBXac8dIYdcR Tdpg9tbk81AzmtaosoBhrmNrHrVk/7TbeMesOUUB2kmWTva82cidrVQDEgCM0WVIyl5z 5EVQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Qg5KMarbbzI2vHng2L05JMUtbymogTI265SxWD5fSdg=; b=hHwRALUzbVizeLgOMwrGQmMSjsRBOnKr8godGqMs+lbDLMwX1ZzqMmJGiLqPqUBb5U hfo1DPanD1N5ouQV0EcMsJCQ9iTzGTJgiFKGVn+0RHv+15nPpEYJrpz89oqbPhulmv4d KCKtaq6Gs80xSpIG6D6SU9QBtJsZpXA2QpUCUtZB5ye4sPtyvhrOnovrUGaXCtD4rYbI qnLYX2GFNTu9LRMQE6lGYaOlpR/QYNAtGbyhP5YCi+3R+WCUI2BocXq1Ob5Dw65R2c4n P1B7AQ/rM/uzhB0WlCq6MvK/MSS0f1zeAgzIrYaC5hQkEsnE4+IQHQ5TJ1V8WmerwQeC wmoA==
X-Gm-Message-State: AODbwcBtAsPS+XFx7hZO7dBkV/+c8W2JtciqIdc6v/YTiZ+QnwEb3DaE 8tyY81Vib/hq7mA0
X-Received: by 10.84.224.6 with SMTP id r6mr11576804plj.132.1496617560628; Sun, 04 Jun 2017 16:06:00 -0700 (PDT)
Received: from ?IPv6:2406:e001:3d38:1:28cc:dc4c:9703:6781? ([2406:e001:3d38:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id 189sm22471004pgi.66.2017.06.04.16.05.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Jun 2017 16:06:00 -0700 (PDT)
Subject: Re: draft-bourbaki-6man-classless-ipv6-00
To: Ca By <cb.list6@gmail.com>, Lorenzo Colitti <lorenzo@google.com>, Philip Homburg <pch-ipv6-ietf-4@u-1.phicoh.com>
Cc: IETF IPv6 Mailing List <ipv6@ietf.org>
References: <20170602141112.x64nleqclygz7dwd@Vurt.local> <20170602141259.GD30896@gir.theapt.org> <CAKD1Yr0DtQYvCYLQexhXe_nhb5rjeyhnB4bCveqyO5Xbuwdg1A@mail.gmail.com> <CAKFn1SEdjhsQ3tKPZdbdfF4ArDzw-FZfjQT68gV55Fc-5vzBvw@mail.gmail.com> <CAKD1Yr3ppM0UF8HoN8PgS7F0iEmK26ebiuJK=tkAdZnuLWpkZg@mail.gmail.com> <CAKFn1SHASt34ihJmGN0iRFQQzLTMspZfxXHgBjBatXXcRYF4cw@mail.gmail.com> <20170604093119.nt733rb3ymmjssww@Vurt.local> <m1dHTLx-0000DcC@stereo.hq.phicoh.net> <CAKD1Yr0ZZwRar6D-2bkXBKPYehqqW99+BMtDOjyovR8WDXKzxw@mail.gmail.com> <CAD6AjGTjikAWutcenW8qn7OW8kPM9c_x_yDUy5vQxJmXKL85dg@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <91c3c0f4-eb8b-cdf7-b9c9-7d1eecb7fe64@gmail.com>
Date: Mon, 05 Jun 2017 11:05:54 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CAD6AjGTjikAWutcenW8qn7OW8kPM9c_x_yDUy5vQxJmXKL85dg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/G99uGcTNtdiyhJKCwZxxqOov1ls>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Jun 2017 23:06:03 -0000

On 05/06/2017 02:00, Ca By wrote:
> On Sun, Jun 4, 2017 at 6:10 AM Lorenzo Colitti <lorenzo@google.com> wrote:
> 
>> On Sun, Jun 4, 2017 at 8:05 PM, Philip Homburg <
>> pch-ipv6-ietf-4@u-1.phicoh.com> wrote:
>>
>>> Moving on to a network architecture point of view, when using pseudo
>>> random
>>> IIDs there will be a longest prefix that can be supported. Lets say for
>>> the
>>> sake of argument we can support of /96.
>>>
>>> Then the effect will be that if in the future hosts support SLAAC upto /96
>>> then we are back at the same hard limit. We have just moved be boundary by
>>> 32 bits.
>>>
>>
>> That's *exactly* right.
>>
>>
>>> There is no reason to expect this to change if we make longer prefixes
>>> possible.
>>> It is just that end users will then end up with a /96 and find that they
>>> can't subdivide it any further.
>>>
>>
>> Right. So then someone will say, "we need to extend the network at the
>> edges!". And we move the boundary again, to /112. And then to 120, and then
>> to /124, until we get to one /128 per device. But long before that, a)
>> SLAAC is dead because there's not enough space in the prefix to form a
>> random IID, b) the hosts start doing NAT because they don't want to waste
>> their time. We now have 128-bit IPv4. Except that at least in IPv4, address
>> shortage was real. In IPv6 it isn't.
>>
>> Or, if we remove the boundaries altogether, we end up with /128 straight
>> away, because operational consistency. We now have 128-but IPv4 again.
>>
> 
> Assuming the above path is true ....
> 
> A 64 bit random iid is a very real security advantage.  i will point out
> that things like the recent "wannacry" worm (like many worms before it)
> relied on dense guessable host ip addressing scheme that make address
> scanning effective.
> 
> Making small guessable prefixes increases discoverability and decreases
> security. Please update the security section to include this massive
> regression in security  posture for ipv6 that favors known and commonly
> used network scanning malware techniques of ipv4 will now be used in ipv6
Yes. Any IPv6-over-foo that proposes a boundary at, say, /96 would have to
explain why 32 bits of pseudorandomness is enough. And we could perfectly
well have a guaranteed security DISCUSS on boundaries beyond some
magic number. Maybe that number would even be /64, but I think /80 is
more likely. None of that is the point. The point is to establish
that routing is classless and /64 is a parameter of specific
addressing schemes.

Probably the draft is too long, which obscures that simple message.

     Brian