Re: END SID Without SRH

Mark Smith <markzzzsmith@gmail.com> Wed, 12 June 2019 00:59 UTC

Return-Path: <markzzzsmith@gmail.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 569D21200B8 for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2019 17:59:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.498
X-Spam-Level:
X-Spam-Status: No, score=-0.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 W8MIkSjKyzDv for <ipv6@ietfa.amsl.com>; Tue, 11 Jun 2019 17:59:45 -0700 (PDT)
Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 449311200B5 for <ipv6@ietf.org>; Tue, 11 Jun 2019 17:59:45 -0700 (PDT)
Received: by mail-oi1-x22d.google.com with SMTP id m202so10426464oig.6 for <ipv6@ietf.org>; Tue, 11 Jun 2019 17:59:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1jUrJ+74lXlBpbcwH9rgpQH/7WyLygIT98MNtdOXaVU=; b=k58Qp3DkbxWi/4YkSFA245jqZikYqY730pNNbeJqibVxi4srSbT+gP9Yf2rb5QNwtv 72vtEdqypJzwp6nwVNt47uqweNlHZZyfPP0pBYHX0auWyPpHkWegdcG70e8/muh9xo4m +StpQ2abmI1tZg0dLRLMioTOsrjBNtvekN76lTJwC3GFh9NqU2ZJ7GY4uVK7GF2dpAYv vNs/TEWPT7gqazmnYW+nMlOhP59z2aDVb0i6OGDg+//0qs3hIisPd8xdDkS4Cr8vbAFY Iu1fHX+LB0HWf5ilmLapMWcjy9NCqPOcMVZ4UwuU6ByFy7dU7rH3nT6CD6x83BtN+WU6 A7xA==
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=1jUrJ+74lXlBpbcwH9rgpQH/7WyLygIT98MNtdOXaVU=; b=mh2HAxlYM27wNUQU0FOIoTTNlokawZ94S8W657HVrtIxD6ZuPAHuzV8ad85YoO0sFz KypJVLY43ASB+tIzBElhfi/qJF5M5WTqb2MX0a5e6BcSinOybmNbt+/eL5VxEScGQtJ6 JC00OEK2OT2andytNy0zFL45aPdfVEoQddNkIq23fGwA20T/u126eRVIv3N78T7YFODI hJ3g7e82mpdShs/vYxzY0isDEBS95q/CrHxGYw/Tx1VTvWnR7sBVp5wJ5OAmF2j9j9t9 DaAkbAemAQ8DvTmWsd5eNJUPNIo9Ms/pYdjwS5UFYgpKetvs7tAgbwP0cmDcnGsKdj+k Q4ig==
X-Gm-Message-State: APjAAAUQIF3V51IDTT89tEQbNJvABOGlpwwyj6NfQRUxoteSTdSSCngf Q8U/oEobbukSdX+a8hCL/PezeyFMpHiFNgdxpAAKPA==
X-Google-Smtp-Source: APXvYqwp9pcXFnGiFUb0XexBMF7AxUPYacu+YqqO8xUF/tOSWsivMWxhg21JY4+MK+hXC1ajGN4btwGFIRSyQjrp81o=
X-Received: by 2002:aca:ba56:: with SMTP id k83mr17444086oif.7.1560301184352; Tue, 11 Jun 2019 17:59:44 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB42456C75487CF9283A0ED1D0AE100@BYAPR05MB4245.namprd05.prod.outlook.com>
In-Reply-To: <BYAPR05MB42456C75487CF9283A0ED1D0AE100@BYAPR05MB4245.namprd05.prod.outlook.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Wed, 12 Jun 2019 10:59:32 +1000
Message-ID: <CAO42Z2y_D-xe+tX9n-KQYjnk5bkYXibO0Zs3E=JfAWWMZnJcSA@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: multipart/alternative; boundary="000000000000d606cb058b15ed67"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/s4UJW6vtcAPT1QZEjbE-ygtiPVc>
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 00:59:47 -0000

On Sat., 8 Jun. 2019, 00:27 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.
>

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.



Regards,
Mark.


>
> 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
> --------------------------------------------------------------------
>