Re: [v6ops] IPv6 link-local traffic questions

Toerless Eckert <tte@cs.fau.de> Thu, 12 March 2020 21:36 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
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 9697D3A053F; Thu, 12 Mar 2020 14:36:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.87
X-Spam-Level:
X-Spam-Status: No, score=-0.87 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 JEfVGlj5rS7R; Thu, 12 Mar 2020 14:36:08 -0700 (PDT)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:40]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 857DA3A04BB; Thu, 12 Mar 2020 14:36:07 -0700 (PDT)
Received: from faui48f.informatik.uni-erlangen.de (faui48f.informatik.uni-erlangen.de [131.188.34.52]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id CADD954842F; Thu, 12 Mar 2020 22:36:01 +0100 (CET)
Received: by faui48f.informatik.uni-erlangen.de (Postfix, from userid 10463) id C41F0440040; Thu, 12 Mar 2020 22:36:01 +0100 (CET)
Date: Thu, 12 Mar 2020 22:36:01 +0100
From: Toerless Eckert <tte@cs.fau.de>
To: Mark Smith <markzzzsmith@gmail.com>
Cc: 6MAN <6man@ietf.org>, v6ops list <v6ops@ietf.org>, bier@ietf.org
Subject: Re: [v6ops] IPv6 link-local traffic questions
Message-ID: <20200312213601.GB34894@faui48f.informatik.uni-erlangen.de>
References: <20200312000016.GO54522@faui48f.informatik.uni-erlangen.de> <CAO42Z2zfO9rA8NWfvNgBpWeJgLpuONr39Z2RgForyXCF=PrTrw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAO42Z2zfO9rA8NWfvNgBpWeJgLpuONr39Z2RgForyXCF=PrTrw@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/i7as432loq04tgH-P0HZXMOvfWw>
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, 12 Mar 2020 21:36:10 -0000

On Thu, Mar 12, 2020 at 12:18:32PM +1100, Mark Smith wrote:
> RFC4007  allows packets with link-local destinations to be forwarded
> by a router, but only back onto the same link:

Oh, my favourite coffin nail RFC.

> "Thus, if a
>    router receives a packet with a link-local destination address that
>    is not one of the router's own link-local addresses on the arrival
>    link, the router is expected to try to forward the packet to the
>    destination on that link (subject to successful determination of the
>    destination's link-layer address via the Neighbor Discovery protocol
>    [9]).  The forwarded packet may be transmitted back through the
>    arrival interface, or through any other interface attached to the
>    same link."
>
> 
> I think in theory that could also mean forwarded to another router on
> the link that then forwards back again onto the link etc., so it is
> valid for a packet with a link-local destination address to have an
> initial Hop Count value that allows it to be forwarded by multiple
> routers, all limited to being forwarded within the same link.

So this behavior breaks both TTL=1 and RFC5082 packets.

Nice. This RFC is getting better every time i learn more of it.

> This draft might be useful, as it collects together and summarises
> information about using Link-Local Addresses (and is something I've
> been meaning to get back to updating, suggestions welcome):
> 
> How to use IPv6 Link-Local Addresses in Applications
> https://tools.ietf.org/html/draft-smith-ipv6-link-locals-apps-00

Nice.

Let me split that off.

cheers
    Toerless