Re: [DNSOP] draft-ietf-dnsop-no-response-issue-03

Marek Vavruša <mvavrusa@cloudflare.com> Thu, 25 August 2016 18:11 UTC

Return-Path: <mvavrusa@cloudflare.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E13912D563 for <dnsop@ietfa.amsl.com>; Thu, 25 Aug 2016 11:11:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.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 10S49O2rTpUv for <dnsop@ietfa.amsl.com>; Thu, 25 Aug 2016 11:11:25 -0700 (PDT)
Received: from mail-yb0-x22b.google.com (mail-yb0-x22b.google.com [IPv6:2607:f8b0:4002:c09::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 3F93D12D162 for <dnsop@ietf.org>; Thu, 25 Aug 2016 11:11:25 -0700 (PDT)
Received: by mail-yb0-x22b.google.com with SMTP id d10so19238392ybi.1 for <dnsop@ietf.org>; Thu, 25 Aug 2016 11:11:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DmdI0vo8sEGMnZodtmSWTEe0sM+25QDkmvpDn9ZYIGU=; b=jxtZ8N+f4iM20dkBKqIOyqzlxit2Y9A04OOiXW+lehTxCE8OtRwfSXEAnpNMMM0DMD MHUsP4VXhwT9UVn1OB5YYb5BoCgTPJRprbxP5RyWoWYlYaRHItDZrNt9OECb1uU+lS4q FT0Uq/hJzLppA4OzQWZc9KeF6PmJ4F1rR9vDQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DmdI0vo8sEGMnZodtmSWTEe0sM+25QDkmvpDn9ZYIGU=; b=j9EyFGR/hjnH9uwsp4d9YyHPLLV4pNlSXaj05tHPXpL+kzwxuYr0L1Q7YvkrEdfA3G etXn/xWyB3hKN1qA9SZ+v8Fg/d4fLjbxlxQKwYlpALWB7aBNbXSihzjGf1jfCwyZuKpC Ml++uqWtlkyr6UPHm9kp8tlQNS64x1tJ8imEa67dxKLHfIPWzqf1HhBol+jeCSeUt7eG OY7MSIvWojK3oOriao9uZqOzeTGI5RDzL+8ravroARzs14nT0KDGCfu3yMOZCTrg9FFH rrMvdg/v/2YgrjtF3cxE5JfZO2tbwWquCjgqGVnLwnAiHEG3Ia8nZOBAYpJr6inkIVLv 2tlw==
X-Gm-Message-State: AEkoout5VliVCNu58LQY/7uszlC4uKtjH1NnlXkuCWAdV67isRyTm3WQm5StkLbyqzr7pb7DzTnWi+dL5rmeNgCA
X-Received: by 10.37.194.70 with SMTP id s67mr6103418ybf.51.1472148684504; Thu, 25 Aug 2016 11:11:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.164.199 with HTTP; Thu, 25 Aug 2016 11:11:22 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.11.1608251719360.2933@grey.csi.cam.ac.uk>
References: <BC3FCB73-3ECA-4374-8AD5-845A452B6835@icann.org> <20160825043551.GP4670@mournblade.imrryr.org> <20160825072545.36iklvmpcfcpqawg@nic.fr> <CACfw2hjDNQcZo1To2wv=oAhDF1avDwJvA1myG4NgyYjRF95zSg@mail.gmail.com> <alpine.DEB.2.11.1608251203310.14525@grey.csi.cam.ac.uk> <CACfw2hguojqbictc0RvLFQiY=1BVdQ+qA0Ot_ztdZEndHUy+Hg@mail.gmail.com> <alpine.DEB.2.11.1608251719360.2933@grey.csi.cam.ac.uk>
From: Marek Vavruša <mvavrusa@cloudflare.com>
Date: Thu, 25 Aug 2016 11:11:22 -0700
Message-ID: <CAC=TB12DFHmAndeb3fJNYr1sdS6U4GOrAoKZHZUcMfh7WXmrJA@mail.gmail.com>
To: Tony Finch <dot@dotat.at>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/f97pi2EGcSE4naCnxGKDO1Bp1B0>
Cc: dnsop <dnsop@ietf.org>, william manning <chinese.apricot@gmail.com>
Subject: Re: [DNSOP] draft-ietf-dnsop-no-response-issue-03
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2016 18:11:27 -0000

On Thu, Aug 25, 2016 at 9:23 AM, Tony Finch <dot@dotat.at> wrote:
> william manning <chinese.apricot@gmail.com> wrote:
>
>> On Thursday, 25 August 2016, Tony Finch <dot@dotat.at> wrote:
>>
>> > william manning <chinese.apricot@gmail.com <javascript:;>> wrote:
>> >
>> > > I'm with Ed here,  A valid response is silence.
>> >
>> > I think it is important for people producing and deploying DNS server
>> > software and DNS-interfering middleboxes to understand the bad
>> > consequences of dropping queries or responses. If you understand these
>> > effects and still think you can improve things by dropping packets, then
>> > maybe go ahead. But it isn't a simple valid / invalid binary choice.
>>
>> Where does the "badness" occur? The server or resolver?
>
> Both. The resolver suffers extra latency; the server suffers extra traffic
> - even a well-behaved resolver has to retry in this situation.
>
>> The rational for a server to silently ignore a query often revolves
>> around malformed queries ...  Should a server attempt to answer
>> malformed queries or silently drop them?
>
> See section 7 of the draft. It would be reasonable to rate-limit
> responses.
>
> This kind of nuance is what this draft should discuss.
>
> Tony.

+1, there are other implications besides performance. For example
attacker can silence
the NS for victim (either on path or off path with spoofed source
subnet). If successful,
the attacker doesn't have to race NS->victim RTT anymore for
successful cache poisoning.

Marek

> --
> f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/  -  I xn--zr8h punycode
> Trafalgar: In southeast, cyclonic, mainly easterly 6 to gale 8. In northwest,
> northerly or northeasterly 5 or 6, occasionally 7 later. Moderate or rough. In
> southeast, showers. In northwest, thundery showers. In southeast, moderate or
> good. In northwest, good occasionally poor.
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop