Re: [v6ops] new draft: draft-taylor-v6ops-fragdrop

Lorenzo Colitti <lorenzo@google.com> Thu, 01 November 2012 00:35 UTC

Return-Path: <lorenzo@google.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C90F21F8871 for <v6ops@ietfa.amsl.com>; Wed, 31 Oct 2012 17:35:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.976
X-Spam-Level:
X-Spam-Status: No, score=-102.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WFqOHJ+myccW for <v6ops@ietfa.amsl.com>; Wed, 31 Oct 2012 17:35:29 -0700 (PDT)
Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by ietfa.amsl.com (Postfix) with ESMTP id 5FBBE21F85E7 for <v6ops@ietf.org>; Wed, 31 Oct 2012 17:35:29 -0700 (PDT)
Received: by mail-ob0-f172.google.com with SMTP id v19so2206899obq.31 for <v6ops@ietf.org>; Wed, 31 Oct 2012 17:35:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=R94w6TDSpuubBfO0il0XFuryBPJsYmbzoZdB3hdYh6o=; b=pa4kMgBeFZYCNBczQQ3kVejRUYkPFuyu5b2Ke7HJJIHT08TSiX0j7Gvaox7uvDApW1 I9CHHHBa/wXwbNz0vjEgMSp//EocBQJW3+oTbpcpKkGTfAQoY43B6nwvKdWb/jtLRtoc F/6h6XyBWqPafcVJfyUWVNMgMaMvdKWZA5MvNWsl2Z1o2TTDlaIBMJOI4ZpQBqv+dv2J T86ucrz+By2YRxjoH4CX2/mGOmFdb95FcPxwuotZD3IKyy+blSUgMYAEsFNvTqWWME2I PwMgJZY/HBII98s9QRrKEFUxkmZ0rrQbh+EH5fS6fbB8p3jI6h1y9XV5VWN+OYnZ9bhI SEmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=R94w6TDSpuubBfO0il0XFuryBPJsYmbzoZdB3hdYh6o=; b=X719AbKJsO/IJGxCfSIgwKnJPX8+kpNcRC6y/Nbl1fPlNq0S7R31mLZLJ1a/9V4060 r6n3Pxtv/ADCHt436qUjr6D10s1ATyCnVw6uGU1i5jTC17c8yOC9dQA0OBmmyPKrZAk9 E285B9T9V5Wp7fiu34vqkbkl0MosIbftfFZAR5DGgbsa0vopwmmhE+nOJh+dJQaDoHXw xMcsOD3TLxviXgVkJB9aVptczt+//C/gJ0NLoTpAMVWeTd5IXbH4iE+a8DxtrMJa4ZKu Sq7fB0zxFk0Ai3Fd7Ch3hqB3qdtWnG34alomnVooMZfvg9BXzAcu5bHUHdYlyRwUPges PizQ==
Received: by 10.60.12.99 with SMTP id x3mr17480467oeb.27.1351730128892; Wed, 31 Oct 2012 17:35:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.176.106 with HTTP; Wed, 31 Oct 2012 17:35:07 -0700 (PDT)
In-Reply-To: <5091907E.3090206@isi.edu>
References: <201210161245.q9GCj0i26478@ftpeng-update.cisco.com> <E1829B60731D1740BB7A0626B4FAF0A65E0DEDF3A2@XCH-NW-01V.nw.nos.boeing.com> <507DA6A3.20807@inex.ie> <E1829B60731D1740BB7A0626B4FAF0A65E0DEDF3C3@XCH-NW-01V.nw.nos.boeing.com> <507DAB13.2010704@inex.ie> <E1829B60731D1740BB7A0626B4FAF0A65E0DEDF3CE@XCH-NW-01V.nw.nos.boeing.com> <507DDF8A.9010607@inex.ie> <E1829B60731D1740BB7A0626B4FAF0A65E0DEDF5AB@XCH-NW-01V.nw.nos.boeing.com> <BB219517-B488-4777-AE9C-35C57BE91263@kumari.net> <E1829B60731D1740BB7A0626B4FAF0A65E0DEDF778@XCH-NW-01V.nw.nos.boeing.com> <507F265E.6030000@inex.ie> <E1829B60731D1740BB7A0626B4FAF0A65E0DF5BFAE@XCH-NW-01V.nw.nos.boeing.com> <507F32DA.30600@inex.ie> <E1829B60731D1740BB7A0626B4FAF0A65E0DF5BFC3@XCH-NW-01V.nw.nos.boeing.com> <E1829B60731D1740BB7A0626B4FAF0A65E0DF5C234@XCH-NW-01V.nw.nos.boeing.com> <8C48B86A895913448548E6D15DA7553B18E941@xmb-rcd-x09.cisco.com> <5091907E.3090206@isi.edu>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Thu, 01 Nov 2012 09:35:07 +0900
Message-ID: <CAKD1Yr2nzYmH07b=FXC4wQmYjC85vc6Sp2SzCsLVc8p7o_ayrg@mail.gmail.com>
To: Joe Touch <touch@isi.edu>
Content-Type: multipart/alternative; boundary="e89a8ff256102a31a804cd643219"
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnZVmbvzvH1TUC/t+xAdkqDsjZK+0kO3w7/fvUAIXi07BJhZULQixb5hS3YR6A/BAQFn1aIMkylQwAZBYWMvWYQ8AgXvNitvRC08Gwl49kN5yh98CL4PfbzyE3yjKkUKF2+y8GkYT4hDnKvaAdvWORi4vkfXXgML0J4oTZ6KtoDz88fi1fxW6LkwwF0f0C86Vp25iXu
Cc: "v6ops@ietf.org" <v6ops@ietf.org>, "draft-taylor-v6ops-fragdrop@tools.ietf.org" <draft-taylor-v6ops-fragdrop@tools.ietf.org>
Subject: Re: [v6ops] new draft: draft-taylor-v6ops-fragdrop
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
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: Thu, 01 Nov 2012 00:35:30 -0000

On Thu, Nov 1, 2012 at 5:56 AM, Joe Touch <touch@isi.edu> wrote:

> I'm wondering whether routers that drop fragments do so only when that's
> the first option, or do they just drop packets with *any* options?
>

Routers just do what operators configure them to do.

Operators who want to have their routers do things like:

- Attack (e.g., SYN flood) rate-limiting
- Stateless ACL processing for security purposes
- QoS classification
- ... and so on

configure their routers to look at upper-layer headers. If the routers
cannot parse the extension header chain but only look at the next header
value in the IPv6 header, then the operators have a choice:

1. Give up the above functionality.
2. Drop all packets with extension headers.

It's not just the fragment header, it's all extension headers. The fragment
header is just the most important one.

In general: I'm not an expert, but I think the situation where processing
an IPv6 packet may require 8 or 10 lookups, arbitrarily spaced within a
1500-byte packet, is not easy to implement in hardware. It doesn't work on
today's architectures, and I suspect supporting it might increase the cost
of forwarding hardware

Supporting extension header chain parsing at anything other than wire speed
exposes operators to a resource exhaustion attacks where attackers can
increase load on routers (e.g., force packets to be software switched)
simply by sending legitimate packets with lots of extension headers. So
really it's not practical to say that you can simply provision / build for
partial load since "packets with lots of extension headers are rare".