Re: [v6ops] new draft: draft-elkins-v6ops-multicast-virtual-nodes

Nalini Elkins <nalini.elkins@insidethestack.com> Fri, 19 September 2014 22:02 UTC

Return-Path: <nalini.elkins@insidethestack.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED2791A88BF for <v6ops@ietfa.amsl.com>; Fri, 19 Sep 2014 15:02:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.6
X-Spam-Level:
X-Spam-Status: No, score=-1.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=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 fQpSyaMAC6QZ for <v6ops@ietfa.amsl.com>; Fri, 19 Sep 2014 15:02:01 -0700 (PDT)
Received: from nm3-vm2.bullet.mail.ne1.yahoo.com (nm3-vm2.bullet.mail.ne1.yahoo.com [98.138.91.19]) (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 DD9E31A875F for <v6ops@ietf.org>; Fri, 19 Sep 2014 15:01:59 -0700 (PDT)
Received: from [98.138.101.130] by nm3.bullet.mail.ne1.yahoo.com with NNFMP; 19 Sep 2014 22:01:59 -0000
Received: from [98.138.89.168] by tm18.bullet.mail.ne1.yahoo.com with NNFMP; 19 Sep 2014 22:01:59 -0000
Received: from [127.0.0.1] by omp1024.mail.ne1.yahoo.com with NNFMP; 19 Sep 2014 22:01:59 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 134263.29258.bm@omp1024.mail.ne1.yahoo.com
Received: (qmail 58011 invoked by uid 60001); 19 Sep 2014 22:01:59 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1411164119; bh=//ZDCcCOMJgfYVJRKpVEFTzDesppx88ptedS4OX6D8M=; h=References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=QXTB05G7W1AF69TXqZIIkfaqTvBUoWxGypIcBI/K4HAoHcj7N6J0uUIKHomMqVnLj9IsIlCPwailAYQu5uQVFALwm//Hz14mmGUMY6mUvyKA0JRLfYEJXbT0pxCebX3nKHDgo+0/a/tZAO7rKaQcvngLPdepyMCY3mXytwWaxDM=
X-YMail-OSG: TfTCzoUVM1kZO9eEn8s311uT.j7PJdfM7xMCW1d1saFTrI1 SWtHZODHFKL.8rEMULCj4I5sg8865OzVPAu.v9.OX5vX4hs0ySZ1ukEsPH0R ETOWTLOu8JdOFEYMF.yTarSGaRHiYjAwQ9NLii6YsyQr3J8eU_9Ew9kOdSjW FhgqW9hZivhbpWOdqKjZW.WIDyCgl3fc31gMe.CoepKgL4n9NypUtBI_Cv_8 Kllae5xrHREI6tBVQ_2j6DBO.BhaQYOd7.qduz72EAFPSVCBj_XEMLJmwp_z wF_3V4U0QPivuDWAsF3463D7DlEQnA.LhnP1sqbp8eF2NUGSgzl2SKN1xaOJ eKpkYOK4xu78LUjANLBw.i0rJiULL21ytOz9GKjjrHoerZQDBl1CFvF6pS0N lhuRUrWItS757PX31.TO3iN6FbzdvcekiMa.P6i_LBAbdO3zxFZ2a8EdnTGK Y.8LNUan93F6G3Ynl7aNdtKqRiVxpssAYVimynE0a0QDnJhL4_NixnoT24RH fgdmVtKr2JqL65WY7iDa4KQIDu1bwfOb8UWw1CPbOQVLa6g4PjgFl7HQKO59 YZKMI5nmUhOuX8mi9nAIvdxE9pHSa1jwnRqDxRyeqrhdXwzOuSIfOrPcvkes za.KDOwVg8OFuYNQ51kdwTupT578b4pluAX8s9ss61g70WdnaV2tnz1xACwh I65HhLf54o5ppmfjD_bCy3HAERrClW.ncJrtH_En0N3VScLqHtRNueUg7CBJ iq6unY7tVugoid2OYyNx9fewO4soNhFaOrQ5Wby2AcRglEP_lXKHsoCRd_sY 6qB.3Q9jiBKjRgTfTdAy6IdluPgb.6ckGddneizzxfzLu.64UIP3QWbFvN_H yh_jNQXdMMgELJ8EJjuARzFUZI2210kEtsRsq4dGjnVEO1lJu1elnL3QHSqT 7gwaeUXQTzt4M.ffwAQfWZWCMWtg4eLcYEjm6zLTgLTwD_nkcf4LtVFWNRF2 28ioQa1EwBV.6mlaX7m.kuqQDDuRP4s4CsAoRs01yuaRlXd5HUDad3.gaJ8B j9cnIfldkPvjlvz5o8LFUepTmBfR3vC0MMcEix9x8OLEvPNs73oqf2JtqUo4 MEYHAAFAZMm.1xFUGLIYfGaj7BNg8p7.fay9jNy4hrMaBrqcz710rAoNiw8e VI.tZ3kelUMf4LMuVy8zreHPCN_oLnVSYtDS08Vr262kOjgGfnHUo5twNdRE qaeivuPaA_keSgw--
Received: from [24.130.244.175] by web125106.mail.ne1.yahoo.com via HTTP; Fri, 19 Sep 2014 15:01:58 PDT
X-Rocket-MIMEInfo: 002.001, CgpPbiA5LzE5LzE0LCBOYWxpbmkgRWxraW5zIDxuYWxpbmkuZWxraW5zQGluc2lkZXRoZXN0YWNrLmNvbT4gd3JvdGU6Cj4KPj5BIGRpcmVjdGVkIGJyb2FkY2FzdCBwaW5nIG9uIElQdjQgZ2l2ZXMgcHJldHR5IG11Y2ggdGhlIHNhbWUgcmVzdWx0Lgo.PkRpZCB5b3UgdGVzdCB0aGUgZWZmZWN0cyBvZiB0aGF0ID8KPgo.IEkgaGFkIG5vdC4gIEJ1dCwgc2luY2UgeW91IG1lbnRpb25lZCBpdCwgSSBkaWQgaXQgb24gdHdvIGRpZmZlcmVudCBXaW5kb3dzCj4gbWFjaGluZXMuICBUaGUgb25lIHRoYXQgaXMgdGgBMAEBAQE-
X-Mailer: YahooMailWebService/0.8.203.696
References: <201409191147.s8JBl1Fe016458@irp-lnx1.cisco.com> <CAPi140O_WkcS9uFCSK0+tVDF3Z1sB4_UF5Zv9kpNEMh7m94Vww@mail.gmail.com> <1411154671.21942.YahooMailNeo@web125102.mail.ne1.yahoo.com> <CAPi140Ob+TeDyYfw_1A2Q55gEF5-rNrLynQ1LkGHOVnGcNcpLA@mail.gmail.com>
Message-ID: <1411164118.44574.YahooMailNeo@web125106.mail.ne1.yahoo.com>
Date: Fri, 19 Sep 2014 15:01:58 -0700
From: Nalini Elkins <nalini.elkins@insidethestack.com>
To: Andrew 👽 Yourtchenko <ayourtch@gmail.com>
In-Reply-To: <CAPi140Ob+TeDyYfw_1A2Q55gEF5-rNrLynQ1LkGHOVnGcNcpLA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/v6ops/sdx59rnB3SG3YoDKkR2_h29DRhE
Cc: "draft-elkins-v6ops-multicast-virtual-nodes@tools.ietf.org" <draft-elkins-v6ops-multicast-virtual-nodes@tools.ietf.org>, "v6ops@ietf.org" <v6ops@ietf.org>
Subject: Re: [v6ops] new draft: draft-elkins-v6ops-multicast-virtual-nodes
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Nalini Elkins <nalini.elkins@insidethestack.com>
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Sep 2014 22:02:03 -0000


On 9/19/14, Nalini Elkins <nalini.elkins@insidethestack.com> wrote:
>
>>A directed broadcast ping on IPv4 gives pretty much the same result.
>>Did you test the effects of that ?
>
> I had not.  But, since you mentioned it, I did it on two different Windows
> machines.  The one that is the server in question had the following results:
>
> C:\Users\Administrator>ping x.x.x.255
>
> Pinging x.x.x.255 with 32 bytes of data:
> Request timed out.
> Request timed out.
> Request timed out.
> Request timed out.
>
> Ping statistics for x.x.x.255:
>     Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
>
> Arp cache was not updated.   I did a packet trace in the background and
> indeed no ICMP replies were seen.
>
> I did the same ping x.x.x.255 on one of my client PCs and saw:
>
> Pinging x.x.x.255 with 32 bytes of data:
> Request timed out.
> Request timed out.
> Request timed out.
> Request timed out.
>
> But this time the packet trace showed that actually ICMP replies were sent.
>

>So, besides this cosmetic difference the behavior is identical for the
>case of IPv4 ping ?

Andrew, I think you may have misunderstand me.  The behavior is very definitely not
identical in IPv4.   In IPv4, many people block or disable directed broadcast PING.  Such
PINGs can be used for amplification in Smurf attacks.

http://www.techrepublic.com/article/understanding-a-smurf-attack-is-the-first-step-toward-thwarting-one/

Ping to FF02::1 is definitely amplification when 10 echo requests can create 2,000+ 
echo replies.   When you do a Ping on Linux, it is continuous until you stop it.
So, you may very easily do amplification without even meaning to.


>>Of course, private VLANs or (if we are talking VMs) or just using p2p
>>links with /128s would help this in the environments where the hosts
>>can not be trusted - and this of course is not virtual/physical
>>specific.
>
> Yes.  We wanted to bring up the topic of isolation of nodes for discussion.

>This is a useful topic in general - especially in light of the
>MLD-related thread, but the draft seems to focus on a very corner case
>- there are many much better reasons not to do large L2 networks.

We wanted to pick one specific instance.  Maybe we went TOO small!

>
>>If we're talking specifically virtual environment, here's an approach
>>on how to use ebtables to isolate the hosts:
>
>>ebtables -P FORWARD DROP
>>ebtables -F FORWARD
>>ebtables -A FORWARD -i $uplinkPort -j ACCEPT # let the traffic flow
>>from uplink to any ports
>>ebtables -A FORWARD -o $uplinkPort -j ACCEPT # let the traffic flow
>>from any ports to uplink
>
>>(source:http://serverfault.com/questions/388544/is-it-possible-to-enable-port-isolation-on-linux-bridges)
>
> I think this is very good.  But, unfortunately not very well known.   Also,
> is this possible for all platforms or just Linux?

>This was just my first google.com search result when searching for
>"private vlans linux".

>The first google.com search result on "private vlans windows" brings
>up http://blogs.technet.com/b/scvmm/archive/2013/06/04/logical-networks-part-iv-pvlan-isolation.aspx
>which seems to document similar technique.

>"private vlan vmware" results in
>http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1010691
>as its first hit.

>Would an IETF publication be easier to find than the above ?

Maybe not but the hosting company who provided us the service where we did this real life test does not seem to have read any of the documents you reference.

What to do is a good question.  IPv6 implementation at end user sites is new to many & mistakes are being made.  I do not know what is the answer.

>
>>So looks like the question at hand is:
>
>>"Should IPv6 nodes respond to Ping to FF0x::1?"
>
>>Which can be rephrased differently to ease the start of the discussion:
>
>>"What are the legitimate uses of a ping to ff0x::1 ?"
>
>>Right ?
>
> Yes.

>Allright, so I'll mention my use of ping6 ff0x::1:

>* quick check to find "a few hosts that are alive on this link"
>(obviously not to be done on large segments).

>* A way to trigger the remote side's ND process without having to do
>one myself (I know the multicast packet to all-hosts *will* usually
>get received regardless of the underlying issues with the L2.5
>infrastructure (snooping, etc.)

>* A way to further debug malfunctioning L2.5 infra, by comparing the
>reaction to pings to ff02::1, solicited node multicast, other
>multicast groups, etc.

>Summary: the ff02::1 current ping behavior does help in a non-trivial
>amount of cases.

>The security aspects the draft mentions indeed do exist, but in a
>properly configured network can be easily mitigated as I've shown
>above. So I'd be against changing the functionality in the existing
>stacks.

I don't know, Andrew.  I worry about the broadcast nature of the ping.
I feel like it is trouble waiting to happen.


--a

>
> --a
>
>
> On 9/19/14, fred@cisco.com <fred@cisco.com> wrote:
>> A new draft has been posted, at
>> http://tools.ietf.org/html/draft-elkins-v6ops-multicast-virtual-nodes.
>> Please take a look at it and comment.
>>
>> _______________________________________________
>> v6ops mailing list
>> v6ops@ietf.org
>> https://www.ietf.org/mailman/listinfo/v6ops
>>