Re: END SID Without SRH

Tom Herbert <tom@herbertland.com> Wed, 12 June 2019 15:25 UTC

Return-Path: <tom@herbertland.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 0F24D12021B for <ipv6@ietfa.amsl.com>; Wed, 12 Jun 2019 08:25:24 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 U_L3UWIklc1q for <ipv6@ietfa.amsl.com>; Wed, 12 Jun 2019 08:25:20 -0700 (PDT)
Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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 9CCEC120072 for <ipv6@ietf.org>; Wed, 12 Jun 2019 08:25:20 -0700 (PDT)
Received: by mail-ed1-x536.google.com with SMTP id p15so26335897eds.8 for <ipv6@ietf.org>; Wed, 12 Jun 2019 08:25:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GrQWcQObJAvKQLemY9F7H0t36SqOLC15lXsvIbygY9I=; b=YZdeD+DRoSNgm3zRlgREnzWaousixbs6OYTSOAJGqtsme0g/AQMcs6rIwTzpz41Yix FDOOjT3yj6aUZR3EszEmk8cDHJksUYNUSQNMmk+Gh2/XJm7Qhr8W1aqUtc87B0jwo2N8 lSHyJ+uAxm0szaO7yqDb8oK7WnD1IV1QbbV2LsR8H33fUciSHjgdgojfTWOhZCQwLRzw iJpFE1nfNnBspA7hwi7al8Qw2eugQlHptZPor+phAMQOsXtKEi9AEDNr4RKVZjK9XKX9 ze69NHzx4BgBXnDx0mNiX6eNHpSRWprH2pRUf9zsJHoilD7WgRPZMtncVsMIPJA/+w9A EJRg==
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=GrQWcQObJAvKQLemY9F7H0t36SqOLC15lXsvIbygY9I=; b=TIsI73QDepK13AkHi6DGP89p7G9b9rrzObHIi9nsX/gr5Nm3wI8Hj7CXdzJkZ04IIN xZDcs5TuMy1yNxtT3OBbQyu4eOEzn14DD/4g9Xy/3Dz5+XsAqPmqQr5P0mzJ05oXaXQu C5fAY9wSOhbtmoiysJa0pTC1I1rUGrboqPXgfHDW4RHpRqF66A6UCGZEQlrK2oH5J+kk bboeUeIIxAZnFESfc/cKkPw2V0N+WIIUs6nMb4kJvTOG3/l1WR/ZMMMIfVCGXxcmlf0c T3kh5Bt5kR6Ats0bEdgHx4ZhqgYwD22nuKrkMxLNbhL0ccJsHeM2yboypNwGaQqu65xX WgEQ==
X-Gm-Message-State: APjAAAX/kGScNQlXgwupDCRm3bQEElq7QdjG5Xn/yv/X/rYLV0d4HBAO XTqy5IHmoQSc6gMcBmLM5VZIfXXCKIM+qCfzhwmgXg==
X-Google-Smtp-Source: APXvYqxc0+OtGBGomWjhimgjNIWBfFdCWY8PgLPwtCgdfsAVIKxYDaFm5ndGwNSTWvXStQJv2CGhYGqGwxsiythN0eA=
X-Received: by 2002:a17:906:fcb8:: with SMTP id qw24mr53569742ejb.239.1560353118215; Wed, 12 Jun 2019 08:25:18 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB42456C75487CF9283A0ED1D0AE100@BYAPR05MB4245.namprd05.prod.outlook.com> <CAO42Z2y_D-xe+tX9n-KQYjnk5bkYXibO0Zs3E=JfAWWMZnJcSA@mail.gmail.com> <3030A68F-6CE1-4179-930C-D60BEB73063A@employees.org> <CAO42Z2yLkCRNXKp8KKnqh8VRRo6p1dx4h0-gyLBFZ=Jq0xQj2w@mail.gmail.com> <0C40BEFF-B050-40A1-BCB7-F76ADF18E3E0@employees.org>
In-Reply-To: <0C40BEFF-B050-40A1-BCB7-F76ADF18E3E0@employees.org>
From: Tom Herbert <tom@herbertland.com>
Date: Wed, 12 Jun 2019 08:25:06 -0700
Message-ID: <CALx6S34s1vtntvpV49mzC+iLhwoGS5r6tmnx5pRtBJrywFUX4w@mail.gmail.com>
Subject: Re: END SID Without SRH
To: Ole Troan <otroan@employees.org>
Cc: Mark Smith <markzzzsmith@gmail.com>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, 6man WG <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/OJqZI52PGO97omV5cyVZQ6VLkSk>
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: Wed, 12 Jun 2019 15:25:24 -0000

On Wed, Jun 12, 2019 at 2:08 AM Ole Troan <otroan@employees.org> wrote:
>
> Mark,
>
> > > Per RFC 8200's definition of host and router, the packet has arrived at the destination host, so the TCP segment should be handed up to the TCP layer for processing, and if there is no matching TCP port, a TCP reset is sent back to the source.
> > >
> > > I don't think any other processing would be compliant with RFC 8200, and operationally it would be very confusing - the value in the packet's destination address field isn't being used by a device holding that address as a destination address.
> >
> > Traditionally an address identifies an interface (or set of interfaces).
> > But we use addresses in many different ways. Ranging from NAT64 IPv6 prefixes that represent the IPv4 Internet to IPv6 addresses being used to represent data blocks in a video.
> > In userland networking one could imagine an IPv6 address representing an individual TCP application.
> >
> > Certainly. The way anycast is commonly used is an example. Multicast is too because groups in many cases represent applications or services rather than just the destination nodes.
> >
> > The thing is that in all (compliant) cases, the destination address identifies the point where forwarding, using the IPv6 fixed header, towards the DA address stops, and next layer up processing starts.
> >
> > So in Ron's example (packet with an END SID DA, no extension headers at all, NH of TCP), if the next header in the packet is a TCP header when it arrives at the DA that is the END SID, then TCP processing is what happens to the packet next.
> >
> > If SR is saying it doesn't, then SR is describing processing rules that don't comply with RFC 8200, because SR would be ignoring the value in the packet's Next Header field.
>
> Take my example of user-land networking, where I give my BGP application an IPv6 address.
> That packet is forwarded to the application itself (let's assume it has a TCP library implementation).
> It doesn't really make any sense to give that packet to the host's TCP stack. It wouldn't know what to do with it.
> I _think_ the same thing applies with SIDs.
>
Ole,

A host can always drop packets it receives and still claim
correctness. The problem here is the new ICMP message that can be sent
in response to a plain IPv6 packet. The ICMP error is segment routing
specific, however it can be sent to hosts that do not support segment
routing. The error is at best confusing to those hosts as well as any
legacy network monitoring that captures ICMP errors.

An alternative is to either just drop the packet without sending the
error, or maybe send an existing error-- possibly Parameter Problem
for Unrecognized Nexthdr, or Destination Unreachable with code 1 or 4.

One nit, a request for a new ICMP Parameter Problem code should be
mentioned in the IANA considerations section.

Tom

> Best regards,
> Ole
>
> >
> >
> > My understanding (which might be flawed, mind you) is that the SID is an "forwarding instruction" or represents a service. It is not the address of an interface point of attachment.
> >
> > I'd generally describe these types of addresses as routeable service or function addresses.
> >
> > They're not unicast addresses because it is valid to have multiple devices in a network have them.
> >
> > They're not (normally) multicast addresses, because packets aren't intended to be duplicated at various junctions within the network.
> >
> > I think they're anycast addresses or very close to anycast addresses. Identify a service, function or application layer protocol within the address, valid to exist on one or more nodes in the network, but only to be delivered to one of them.
> >
> > Regards,
> > Mark.
> >
> >
> > Ole
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------