Re: RFC4941bis implementations

Mark Smith <markzzzsmith@gmail.com> Thu, 02 April 2020 22:03 UTC

Return-Path: <markzzzsmith@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 B81AD3A09F8 for <ipv6@ietfa.amsl.com>; Thu, 2 Apr 2020 15:03:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.597
X-Spam-Level:
X-Spam-Status: No, score=-0.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, HTML_MESSAGE=0.001, 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 m1ofgHgd0PVT for <ipv6@ietfa.amsl.com>; Thu, 2 Apr 2020 15:02:59 -0700 (PDT)
Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) (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 6C9FF3A09FB for <ipv6@ietf.org>; Thu, 2 Apr 2020 15:02:58 -0700 (PDT)
Received: by mail-ot1-x342.google.com with SMTP id z5so5181075oth.9 for <ipv6@ietf.org>; Thu, 02 Apr 2020 15:02:58 -0700 (PDT)
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=sMrnczPYnTUtGkQTxHAyg8/HCecLg4EjX6pOFRIRadY=; b=TCxPzI0lk/tDMfD5MEeMEZMpKQZgCSkJ0i1p2Uh5CMQakFZIMcDXnCxosOtr9RoZSr 1o9iTp/1ZMOn4uipXH9TedJsMsTH/2kphj2Ys0vTCtbsT3WcGyW7BOC+pcB9X/oZCfjo mQ2GexK68P5cxGkzqG2peHIZgGcz3CNakBpIdRSydjjT0YX4U5FZnZe4bTMT2xrQ0yd0 MbhtYkamgSGNyJ8FZ/+J0u53dVCSN5cECy68D7zxvyEZ/jti82DHJU0IPcCwFQR6o8Yq +N3FPejkHYeqpReD0U0/OjVgqT7vYKFnjgkitwzLm9rppPbRNG0Cgfns+TbYC3ame54/ Jl9w==
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=sMrnczPYnTUtGkQTxHAyg8/HCecLg4EjX6pOFRIRadY=; b=bmBs/b3mrQlr04VT5PxMIT9FTjtWEIB685UUMrb4pbaTlhFpGoD/1xq/AAT3TTcHd0 fr2Gxp4pKMgGNrKCxBUl0mVETuoLWpVY90Ykl+oeX/QVqNOTKLIg0YLnDBWFGIWqXIWj 5ynhhp2XbOIunY/ACBNP2/sJSztClCP0IjNFQDLQVtWchij/skAojy/EVSHivl/GGCXo zpVIoRtQ/NFm2vntXXIaBDWa01X+W9k/Y0o/dKDyHFb5g4Cn1//RDpqEG1ZmNGfKBRmx 7nfMbz4LGsw+chv2opjkf/TYqoHcfuiTfMOY+JYnWpf0i8DoPTKG8EH/F0XRu3F6Z3lZ +j3A==
X-Gm-Message-State: AGi0PuZKtr+3C/WQgLqxvJeObTLZHRES9ZqaGpnWlbx/t8j9Mpist9ea Qb/KLOb4hvgMF/gADgtkPbLUXxeoTXx3mWs0R84=
X-Google-Smtp-Source: APiQypL6W8yq9j+OyP62J1mHhDhapFbCW+cHY9NiEq6X7v3pPT//Wl8BCSaTmrv9tWAwDwUTdk1S4P3ZOEqwqMcFNOc=
X-Received: by 2002:a4a:9c86:: with SMTP id z6mr4599358ooj.68.1585864977299; Thu, 02 Apr 2020 15:02:57 -0700 (PDT)
MIME-Version: 1.0
References: <7d65f86a-7a82-6139-b455-a27046496c52@si6networks.com> <af621915-ad9d-eb89-01d7-6ec7c5dfdd5e@gmail.com> <20200402201140.4ohxhod3oa7fah3i@imap.narrans.de>
In-Reply-To: <20200402201140.4ohxhod3oa7fah3i@imap.narrans.de>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Fri, 03 Apr 2020 09:02:46 +1100
Message-ID: <CAO42Z2yRpPZVaqV0Q=k7u6WQbJNSt=oRGW-hjSNnp0uBDhgLWQ@mail.gmail.com>
Subject: Re: RFC4941bis implementations
To: Florian Obser <florian@openbsd.org>
Cc: Alexandre Petrescu <alexandre.petrescu@gmail.com>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a23ccc05a255f673"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/l4pLRf071hVfVhFPf80Q7_5Mi6I>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 02 Apr 2020 22:03:01 -0000

On Fri, 3 Apr 2020, 07:12 Florian Obser, <florian@openbsd.org> wrote:

> On Thu, Apr 02, 2020 at 09:09:26PM +0200, Alexandre Petrescu wrote:
> > Le 02/04/2020 à 19:26, Fernando Gont a écrit :
> > > Folks,
> > >
> > > FWIW, I produce a patch for Linux kernel (net-next) that implements
> > > rfc4941bis:
> > > https://www.gont.com.ar/code/fgont-patch-linux-net-next-rfc4941bis.txt
> > > (up & running here).
> >
> > Does it work with a plen 65 in RA?
>
> I'm happy to report that slaacd(8) in OpenBSD does not care about the plen.
> It just forms a 128 bit random number and overwrites the front with
> the prefix.[1]
> So if you put your whole /29 onlink you can have 99 bits of entropy!
>

Or 1 bit of entropy if you use a 127.

Might be worth issuing a warning about the privacy properties of an RFC4941
address if the prefix length gets to long.

A false sense of privacy is probably just as bad as a false sense of
security.

Regards,
Mark.


> Cheers,
> Florian
>
> >
> > Alex, LF/HF 1
>
> 1) https://github.com/openbsd/src/blob/master/sbin/slaacd/engine.c#L1415
>
> --
> I'm not entirely sure you are real.
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>