Re: Route Information Options in IPv6 Neighbor Discovery

Fred Baker <fredbaker.ietf@gmail.com> Tue, 18 April 2017 20:46 UTC

Return-Path: <fredbaker.ietf@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 AD8461243FE for <ipv6@ietfa.amsl.com>; Tue, 18 Apr 2017 13:46:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, RCVD_IN_DNSWL_NONE=-0.0001, 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 iFZoImMY052F for <ipv6@ietfa.amsl.com>; Tue, 18 Apr 2017 13:46:45 -0700 (PDT)
Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com [IPv6:2607:f8b0:400e:c05::22b]) (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 342841200FC for <ipv6@ietf.org>; Tue, 18 Apr 2017 13:46:45 -0700 (PDT)
Received: by mail-pg0-x22b.google.com with SMTP id s64so1872149pgb.1 for <ipv6@ietf.org>; Tue, 18 Apr 2017 13:46:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=FybG2fgJv+sMJ9EgVvwOTIm5dCOIRNvsKHA3f/N2Suc=; b=ZWFDpVgAoxdsUPMZlzGWDJQOOdPQkIwX9SXFQ6Fn7AbghMBpXCwQ33lYGa8M8zeBqK arMe0nGU9BJB4/PSmfM4fUlWgGO4NuGg04a373pofCjZhzSBEsMifvBHLl2g3cRAsof1 UTzgRW55inPrSv5R2Tmm/E1lQ4+9Yt04U8QO7ycAGSuK4ZHcef+umdmjUMM83eFHTPkC +5ry+2/wavbJrBinahFUpiuo1Nr9bupUpyRjvTvNoD4mnawydVTpZJxx3weoWBUn/zAj /pcYNOCFtQBJcWroy23JXLuxR6Fnyym36YBhf5ajPZDAsCnitole+E3tZkUq6DsOUv65 kYEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=FybG2fgJv+sMJ9EgVvwOTIm5dCOIRNvsKHA3f/N2Suc=; b=uFLEA0KePcptSAe22B/W4qb7XFjobKsPqzUh89nJas28QJuXamCCwMrLk7ceRz9eYJ pQ3IzEbE+zIXPyTTQdw1Tq7YZ7YGP9MaLvOubvj/QdUv2Ey6WQ3DcGn1fYsOtjuhN9Hp ACyfFp5Qii+I/SEmr+fmtWHAh6aDO84i7V2azMxhpK+3UOeirGW27DyvztM6OfHiNtdq tuh3KNNk1n7LCd8vXff7WBL2T8iv0w5qBcsNo0UdtUzfaTRvMaZJP1eyj0TfhECasTN9 mfitWMURIo6gJBFflnrvroaTEmrBaeydJttsLS/yMrp5MCCSDTRi3Icg70CKc4c9iFGi U5qA==
X-Gm-Message-State: AN3rC/5WI53WiNERwVMurRYx0uAikIoTFgbgugzcxsNxly2o9cBMtg2c heRIGUum1yfJRA==
X-Received: by 10.84.168.4 with SMTP id e4mr25687204plb.138.1492548404789; Tue, 18 Apr 2017 13:46:44 -0700 (PDT)
Received: from [192.168.1.13] (wsip-184-191-158-59.sd.sd.cox.net. [184.191.158.59]) by smtp.gmail.com with ESMTPSA id w85sm241796pfk.62.2017.04.18.13.46.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Apr 2017 13:46:43 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: Route Information Options in IPv6 Neighbor Discovery
From: Fred Baker <fredbaker.ietf@gmail.com>
In-Reply-To: <5ce85dd13f1741de95ee722d0ec23dd9@XCH15-06-08.nw.nos.boeing.com>
Date: Tue, 18 Apr 2017 13:46:42 -0700
Cc: Mikael Abrahamsson <swmike@swm.pp.se>, james woodyatt <jhw@google.com>, "ipv6@ietf.org" <ipv6@ietf.org>, Dave Thaler <dthaler@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <FEAF522C-CE07-4E50-A69F-B315E66AC9F0@gmail.com>
References: <e0405ed49491441fb1a883b0d7e8d773@XCH15-06-08.nw.nos.boeing.com> <alpine.DEB.2.02.1704141353370.5591@uplift.swm.pp.se> <7C3DB700-B389-4796-AA1E-38172A5A89B0@gmail.com> <alpine.DEB.2.02.1704170642090.5591@uplift.swm.pp.se> <AF3C4D0B-E7B0-4DB3-A96B-9ED618DDA6C5@gmail.com> <12c8ae91db234098a4bb402c08630364@XCH15-06-08.nw.nos.boeing.com> <62ADCA5F-1319-4771-AD48-A449077AD11E@gmail.com> <5ce85dd13f1741de95ee722d0ec23dd9@XCH15-06-08.nw.nos.boeing.com>
To: Fred Templin <Fred.L.Templin@boeing.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/U72YLliqNDHVFKLtuyGmGmIdNRY>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 18 Apr 2017 20:46:48 -0000

> On Apr 18, 2017, at 1:42 PM, Templin, Fred L <Fred.L.Templin@boeing.com> wrote:
> 
> Hi Fred,
> 
> A comment about SAVI/DHCP. RFC7513 seems to suggest DHCP snooping, i.e.,
> some device on the path from the DHCP server to client examines the contents
> of DHCP messages. Unfortunately, the DHCPv6 Security specification mandates
> the use of encryption:
> 
> https://www.ietf.org/id/draft-ietf-dhc-sedhcpv6-21.txt
> 
> Does it mean that Secure DHCPv6 will be incompatible with SAVI?

Great question for savi@ietf.org.

> Thanks - Fred
> 
>> -----Original Message-----
>> From: Fred Baker [mailto:fredbaker.ietf@gmail.com]
>> Sent: Monday, April 17, 2017 5:42 PM
>> To: Templin, Fred L <Fred.L.Templin@boeing.com>
>> Cc: Mikael Abrahamsson <swmike@swm.pp.se>; james woodyatt <jhw@google.com>; ipv6@ietf.org; Dave Thaler
>> <dthaler@microsoft.com>
>> Subject: Re: Route Information Options in IPv6 Neighbor Discovery
>> 
>> We have essentially the same problem with IPv4 Source Guard, as several companies call the technology. It has been deployed since
>> 2004 or thereabouts as proprietary technology, but operates essentially as SAVI/DHCP does. We don't observe the issue you raise.
>> 
>> A redirect in essence is router A telling some host that router B in the same subnet that would be a better choice - that router A's next
>> hop for the indicated address is router B, and the host can be a good citizen by sending that traffic to B in the first place. If they're in
>> the same subnet and the host can talk with both of them, the host is going to use the same source address and the same interface.
>> SAVI is thrilled, and if the host does as it is told, we reduced message rate on the LAN a little bit.
>> 
>> Further discussion of SAVI should probably go to savi@ietf.org...
>> 
>>> On Apr 17, 2017, at 4:47 PM, Templin, Fred L <Fred.L.Templin@boeing.com> wrote:
>>> 
>>> I have a question on how SAVI interacts with the IPv6 Redirect function in general.
>>> When a Router Redirects a Source to a Target, the Source has discovered something
>>> that it did not know before, namely that a target IPv6 prefix is reachable via the
>>> Target directly without having to go through the Router.
>>> 
>>> Armed with this knowledge however, what is to stop the Source from sending packets
>>> with spoofed IPv6 source addresses via the Target? And, this is an issue for standard
>>> IPv6 Redirect for a singleton destination and not just for Redirects that include RIOs.
>>> 
>>> That said, there is a way for the Source to tell the Target about the source address(es)
>>> it intends to use by including the source addresses or prefixes in RIOs in a NS sent
>>> to the Target before any data packets are sent. And, if the Source lies about any of
>>> its addresses any SAVI L2 devices that examine the NS messages can drop them.
>>> 
>>> Thanks - Fred
>>> 
>>>> -----Original Message-----
>>>> From: Fred Baker [mailto:fredbaker.ietf@gmail.com]
>>>> Sent: Sunday, April 16, 2017 11:19 PM
>>>> To: Mikael Abrahamsson <swmike@swm.pp.se>
>>>> Cc: Templin, Fred L <Fred.L.Templin@boeing.com>; james woodyatt <jhw@google.com>; ipv6@ietf.org; Dave Thaler
>>>> <dthaler@microsoft.com>
>>>> Subject: Re: Route Information Options in IPv6 Neighbor Discovery
>>>> 
>>>> 
>>>>> On Apr 16, 2017, at 9:43 PM, Mikael Abrahamsson <swmike@swm.pp.se> wrote:
>>>>> 
>>>>> On Fri, 14 Apr 2017, Fred Baker wrote:
>>>>> 
>>>>>>> SAVI (https://tools.ietf.org/wg/savi/) has document that I imagine would be in scope for this documents security section. For
>>>> instance, what would an SAVI enabled L2 switch that inspects ND entries do when it sees this RIO entry in ND?
>>>>>> 
>>>>>> As specified, I think it would ignore them. It looks at the NA to determine what {IP address, MAC address} or {IP address, MAC
>>>> address, Port #} association it should enforce. It has no illusion that this is the only data present.
>>>>> 
>>>>> So the question becomes, is this desired behaviour? Sounds to me that there needs to be SAVI document enhancement for this
>> RIO
>>>> in ND then, for things to continue functioning properly (as I imagine if something sends RIO in ND to somewhere, there is
>> expectation
>>>> that any antispoofing device should allow for return traffic as well).
>>>> 
>>>> Please feel free to make specific suggestions.
>>>> 
>>>> https://tools.ietf.org/html/rfc6620
>>>> 6620 FCFS SAVI: First-Come, First-Served Source Address Validation
>>>>    Improvement for Locally Assigned IPv6 Addresses. E. Nordmark, M.
>>>>    Bagnulo, E. Levy-Abegnoli. May 2012. (Format: TXT=84010 bytes)
>>>>    (Status: PROPOSED STANDARD) (DOI: 10.17487/RFC6620)
>>>> 
>>>> https://tools.ietf.org/html/rfc6959
>>>> 6959 Source Address Validation Improvement (SAVI) Threat Scope. D.
>>>>    McPherson, F. Baker, J. Halpern. May 2013. (Format: TXT=62217 bytes)
>>>>    (Status: INFORMATIONAL) (DOI: 10.17487/RFC6959)
>>>> 
>>>> https://tools.ietf.org/html/rfc7039
>>>> 7039 Source Address Validation Improvement (SAVI) Framework. J. Wu, J.
>>>>    Bi, M. Bagnulo, F. Baker, C. Vogt, Ed.. October 2013. (Format:
>>>>    TXT=31946 bytes) (Status: INFORMATIONAL) (DOI: 10.17487/RFC7039)
>>>> 
>>>> https://tools.ietf.org/html/rfc7219
>>>> 7219 SEcure Neighbor Discovery (SEND) Source Address Validation
>>>>    Improvement (SAVI). M. Bagnulo, A. Garcia-Martinez. May 2014.
>>>>    (Format: TXT=90423 bytes) (Status: PROPOSED STANDARD) (DOI:
>>>>    10.17487/RFC7219)
>>>> 
>>>> https://tools.ietf.org/html/rfc7513
>>>> 7513 Source Address Validation Improvement (SAVI) Solution for DHCP. J.
>>>>    Bi, J. Wu, G. Yao, F. Baker. May 2015. (Format: TXT=123735 bytes)
>>>>    (Status: PROPOSED STANDARD) (DOI: 10.17487/RFC7513)
>>>> 
>>>> https://tools.ietf.org/html/rfc8074
>>>> 8074 Source Address Validation Improvement (SAVI) for Mixed Address
>>>>    Assignment Methods Scenario. J. Bi, G. Yao, J. Halpern, E.
>>>>    Levy-Abegnoli, Ed.. February 2017. (Format: TXT=23910 bytes)
>>>>    (Status: PROPOSED STANDARD) (DOI: 10.17487/RFC8074)
>>>> 
>>>> 
>>> 
>>> 
>> 
> 
>