Re: [v6ops] [homenet] Tsinghua work on source/destination routing

神明達哉 <jinmei@wide.ad.jp> Fri, 08 November 2013 01:57 UTC

Return-Path: <jinmei.tatuya@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 DC56321E812A; Thu, 7 Nov 2013 17:57:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.222
X-Spam-Level: *
X-Spam-Status: No, score=1.222 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, FM_FORGED_GMAIL=0.622, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dLzrVN6gANzW; Thu, 7 Nov 2013 17:57:40 -0800 (PST)
Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 05ADB11E8202; Thu, 7 Nov 2013 17:57:39 -0800 (PST)
Received: by mail-we0-f174.google.com with SMTP id p61so1350492wes.19 for <multiple recipients>; Thu, 07 Nov 2013 17:57:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=zgVjAlROUt9KGVRQGhItVS8zPr5ljZRGBTbib1QjHiM=; b=rJHer06FyrS1ewUomJvoHJQnYcn5vTvLAFBMC17BKQF6wuoE02pUY8KXTM8NBjc8jK Usf5oWwelDe+4jfqU0JBl3ZUbc8LPtOOBbfGVow9For3wPZ1P3Uq4Jj9ReJAqiXmDezU 31ZEtlUq2GAp/ngFSRjTZoJ6T7pX+eT6c2DjzI3kAENbNyLt5D+d/wbYaxC7PnBsULNU /CREWzcxRgYXlzp6MHyWDIjbd5PQApe0WRXdKnqhttmztuYMFY2q1iqAVhefQdgF04Yl NHLcmlVgbTVoFooetx1TIE+BXLLMvjtvDzfIuUV0Nr6c2r+wOCFzwGzLKAOLQHjrMuzl LEWQ==
MIME-Version: 1.0
X-Received: by 10.180.208.49 with SMTP id mb17mr346685wic.64.1383875859119; Thu, 07 Nov 2013 17:57:39 -0800 (PST)
Sender: jinmei.tatuya@gmail.com
Received: by 10.194.120.167 with HTTP; Thu, 7 Nov 2013 17:57:39 -0800 (PST)
In-Reply-To: <27F73F5B-6095-43E1-ADBE-2E05E8071E3F@cisco.com>
References: <F7C18630-1964-4AFD-8549-559D7582B114@cisco.com> <CAFU7BAQT=+B==8pvOYSsWnCvcMEVzy2nh8dAZZXHzYjwmedRpg@mail.gmail.com> <CAJE_bqfU8C+Tc2rQCZ=vpmfTDdOiGz-sd-G4QNBpHdwXDz9bqQ@mail.gmail.com> <27F73F5B-6095-43E1-ADBE-2E05E8071E3F@cisco.com>
Date: Thu, 07 Nov 2013 17:57:39 -0800
X-Google-Sender-Auth: IRpez4kP4GKGXxyaI24a-YCdkQY
Message-ID: <CAJE_bqdJkwiYRrQGAtuhkaPOMFwPM=CHQbQXZBH7_swAKPJ6xA@mail.gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
To: "Fred Baker (fred)" <fred@cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: "v6ops@ietf.org WG" <v6ops@ietf.org>, Routing WG <rtgwg@ietf.org>
Subject: Re: [v6ops] [homenet] Tsinghua work on source/destination routing
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Fri, 08 Nov 2013 01:57:41 -0000

At Thu, 7 Nov 2013 18:56:12 +0000,
"Fred Baker (fred)" <fred@cisco.com> wrote:

> >> I'm seeing plenty of packets from link-local sources to global
> >> destinations which means that:
> >> 1) there are hosts with broken default address selection
> >> AND
> >
> > (Probably an off-topic in this context but) this is not necessarily
> > accurate.  If a host only has a link-local address but somehow knows
> > the interface to send packets to a global destination, it would be
> > able to send packets with source being link-local and destination
> > being global, and validly (not breaking RFC 6724) so.  I believe it's
> > more likely to be a broken network configuration than a broken host
> > implementation.
>
> I suspect it's some of each. The host should, I should think, set
> the hop limit to one on any packet that is to a link-local address,

To make it sure: this is about the case of packets "from" a link-local
address.

> to ensure that the packet is not repeated by a broken router (apart
> from protocols that ask to have it set to 255 and have the receiving
> host check for that value). Also, upstream network's BCP 38

I'd note, from purely architectural point of view, that it's totally
valid a packet that has a link-local address is forwarded, as long as
the packet remains in the originating link zone.  That would be a very
unlikely case in practice, but can still happen, e.g., when a host
sends all packets to a router, expecting the router to forward it back
to the same link toward the destination.  RFC 4007 mentions such
cases.

That said, I see it should be a very rare case except for
implementation or operational errors.  So it may make sense to
introduce something similar to the IPV6_MULTICAST_HOPS socket option
defined in RFC 3493 and define its default value to be 1 for narrower
scopes.

> implementation sounds suspect, and I'm with Jen in wondering why a
> router forwarded the packet in the first place.

It's not surprising to me since the source address is not needed as
long as routing decision is only made based on the destination
address.  I noticed one popular router vendor didn't implement this
restriction of RFC 4007 correctly many years ago and even reported it
to the vendor, but (assuming it's still not fixed) just being "non
compliant" is probably not convincing enough for them to introduce
additional overhead in their forwarding logic.

--
JINMEI, Tatuya