RE: [EXTERNAL] [dhcwg] [v6ops] Re: Question to DHCPv6 Relay Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay-requirements

Vasilenko Eduard <vasilenko.eduard@huawei.com> Thu, 15 October 2020 19:12 UTC

Return-Path: <vasilenko.eduard@huawei.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 CDEA53A1307; Thu, 15 Oct 2020 12:12:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 niweWhZJlxPj; Thu, 15 Oct 2020 12:12:35 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A549B3A12E0; Thu, 15 Oct 2020 12:12:19 -0700 (PDT)
Received: from lhreml733-chm.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 992E2E361A3961D81FCA; Thu, 15 Oct 2020 20:12:17 +0100 (IST)
Received: from msceml703-chm.china.huawei.com (10.219.141.161) by lhreml733-chm.china.huawei.com (10.201.108.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 15 Oct 2020 20:12:17 +0100
Received: from msceml703-chm.china.huawei.com (10.219.141.161) by msceml703-chm.china.huawei.com (10.219.141.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 15 Oct 2020 22:12:16 +0300
Received: from msceml703-chm.china.huawei.com ([10.219.141.161]) by msceml703-chm.china.huawei.com ([10.219.141.161]) with mapi id 15.01.1913.007; Thu, 15 Oct 2020 22:12:16 +0300
From: Vasilenko Eduard <vasilenko.eduard@huawei.com>
To: "Templin (US), Fred L" <Fred.L.Templin@boeing.com>
CC: v6ops list <v6ops@ietf.org>, IPv6 List <ipv6@ietf.org>, Michael Richardson <mcr+ietf@sandelman.ca>, dhcwg <dhcwg@ietf.org>
Subject: RE: [EXTERNAL] [dhcwg] [v6ops] Re: Question to DHCPv6 Relay Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay-requirements
Thread-Topic: [EXTERNAL] [dhcwg] [v6ops] Re: Question to DHCPv6 Relay Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay-requirements
Thread-Index: AQHWonqxHABI+EZs2kGHaqRqZs2WfqmZAwwg
Date: Thu, 15 Oct 2020 19:12:16 +0000
Message-ID: <776c6059adab48c7b75f0c1f7654843e@huawei.com>
References: <5f119ffbb67245a9b9d34a0d8f7398f4@boeing.com> <10487.1602608586@localhost> <378d3420690246bbae253fb15be8c9a7@boeing.com> <19627.1602701863@localhost> <1b34b9bec59e4a00af8b9d8f182d23ff@boeing.com> <BD2B4938-B362-40A7-BCF7-DDA270A64BF7@gmail.com> <0284272facf5494f81eff3e49597a246@boeing.com> <C0083F20-230A-42BE-9E3B-4CFB6A8ABF96@gmail.com> <24082dcc5fd1472c8df16e331722da2d@boeing.com>
In-Reply-To: <24082dcc5fd1472c8df16e331722da2d@boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.195.106]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/cY2c6Y6OYaGK4js-xhmnI2LhlEY>
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: Thu, 15 Oct 2020 19:12:38 -0000

Hi Fred,
You need the challenge. OK. I have it for you.

Typical routing protocols would distribute to the "stub" router information about prefixes "somewhere in the network".
Prefixes from local interfaces are inserted into the routing table in the very persistent way:-)

DHCP-PD would distribute to the "stub" router information about prefixes that should become local/interface prefixes on the "stub".
Non-graceful reload could lead to amnesia on the "stub". Then it could attack its own uplink.
It is a new problem. Because DHCP-PD does play the role of "automatic provisioning system", not routing protocol.
The problem could be called "non-consistent routers configuration".
The fact that proper protocol for prefix distribution should be very similar to routing protocol - is the secondary here (it is implementation), because the problem itself is new.

Eduard
> -----Original Message-----
> From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of Templin (US), Fred L
> Sent: 15 октября 2020 г. 1:37
> To: Bob Hinden <bob.hinden@gmail.com>
> Cc: v6ops list <v6ops@ietf.org>; IPv6 List <ipv6@ietf.org>; Michael Richardson
> <mcr+ietf@sandelman.ca>; dhcwg <dhcwg@ietf.org>
> Subject: RE: [EXTERNAL] [dhcwg] [v6ops] Re: Question to DHCPv6 Relay
> Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay-requirements
> 
> > I note that the lack of “challenge” does not mean anyone agrees.   Agreement
> needs to be affirmative.
> 
> Fair enough, Bob; here is the assertion I made that I was referring to:
> 
> + BTW, I am still waiting to hear how this concern is in any way
> + specific to prefix delegation, since it seems to be generic to any
> + case of having a “stub” router that maliciously attacks its own
> + upstream link – no matter how that router negotiates its prefixes with
> upstream network nodes.
> 
> Do the individuals CC'd on this list agree that this is a generic IPv6 issue and not a
> DHCPv6-PD-specific issue?
> 
> Thanks - Fred
> 
> > -----Original Message-----
> > From: Bob Hinden [mailto:bob.hinden@gmail.com]
> > Sent: Wednesday, October 14, 2020 3:28 PM
> > To: Templin (US), Fred L <Fred.L.Templin@boeing.com>
> > Cc: Bob Hinden <bob.hinden@gmail.com>; Michael Richardson
> > <mcr+ietf@sandelman.ca>; dhcwg <dhcwg@ietf.org>; IPv6 List
> > <ipv6@ietf.org>; v6ops list <v6ops@ietf.org>
> > Subject: Re: [EXTERNAL] [dhcwg] [v6ops] Re: Question to DHCPv6 Relay
> > Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay- requirements
> >
> > I note that the lack of “challenge” does not mean anyone agrees.   Agreement
> needs to be affirmative.
> >
> > Bob
> >
> >
> > > On Oct 14, 2020, at 3:24 PM, Templin (US), Fred L
> <Fred.L.Templin@boeing.com> wrote:
> > >
> > > Bob, several messages back it was established that the issue at the
> > > heart of this discussion is not specific to DHCPv6 nor DHCPv6-PD.
> > > Instead, it is an issue that is common to any situation where there
> > > are multiple "stub" IPv6 routers on a downstream link from a
> > > "default" IPv6 router, no matter how the routing information is
> > > established or maintained. So far, no one has challenged my
> > > assertion that this is a generic (and not a DHCPv6-PD-specific) IPv6 issue and
> I have been waiting to see if anyone wants to challenge that.
> > >
> > > Fred
> > >
> > >> -----Original Message-----
> > >> From: Bob Hinden [mailto:bob.hinden@gmail.com]
> > >> Sent: Wednesday, October 14, 2020 2:47 PM
> > >> To: Templin (US), Fred L <Fred.L.Templin@boeing.com>
> > >> Cc: Bob Hinden <bob.hinden@gmail.com>; Michael Richardson
> > >> <mcr+ietf@sandelman.ca>; dhcwg <dhcwg@ietf.org>; IPv6 List
> > >> <ipv6@ietf.org>; v6ops list <v6ops@ietf.org>
> > >> Subject: Re: [EXTERNAL] [dhcwg] [v6ops] Re: Question to DHCPv6
> > >> Relay Implementors regarding draft-ietf-dhc-dhcpv6-pd-relay-
> > >> requirements
> > >>
> > >> With my chair hat on, is there a reason why this discussion is being copied
> to the 6MAN w.g.?   6MAN doesn’t maintain DHCP
> > related
> > >> items.
> > >>
> > >> Please remove ipv6@ietf.org from this thread.
> > >>
> > >> Bob
> > >>
> > >>
> > >>> On Oct 14, 2020, at 12:19 PM, Templin (US), Fred L
> <Fred.L.Templin@boeing.com> wrote:
> > >>>
> > >>> Hi Michael,
> > >>>
> > >>>> -----Original Message-----
> > >>>> From: Michael Richardson [mailto:mcr+ietf@sandelman.ca]
> > >>>> Sent: Wednesday, October 14, 2020 11:58 AM
> > >>>> To: Templin (US), Fred L <Fred.L.Templin@boeing.com>
> > >>>> Cc: ianfarrer@gmx.com; Jen Linkova <furry13@gmail.com>; dhcwg
> > >>>> <dhcwg@ietf.org>; v6ops list <v6ops@ietf.org>; 6man
> > >>>> <ipv6@ietf.org>
> > >>>> Subject: Re: [EXTERNAL] Re: [dhcwg] [v6ops] Re: Question to
> > >>>> DHCPv6 Relay Implementors regarding draft-ietf-dhc-dhcpv6-pd-
> > >> relay-
> > >>>> requirements
> > >>>>
> > >>>>
> > >>>> Templin (US), Fred L <Fred.L.Templin@boeing.com> wrote:
> > >>>>> Michael, what I was referring to below as "failure" is the proxy
> > >>>>> case when there is an L2 proxy P between the client and relay
> > >>>>> (e.g., RFC489). There
> > >>>>
> > >>>> RFC4389 describes an ND Proxy.
> > >>>> Is that really an L2 proxy?
> > >>>
> > >>> Yes, I believe it is an L2 proxy.
> > >>>
> > >>>> It seems like it also must be contain either an L2-bridge, or
> > >>>> must have the L3-routing table entries if it would really be
> > >>>> capable of passing DHCPv6-PD prefixes through it.
> > >>>
> > >>> The only thing it has that includes L3 information is neighbor
> > >>> cache entries that keep track of the client's actual L2 address on
> > >>> the downstream link segment, but rewrites the client's L2 address
> > >>> to its own L2 address when forwarding onto an upstream link
> > >>> segment. (In the reverse direction, it receives packets destined
> > >>> to its own L2 address but the client's L3 address on the upstream
> > >>> link segment, then rewrites the L2 address to the client's L2
> > >>> address when forwarding onto the downstream link segment.)
> > >>>
> > >>>> Can you explain how such a device would normally work for a
> > >>>> client device A,B,C,D doing DHCPv6-PD through it?
> > >>>
> > >>> Sure. A sends a DHCPv6 Solicit using its IPv6 link-local address
> > >>> as the source, and its L2 address as the link-layer source. The
> > >>> proxy converts the link-layer source to its own L2 address when
> > >>> forwarding the DHCPv6 solicit onto the upstream link. When the
> > >>> DHCPv6 Reply comes back, the IPv6 destination is that of client A, but the
> link-layer destination is the L2 address of the proxy.
> > >>> The proxy then converts the L2 destination to the address of
> > >>> client A and forwards it on to the client.
> > >>>
> > >>>> And is the failure one where the router "R" fails to drop traffic
> > >>>> it should, one where the router "R" drops traffic that it shouldn't?
> > >>>
> > >>> I was thinking more along the lines of the latter; if the only way
> > >>> that A has for talking to B, C, D, etc. is by going through R, it
> > >>> wouldn't work if R was unconditionally dropping everything.
> > >>>
> > >>> Thanks - Fred
> > >>>
> > >>>> --
> > >>>> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT
> consulting )
> > >>>>          Sandelman Software Works Inc, Ottawa and Worldwide
> > >>>>
> > >>>>
> > >>>>
> > >>>
> > >>> ------------------------------------------------------------------
> > >>> -- IETF IPv6 working group mailing list ipv6@ietf.org
> > >>> Administrative Requests:
> > >>> https://www.ietf.org/mailman/listinfo/ipv6
> > >>> ------------------------------------------------------------------
> > >>> --
> > >
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------