Re: [spring] Spirit and Letter of the Law (was: Question about SRv6 Insert function)

Robert Raszuk <robert@raszuk.net> Thu, 05 September 2019 14:46 UTC

Return-Path: <robert@raszuk.net>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A33041208D2 for <spring@ietfa.amsl.com>; Thu, 5 Sep 2019 07:46:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 WCqSNG001vzc for <spring@ietfa.amsl.com>; Thu, 5 Sep 2019 07:46:35 -0700 (PDT)
Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (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 6708E120169 for <spring@ietf.org>; Thu, 5 Sep 2019 07:46:35 -0700 (PDT)
Received: by mail-qk1-x734.google.com with SMTP id z67so2304712qkb.12 for <spring@ietf.org>; Thu, 05 Sep 2019 07:46:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9oBxTF6/6IOTRI40weUQAY8euJf04JswaFtCXvYGxbI=; b=f79ZIvom99o4vLIaFYI9gvaRFaMZD8vQxJxZZsf5QXQv+8pFyl61I1eFDsxqBrnGQE +Zr+QF5ViKaUIwKJIRY/7fo/nJZ+YLqiHKhK5WbE4O4P56tNgL8VBro6agTEp5xXe8Le SFsjSN6YmcGVYB4B0VJgKrSKuvzq8VWA8IBhpTBTemGVFlkYP+/Q0hOYcjMl6vW4TgAM 0+WghkAVCqUI/pNAhnOk79DV3veRKChfrTKLQDBy5hr4bdDOCk4Ihg1GRRmVLFk0LHWM jc6/JDwrHo+X3ytCc81LB2YKbehxFuM76vxLfZMe7lNNIsPspqOJhVv+mkYSBKA5VScp BM8w==
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=9oBxTF6/6IOTRI40weUQAY8euJf04JswaFtCXvYGxbI=; b=S1o08DvPdxgDhS+xsKFUBttOdNgeIJwdq/0ctNSOBNLbv0i5EJ5EsFZQ27Mrwued++ OKrsQntopHB0HBmsEsb4AJTyG7LD/iTvTd2ycAxEKjbTOeEEMxzvjm/48GQWDZdryGth 7LTIs4a17QpzMIcQDzhHSG2muLu2A+AzP1GYJPPsBYqm5ivVrF4hJMUzhLNbE+hdKIdB +ipCU9V51Urzk/VEDLZ8EpZoLBDMqvNyA8Zoyvyg6QdYY25tUW/ClOJVFNppdkBFKSV8 8RbLIFrS2E2b1PIFlb7B/EUy1QVYib4ciIezhMgM7kQdhAZ1d+cZz7yS4TjThIyk2ERG uHMQ==
X-Gm-Message-State: APjAAAUPqtBjYCAmN6iFN1714MMbl7h3ymwnlCWC27y8SWPr82ji8fFc HAdLqBUdmG0RsRBEf7aR0DiKCnJoR/Cf16uYhzA9Rw==
X-Google-Smtp-Source: APXvYqxrtYCWTWhm+fCuMevUbq+tl+Focyvtu4lO8FxCdVviUf7gQWy4uGV8xJLRgEmSWVu4DT/S/WKDiSJNz7Cz7Q4=
X-Received: by 2002:a05:620a:1245:: with SMTP id a5mr3147544qkl.134.1567694794431; Thu, 05 Sep 2019 07:46:34 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB54637FEAE1518F83977D274FAEB80@BYAPR05MB5463.namprd05.prod.outlook.com> <538732E2-915B-4952-A439-F4678FCC21B2@employees.org> <4c6b2456-db05-0771-5b98-bfd9f07b220b@si6networks.com> <34AB9F0F-614B-45C2-BD84-7DD53A1D5188@employees.org> <ea9557e5-9025-db78-8862-18454dd549c3@joelhalpern.com> <5200FFA0-E2F1-4491-8D06-0DC6BF87F77A@employees.org> <cdc190f4-315f-f716-951c-6d4ba1f4888d@si6networks.com> <CA+b+ERn6KMGCboERKOMeKAwM3y=1p=sc8j2LnEGYa7h5mz_xxw@mail.gmail.com> <a9a0c0a1-a7fa-835c-1347-95a9f5ca6d1f@si6networks.com>
In-Reply-To: <a9a0c0a1-a7fa-835c-1347-95a9f5ca6d1f@si6networks.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Thu, 05 Sep 2019 16:46:20 +0200
Message-ID: <CAOj+MMFmMGGTmtgf+n3cdHeh4+oDR=z6++YmAEjb_=jtOtCvbw@mail.gmail.com>
To: Fernando Gont <fgont@si6networks.com>
Cc: Robert Raszuk <rraszuk@gmail.com>, Suresh Krishnan <suresh.krishnan@gmail.com>, "6man@ietf.org" <6man@ietf.org>, Ole Troan <otroan@employees.org>, "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000056b4670591cf6337"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/vgC_UEq4Iy406rzIRIFT7R8eUPk>
Subject: Re: [spring] Spirit and Letter of the Law (was: Question about SRv6 Insert function)
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Sep 2019 14:46:45 -0000

Quote from RFC8200:

   Extension headers (except for the Hop-by-Hop Options header) are not
   processed, inserted, or deleted by any node along a packet's delivery
   path, *until the packet reaches the node* (or each of the set of nodes,
   in the case of multicast) identified in the Destination Address field
   of the IPv6 header.


So now please provide the quote from RFC8200 or any other IPv6 RFC
that says explicitly:


"You only get to create EHs if you are sourcing the packets. Period."


While there I am still waiting for an answer to the other question ...

if IPv6 packets can be legally encapsulated or not. Is encapsulation

not an event of sourcing effectively a new packet with some payload ?


Many thx,

R.




On Thu, Sep 5, 2019 at 4:35 PM Fernando Gont <fgont@si6networks.com> wrote:

> On 5/9/19 17:28, Robert Raszuk wrote:
> >
> >
> >     3) Now there's at least one I-D in spring that ignores RFC8200, and
> >     proposes EH-insertion as if it was allowed, essentially circumventing
> >     RFC8200, and IETF consensus.
> >
> >
> > Incorrect. RFC8200 makes it black on white clear that insertion,
> > deletion and mangling is allowed in IPv6 if destination is yourself in
> > the packet's IPv6 outer header.
>
> You only get to create EHs if you are sourcing the packets. Period.
>
> Either you are sourcing packets -- and hence you are not doing insertion
> --, or you are not sourcing the packets, and hence are doing insertion.
>
> And EH insertion is prohibited by RFC8200.
>
>
> --
> Fernando Gont
> SI6 Networks
> e-mail: fgont@si6networks.com
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
>
>
>
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>