Re: END SID Without SRH

Tom Herbert <tom@herbertland.com> Tue, 11 June 2019 19:19 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 14698120169 for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2019 12:19:41 -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=ham 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 7Gfk0i74y3-k for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2019 12:19:37 -0700 (PDT)
Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (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 5120112015C for <ipv6@ietf.org>; Tue, 11 Jun 2019 12:19:29 -0700 (PDT)
Received: by mail-ed1-x535.google.com with SMTP id z25so21720516edq.9 for <ipv6@ietf.org>; Tue, 11 Jun 2019 12:19:29 -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:content-transfer-encoding; bh=oZH+yuFDIs/SFz6wcxacwkjUIF7s0DhzXhYcEXTOmkM=; b=EJ+/ikcXld/t91/cuJSFRIQtJ5W3eEHUgtGNyE98iAUBi2KjfDuYUs5hKZBBlVdqEE mKNQKAXjMiXy1KIfOJJs4mBQ07MfUcW+e8LXegfay7dBZLuRoQUFOGLFeUdpzj4/3EBa rJe1Ozu0Hws+Nuw1zs6pIVc+s5mSPGxkU2Sn5zwAiAnkqki0wGqvaYbfzO+N35l+9lWB RKyRSZOY9+xHl1zcRJqXkZXxRUfoBH1Fa5w8doRz/sHtbV2pORDTDNzNWa/l7WRgpc4U pwYkYjAV2G5OMJeJEl8EUKKND1cb2AExgl2tTvReLCIuMYm7vIPmXKj8yEIDYYEZRjLn ICKQ==
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:content-transfer-encoding; bh=oZH+yuFDIs/SFz6wcxacwkjUIF7s0DhzXhYcEXTOmkM=; b=eBQJS7rtTL1nnnpGwfbDdoVFkH7JBwQWAa8j/NmHMc9L8hp1zKyOVjaPG6vA05i3/0 CaCefYbi6wSQuS5CJI9PKAG5lPqETaMMPEUW3vxOenCiEr79Hiq/Dldgc6beG82L7CM5 ES9KxfBePXANbcmkzht06dfgMKwqktaav/Sond4NI5A6i4aKCHSXSA8GJ5TKNwB0bF8r Rot7CCOvcYdq3hRX3x0XjUaNh3tSsXcxOI96idLtbUN5ymqFAS8MDwjY0ZeA8m+LDcHX 8kO235Tvgu5YQAwX0kTxlhZeI1sqokbzc229PlYbpHzbc2wi8V6Y9aanARQEET13vtGC 0pRw==
X-Gm-Message-State: APjAAAW7cRMQpLx+iXZqc5r3gBivGUfgcLvrelbfcOz4LmfDfJRzl1Id cRYx7LNivDJzRzO7o9UjsRJgHbw9oyTpqz8i6KVPGKza
X-Google-Smtp-Source: APXvYqx7LCkQ9NxUHl4kIhXVvDxP0xY2f72if+FbNpLnWbNwjAFmhcHQ/opnjI+LLzM/VsXTIul2RDBK2rPQ5V+fXhg=
X-Received: by 2002:aa7:dad6:: with SMTP id x22mr7942925eds.122.1560280767717; Tue, 11 Jun 2019 12:19:27 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB42456C75487CF9283A0ED1D0AE100@BYAPR05MB4245.namprd05.prod.outlook.com>
In-Reply-To: <BYAPR05MB42456C75487CF9283A0ED1D0AE100@BYAPR05MB4245.namprd05.prod.outlook.com>
From: Tom Herbert <tom@herbertland.com>
Date: Tue, 11 Jun 2019 12:19:16 -0700
Message-ID: <CALx6S35g4AJ2gusKjLV=Up0WMDwc_DhMPiahg3Xcga0Eeim+ow@mail.gmail.com>
Subject: Re: END SID Without SRH
To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Cc: 6man WG <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/q-OnlnlNQC0AKBhllrLK502lkc8>
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: Tue, 11 Jun 2019 19:19:41 -0000

On Fri, Jun 7, 2019 at 7:26 AM Ron Bonica
<rbonica=40juniper.net@dmarc.ietf.org> wrote:
>
> Darren,
>
>
>
> This isn’t a blocker. Just a surprising behavior that never struck me before.
>
>
>
> Assume that an SRv6 router receives a packet whose destination address is an END SID. The packet does not contain any extension headers at all.
>
>
>
> If the next header after the IPv6 header is IPv4 or IPv6, the router removes the outer header and forwards the payload.
>
>
>
> If the next header after the IPv6 header is TCP, the router discards the packet and sends an ICMP Parameter Problem message back to the source.

Ron,

Extrapolating as to why you think this is surprising behavior (please
correct me if this is wrong), but as I read it, this would be true for
any transport protocol and allows the possibility of hosts that don't
even know what segment routing is to receive the parameter error. For
instance, if someone were just innocently pinging the router's
address, which happens also to be an END SID, the source of the ping
would get the parameter error. In that case, the host might not even
know what segment routing is and much less have any clue why its
getting a parameter problem pointing to the nexthdr field for an
otherwise simple IPv6 packet.

Tom

>
>
>
> Am I reading the spec correctly?
>
>
>
>                                             Ron
>
>
>
>
> Juniper Internal
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------