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

Robert Raszuk <rraszuk@gmail.com> Thu, 05 September 2019 14:28 UTC

Return-Path: <rraszuk@gmail.com>
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 85E48120855; Thu, 5 Sep 2019 07:28:21 -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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 VQ8Oh6kIRZml; Thu, 5 Sep 2019 07:28:19 -0700 (PDT)
Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (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 545AC120818; Thu, 5 Sep 2019 07:28:19 -0700 (PDT)
Received: by mail-pf1-x431.google.com with SMTP id q10so1887631pfl.0; Thu, 05 Sep 2019 07:28:19 -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=c+TjjnvnSbW5vx4ph3StJefxI/+tlXBX1sWa9AbH4nM=; b=ni+iJ6hOp2w15W+mxMSSEtAZ5HRpg//1uQXj+wTgKjbBAXD6lhgb1udsYW9luspeLE EHS9pLnQihWS5TYMWyMIBnQFMdpoPauM9LDtCgp5kSu2EfFro62SWsCzqVkex3rVVcjs Le9VfbXpwCIymL6ypG+9ViNrgwUdLTzozpkUG5C8B7NPrjE9Bs65DN6WxPYhe8266V3J s2gE2jYS1p1hB7vETk+q6zkPCqQC8pHzN876A1B3qCXOqpqheHZjqpuVpszuW+e1pW/Y GWuUMngnnuKCh7cv2JOGQqqi9irh4UyuRSNmJTVUDlN4hlV6zpwITjuWUWG2uZMXlg/t OPJg==
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=c+TjjnvnSbW5vx4ph3StJefxI/+tlXBX1sWa9AbH4nM=; b=Y3j+RzY+Ny40IPZ5cEgsU9MLaUCUKnkeLYNjtF1pwRb0yGpXfWv0bGBMHGkFlZutJX GEfSSJyA9yPh8UuCabPe60G6FvlhEV7N+RdSfsfwlvpcIsksoX/37pk59nIfGyXhStBg lAgsFhjMmry6cC3F+mSManiw2Y2+20Jh7OtXuHDGwzurnITiQ2mKAOjNZlY5exIFbRD8 YgLdvIR9Yht2j5x1YWvsjBCalivFtaTN56hR/ojZFAwTzR0PDhuf9ROb7fbjyt9T6O6c 2+Q1CcVz/9W5gQduXDyhSimquh/d7PdZisAyXwSRUPRZKT1kP/5hPHZuCGMGoQ9GInAc BwMQ==
X-Gm-Message-State: APjAAAWnWR/GvH5CKqtimSJetxW4dTA5ArTn4nlbFllOxiK6IZ/f2gR4 MMlsqTxNGvVGckt2eaoUkSmZEHWE6fFuLQuJnPE=
X-Google-Smtp-Source: APXvYqyx4QfKQiy1PYVxkdz9iV8uUIDqVAWLg8MB+IzYyFXQhpwY61g4+bX+3ZnVmEi2FRpcdyyqb42Fd3tkH+44LFg=
X-Received: by 2002:a17:90a:9bc5:: with SMTP id b5mr4187426pjw.107.1567693698363; Thu, 05 Sep 2019 07:28:18 -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>
In-Reply-To: <cdc190f4-315f-f716-951c-6d4ba1f4888d@si6networks.com>
From: Robert Raszuk <rraszuk@gmail.com>
Date: Thu, 05 Sep 2019 16:28:04 +0200
Message-ID: <CA+b+ERn6KMGCboERKOMeKAwM3y=1p=sc8j2LnEGYa7h5mz_xxw@mail.gmail.com>
To: Fernando Gont <fgont@si6networks.com>
Cc: Ole Troan <otroan@employees.org>, "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>, "6man@ietf.org" <6man@ietf.org>, Suresh Krishnan <suresh.krishnan@gmail.com>
Content-Type: multipart/alternative; boundary="00000000000001f50e0591cf22f0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/0lbkOf6PBrcKjJExFSbNlfINTrw>
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:28:28 -0000

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

So functions to insert SRH or delete it discussed in SPRING DO NOT violate
anything.

Remember - in SRv6 you *change* IPv6 dst at each end of segment. So each SR
segment node can legally  do whatever it needs with EH.

Is this clear enough?

- - -

There is other individual document in 6man proposing a solution for FRR in
IPv6 which goes beyond the above. But it in no way that should impact base
specs. As written base specs can be used 100% legally according to RFC8200
as it stands today.

Now if 6man response to proposl of SRv6 use case for FRR with TI-LFA will
state "IPv6 was not designed for that" - I am fine. It will make IPv6
deployments for sure much more robust. It may even help end to end
principle shine again and get all of your end IPv6 compute and set-top
boxes full open to global hackers.

Thx,
R.