Re: [v6ops] IPv6 link-local traffic questions

Gert Doering <gert@space.net> Sat, 14 March 2020 08:40 UTC

Return-Path: <gert@space.net>
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 711DE3A0996 for <ipv6@ietfa.amsl.com>; Sat, 14 Mar 2020 01:40:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham 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 2mkdsaGO1aHF for <ipv6@ietfa.amsl.com>; Sat, 14 Mar 2020 01:39:59 -0700 (PDT)
Received: from mobil.space.net (mobil.space.net [IPv6:2001:608:2:81::67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14F4B3A0958 for <6man@ietf.org>; Sat, 14 Mar 2020 01:39:58 -0700 (PDT)
X-Original-To: 6man@ietf.org
Received: from mobil.space.net (localhost [IPv6:::1]) by mobil.space.net (Postfix) with ESMTP id 8670341B8A for <6man@ietf.org>; Sat, 14 Mar 2020 09:39:56 +0100 (CET)
X-SpaceNet-Relay: true
X-SpaceNet-Relay: true
X-SpaceNet-Relay: true
X-SpaceNet-Relay: true
X-SpaceNet-Relay: true
Received: from moebius4.space.net (moebius4.space.net [IPv6:2001:608:2:2::251]) by mobil.space.net (Postfix) with ESMTP id 660614194A; Sat, 14 Mar 2020 09:39:56 +0100 (CET)
Received: by moebius4.space.net (Postfix, from userid 1007) id 49071108079; Sat, 14 Mar 2020 09:39:56 +0100 (CET)
Date: Sat, 14 Mar 2020 09:39:56 +0100
From: Gert Doering <gert@space.net>
To: Gyan Mishra <hayabusagsm@gmail.com>
Cc: Jen Linkova <furry13@gmail.com>, 6man <6man@ietf.org>, V6 Ops List <v6ops@ietf.org>, Toerless Eckert <tte@cs.fau.de>
Subject: Re: [v6ops] IPv6 link-local traffic questions
Message-ID: <20200314083956.GS50230@Space.Net>
References: <20200312000016.GO54522@faui48f.informatik.uni-erlangen.de> <CAFU7BAT-LP5TC9dpYw+5j8T8H_8XMF=tcY-Qsbg5=MOgUYNk+A@mail.gmail.com> <CABNhwV1uCFHCO9r3NK7QeqZ4gvrquoD_534LXoykaf59S48rpA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CABNhwV1uCFHCO9r3NK7QeqZ4gvrquoD_534LXoykaf59S48rpA@mail.gmail.com>
X-NCC-RegID: de.space
User-Agent: Mutt/1.12.2 (2019-09-21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/7Kx2GJB_8e2KUA8huwP4FPGy9yo>
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: Sat, 14 Mar 2020 08:40:02 -0000

Hi,

On Sat, Mar 14, 2020 at 02:07:34AM -0400, Gyan Mishra wrote:
> I always wondered why RFC 4862 states that ND & RD packets have TTL 255.
> We have run into so many PSIRT bugs with ND which makes it more problematic
> having the TTL 255.

Read what has been written in this thread.

On the *receiving end* you MUST filter on TTL=255 for ND packets, to ensure
that these packets can never be send from an off-link node.

Consequently, you MUST send with TTL=255, so that the filter on the receiving
end can work.

> Since ND & RD packets would always be local scope in your response to
> Toreless you mentioned that GTSM that ND using 255 is kind of an example of
> GTSM in the sense that the TTL is set to 255 for a direct neighbor
> adjacency.  I think though the security issues of TTL 255 with ND/RD
> packets seem to make security a bigger issue then just leaving TTL=1.

You do not seem to understand the security issues involved :-)

Gert Doering
        -- NetMaster
-- 
have you enabled IPv6 on something today...?

SpaceNet AG                      Vorstand: Sebastian v. Bomhard, Michael Emmer
Joseph-Dollinger-Bogen 14        Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen                 HRB: 136055 (AG Muenchen)
Tel: +49 (0)89/32356-444         USt-IdNr.: DE813185279