Re: [v6ops] draft-gont-v6ops-ipv6-ehs-in-real-world: clarification text

Mark ZZZ Smith <markzzzsmith@yahoo.com.au> Wed, 22 April 2015 10:55 UTC

Return-Path: <markzzzsmith@yahoo.com.au>
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 3A24E1B341D for <v6ops@ietfa.amsl.com>; Wed, 22 Apr 2015 03:55:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.502
X-Spam-Level:
X-Spam-Status: No, score=0.502 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=1, HK_RANDOM_REPLYTO=0.999, HTML_MESSAGE=0.001, 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 Jht9nuqqDVkp for <v6ops@ietfa.amsl.com>; Wed, 22 Apr 2015 03:55:37 -0700 (PDT)
Received: from nm31-vm2.bullet.mail.bf1.yahoo.com (nm31-vm2.bullet.mail.bf1.yahoo.com [72.30.239.10]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58B721B341E for <v6ops@ietf.org>; Wed, 22 Apr 2015 03:55:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1429700128; bh=hrv1lQc7pJmTZ7uzDhOJCBIJhJ5FUS/c4LxePoHvUR4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=CXDOYu96Ir6z2iblQQ7Fv43hwOr/fTCU1Fo0M4PopTsxisC2pjcpv5phBoyYk2Jo+pAD6OBvGPZJ25f0XpCT5eitJtahBV+hpC4dI5NzUTSBtgSvpLV52bDdupl7H83sM5YVcLUSV0AN1c/Iq9DDIMJ1j16K9g6Ayi0cqHr6rNE3tWF9IMfEql3Blrn/WUXnEnBuibdifPM7Cm5HbiOZIli5/ypQah5fTtbL41KaICOWZ5ogMMrcsRxTA0w26IXSDbCE+pz0ASk/a5cd4DBgfiCixdT/G5TVtwkT9V4M6OytELcrFrQZDP7UmwDkSEfbYKmQe2J0wZ+/WR3HlqBt9w==
Received: from [66.196.81.174] by nm31.bullet.mail.bf1.yahoo.com with NNFMP; 22 Apr 2015 10:55:28 -0000
Received: from [98.139.215.254] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 22 Apr 2015 10:55:28 -0000
Received: from [127.0.0.1] by omp1067.mail.bf1.yahoo.com with NNFMP; 22 Apr 2015 10:55:28 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 525891.23154.bm@omp1067.mail.bf1.yahoo.com
X-YMail-OSG: LJiQxZ0VM1k3FWvW8EHp63QR.soKbUVtj7G5FppXHEkHGrzZUuqoe3SgtlAz1D5 yVb4t8JLWLM.TJ4UnaRwk7Dh17pHgs59PoDh4bddV.Fddkbn0XFacSFv.8fOhsPL4xRDILeFflY0 vzjcoQtMCr5XJ0XxbeVJpQ7mfaKu..HuGc5hF6jurrUJ0qoKt_.0_iKihddfbuBnFYaQOBsl86wB ggdZvyl0G.ERMm1Ks3Z41EfX2_lNtUARmsrKFOJbuzdYXVmSqh99ZWKQhxy4e58bdlNFbwcwQpGu 3.nuPtbiocNoJsAB2Z.A_drnGLEiThfsKZ_zkZKN2I9CQGFbwq3PzwtlQpbx5Fv3.TaCs_JJYZq7 hm5W1dp0rdthAgfLpnOw1C8qSddhZPCpI_xkrJ1_dm1CPDHpCDOjWhRrkmf8Yj1MW9xrdXyP2HRS yN4fyDgNnMrEBCZXGE9KFEtkzhS951kvvZxRHI03cOiUoc9_pHmVtQgQ5XAc_POvpew_LuqXpL23 XwQ5nmucbc7oIZUvwf2_SSHI4acBxA0st9OChYpPIQOVhOinX
Received: by 76.13.27.132; Wed, 22 Apr 2015 10:55:28 +0000
Date: Wed, 22 Apr 2015 10:55:26 +0000
From: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>
To: Gert Doering <gert@space.net>
Message-ID: <597629658.2257851.1429700126987.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <20150422085138.GE54385@Space.Net>
References: <20150422085138.GE54385@Space.Net>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_2257850_1895722181.1429700126981"
Archived-At: <http://mailarchive.ietf.org/arch/msg/v6ops/LRgm6kkR6JiqtIjQb1aPpdwbfW0>
Cc: "v6ops@ietf.org" <v6ops@ietf.org>
Subject: Re: [v6ops] draft-gont-v6ops-ipv6-ehs-in-real-world: clarification text
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Mark ZZZ Smith <markzzzsmith@yahoo.com.au>
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: Wed, 22 Apr 2015 10:55:39 -0000

      From: Gert Doering <gert@space.net>
 To: Mark ZZZ Smith <markzzzsmith@yahoo.com.au> 
Cc: Nick Hilliard <nick@foobar.org>; "v6ops@ietf.org" <v6ops@ietf.org> 
 Sent: Wednesday, 22 April 2015, 18:51
 Subject: Re: [v6ops] draft-gont-v6ops-ipv6-ehs-in-real-world: clarification text
   
Hi,

On Wed, Apr 22, 2015 at 06:20:00AM +0000, Mark ZZZ Smith wrote:
> So I'm going to call the emperor naked.
> What I think you and Gert actually want is for EHs to be completely
> deprecated, so that the TCP and UDP headers are always in the same
> place in the packet, so that hardware can look at them for the
> purposes of dropping them in hardware or as inputs into LB. Is that
> the case?

No :-) - Hardware *is* sophisticated today, but only up to a certain limit.

What I think would be implementable with reasonable tradeoffs between
"unsane hardware effort that my end customers are not going to pay" and
"still flexible" is to require that the final EH is contained in the 
first <n> bytes (say, 512) and that the final header must be in the 
first fragment.

/ So would you expect all of your routers to be able to do this level of processing? It seems to me that you'd only need routers that can do that processing facing potential malicious sources e.g. transit, peering, and possibly customer (although customers have a strong disincentive because it is in their interests for the router to stay available). I wouldn't think it would be worth the expense to have this level of hardware filtering available on core routers.


Right now, we have "the packet can have any size, and the final header can
be anywhere" - and doing that in hardware is just too expensive.

> What I'm curious about then is how do you handle DDoSes that are
> using IP fragments, where there are no TCP or UDP headers ports to
> look at?

That is actually quite easy: rate-limit fragments against the control plane, 
and drop first fragments if there is no L4 header inside.

(The thing is: not all packets are equal - for some, like ICMP, you want
to permit them towards the control plane up to a certain limit - say, 
10 Mbit/s, sufficient to permit people to do network testing, but not 
to overwhelm your control plane link or CPU.  For others, like BGP from
established peers, you take what they give you, because it speeds up 
convergence.  BGP SYNs, rate-limit.  And so on)

> I'm also curious about how you LB packets (either at layer 2 or
> layer 3) that don't have TCP or UDP headers, or aren't IP. I've
> seen LB become completely ineffective at layer 2 because a customer
> was using MPLS between two routers, so no MAC address variation,
> and no IP addresses and no TCP or UDP ports to look at.

This is actually a hard problem in the generic case.  If the hardware can
find reasonable discriminators, you can hash based on that (like, MAC 
addresses in Ethernet-over-MPLS packets) - if not, fall back to flow label
or "src/dst MAC address", which is usually a spectacularily bad idea 
between routers.

[..]
> "LAG is good, but it???s not as good as a fatter pipe."

True.  But sometimes life is not nice, and you have to live with what
you have - like, you can get 2x 10G wavelength between cities, but not
40G or 100G, or your equipment just cannot handle 40G/100G.



Gert Doering
        -- NetMaster
-- 
have you enabled IPv6 on something today...?

SpaceNet AG                        Vorstand: Sebastian v. Bomhard
Joseph-Dollinger-Bogen 14          Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen                  HRB: 136055 (AG Muenchen)
Tel: +49 (0)89/32356-444          USt-IdNr.: DE813185279