Re: IPv6 header insertion in a controlled domain

Gyan Mishra <hayabusagsm@gmail.com> Sun, 08 December 2019 16:16 UTC

Return-Path: <hayabusagsm@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 588AA120047 for <ipv6@ietfa.amsl.com>; Sun, 8 Dec 2019 08:16:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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, URIBL_BLOCKED=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 iOrQGsI-kKDo for <ipv6@ietfa.amsl.com>; Sun, 8 Dec 2019 08:16:06 -0800 (PST)
Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (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 3E4C012001E for <ipv6@ietf.org>; Sun, 8 Dec 2019 08:16:06 -0800 (PST)
Received: by mail-io1-xd2f.google.com with SMTP id z26so12168828iot.8 for <ipv6@ietf.org>; Sun, 08 Dec 2019 08:16:06 -0800 (PST)
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=y01rUzluWo9OTFewOZDC0Yeu3T8GYODsnZEItFxp1KA=; b=D4JrkinVLolswQHVL3Y4MTmKw2F38FBg6Nlv3HJmi0MPtp5YfnmyKyQf4pOlb79Nm3 2lF6b54/PljPF5+8ifaBGzA7pHkcV/FOIAf4KmdxZ/F5MuhRPTCuvEAha+UITfRvi/vM rHIrmd6/087uYWaS9WgtxXbdrpfr9rU8C6Oiu6HA1lu7zJA4p8hhiChDNCDEBXsbdqHM uIN5Z7vWzRA/6B0766ctEomw+Fw+T8Ogl9aLNmMi3IovyJhTXFpesgKf4kPI0mBOyhMM j/eV0DGydiIU94yNXsaqigD/U/FRUXWiHuo9gM5e/9YYCyzFs1GMdEqX6hQoyCWw8mGH drHg==
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=y01rUzluWo9OTFewOZDC0Yeu3T8GYODsnZEItFxp1KA=; b=dVlo8QeJPytnmkafhNCjW7stmy8ZyLtW+UT0VmojkzTySMyHvVRNuv1y85taVQmbzL r2cwVUR2rFUU9fAeM5SVqQJrCMNVEsU/6Hs0UwbWZ8t4r6bBxo+Ndl1qSE4d3FVgiBZk uEhnxIQXHcNyrZrKKD8uFs/V9xRqYVc/g2gBp7n/wua+t1nkVqqaC+2Wt9fSQ03st9Y0 S+1oysJQN5CBbpdIgzOOUDcuAPJMPu1obIPvEUcPUyolXPfAvWu2pNxsQkUYNMjU3Zv8 wfqzQAOiLI0nybJXU5BG7uq9YFW3oMrhdRdBbFr/N6fnLjBRw9aVZ3gigNdM2Z+GZIJ+ k9GA==
X-Gm-Message-State: APjAAAWjCCtTIRt3EQftoAA7dgaNjVa3OabytWTF4SaFkCvmNsIzVjzG 5uYxb1yiv82lEU6EKL6mzDWtbHrkcEIEiH5sAHs=
X-Google-Smtp-Source: APXvYqwdkLDKWvau/13sqQhTS8U0AJQ+qg6WFUJB5YESyZzS3wiT2oEsIXNnrvh9ilfJUqFT0VAmCsrGU+jq/hpoJoI=
X-Received: by 2002:a6b:7316:: with SMTP id e22mr18492120ioh.205.1575821765424; Sun, 08 Dec 2019 08:16:05 -0800 (PST)
MIME-Version: 1.0
References: <CALx6S3588ja9AZzBQ0dqwx0j-ki6A5tusye+odQKPyAyF+hEww@mail.gmail.com> <10E890EA-3278-44EE-881E-EBC91D419587@employees.org> <88287cb0-c0c3-f990-4dd7-338df87c7fb2@joelhalpern.com> <4E76C386-FB1E-4E48-814D-BB626466BEE3@employees.org> <CAO42Z2ze7tmkGh=E-YrPuJHMeD8V6EuxgjjaJ33iz+Ms3abNsA@mail.gmail.com> <ED9B7C60-ACDE-4107-A121-AE2DAEA6B640@employees.org> <CABNhwV0EGiMaX0Qkyk+_zqZfiaAS_RP_ewVEctgdSnMuJ3MBPw@mail.gmail.com> <8AE06652-D6DB-444D-A8BB-7924181C83E4@employees.org>
In-Reply-To: <8AE06652-D6DB-444D-A8BB-7924181C83E4@employees.org>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Sun, 08 Dec 2019 11:15:54 -0500
Message-ID: <CABNhwV1Ym5xtDY+vo8haaaObhMayE+ejkUbm4Sq9A5axCQwopA@mail.gmail.com>
Subject: Re: IPv6 header insertion in a controlled domain
To: otroan@employees.org
Cc: 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000008ebf7305993398fb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/dYqBmeU0GHFtIzyf9Av5o9N1UqI>
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: Sun, 08 Dec 2019 16:16:08 -0000

On Sun, Dec 8, 2019 at 11:03 AM <otroan@employees.org> wrote:

> Gyan,
>
> > I think the in flight eh insertion done on the node doing the
> encapsulation node A  is safer from a security perspective then an
> intermediate node adding a eh header without encapsulation.  I think even
> though you add an encapsulation but if the node doing the encapsulation is
> not the one adding the eh header it’s no different in my opinion then the
> node A not doing an encapsulation at all which was proposed initially by
> Spring.
> >
> > So we have to enforce that the EH insertion is only done by the node
> performing the encapsulation.
>
> With regards to your comment that node B doing insertion on a packet with
> SA=A and DA=C, is equivalent to doing insertion on the original packet
> without encapsulation, I think the risks of that is defined in Mark's
> draft/8200.
>
> Let me dig down on the security issue a bit.
> Still given the simple example I gave earlier.
> Can you ellaborate on what security issue you see, and why doing insertion
> at B is less secure than at A?


     I was thinking the obvious man in middle attack tampering with v6
header by intermediate node and possible impact to AH if used.

>
>
> Best regards,
> Ole

-- 

Gyan S. Mishra

IT Network Engineering & Technology

Verizon Communications Inc. (VZ)

13101 Columbia Pike FDC1 3rd Floor

Silver Spring, MD 20904

United States

Phone: 301 502-1347

Email: gyan.s.mishra@verizon.com

www.linkedin.com/in/networking-technologies-consultant