Re: [DNSOP] RFC 2136 pre-requisite checks before client authorization checks

Ted Lemon <mellon@fugue.com> Thu, 06 December 2018 15:17 UTC

Return-Path: <mellon@fugue.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 A677A127B92 for <dnsop@ietfa.amsl.com>; Thu, 6 Dec 2018 07:17:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.358
X-Spam-Level:
X-Spam-Status: No, score=-3.358 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.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 039-IblbE3bf for <dnsop@ietfa.amsl.com>; Thu, 6 Dec 2018 07:17:28 -0800 (PST)
Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 1C552126C01 for <dnsop@ietf.org>; Thu, 6 Dec 2018 07:17:28 -0800 (PST)
Received: by mail-qt1-x829.google.com with SMTP id n32so847519qte.11 for <dnsop@ietf.org>; Thu, 06 Dec 2018 07:17:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7PIAAttv2231740Bz1irgPud2a/DruSv3dNuSv6mUms=; b=r09WNFuAeN4GF7qIQmgI51LN1/wwPAo9cuMSYm68Qck05wSzNMDlK4cmrAzZIf3ici M5Z7FMscEjdD7qUCZD2eDzp6YBizQ2pO3Z9wYzs/5+gbbjBIP3wN21CekOxP098zZM+U j4DFKt8sR2eQgJIGpuq2Btshw1bs9K2ou4HmLlYW2dY2C8q07ZHLEvdD7071nv9LxniI AGJnm1mmnlRCYOITe+mYd/geNv7rq9KE30BGl19JQPBt68sA2FM/Hot8fKhap8q9+u1G NaXAVzY8DViE1Y+Ix1w2xDz8Kf9QgctSb1EKmWqpBTmqfDb4VCX9KbpQHmwEXGNbcp66 w6bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7PIAAttv2231740Bz1irgPud2a/DruSv3dNuSv6mUms=; b=O48iMyo7oiWhRqlYYCbmPrUVvLvoskZ4VreqDLdpBUNRzk8mf28ybk+Er2OKee2tZR IIHLz+Gfaqn3DkxpZsmSwezfVu7ceMxwv6IGM9xaPsuNKv76yPkEtyvkCQV+rH/Q2rjZ SGHrPhvQw/cMvx1LgDTMXQDd8MzW7InuG+bxq1VdvRFA5GQv0zwg7d2eWb3xa/NPQd2u q0HF6zR5fRezAQqp54lHANz/kPy0Vev+US5hTaHwRPHq/oyjS8IoDmt0i88dsskd6+fp gubcuOVr8wdOyhkk3lif+AR6PaFUZvs71EUwtt4WcPuV4l1bqMbsh9ywtRj6Cd+C+780 LqTg==
X-Gm-Message-State: AA+aEWZeK8DBFTsXBUfk6b8Gg/wOLj1IbWGUpSOToYYmxdaU6kYp/TnN ka7BoX4CsEs+xZaQBbvVgg/wPvx5DxtBwAU7KqWoQg7+J28=
X-Google-Smtp-Source: AFSGD/VunJRW4lfkv7OYQt2QmQshGaEJ2b5jO7PX/0G3dKu+gxm/ltrwVMRerV1yQwNpmsXoaKhVJyopSXlwSFObqQ8=
X-Received: by 2002:a0c:d4a7:: with SMTP id u36mr26993551qvh.38.1544109447165; Thu, 06 Dec 2018 07:17:27 -0800 (PST)
MIME-Version: 1.0
References: <20181206144504.GA17780@jurassic.lan.banu.com>
In-Reply-To: <20181206144504.GA17780@jurassic.lan.banu.com>
From: Ted Lemon <mellon@fugue.com>
Date: Thu, 06 Dec 2018 07:16:50 -0800
Message-ID: <CAPt1N1=8LY1nuUrkei4q1c9p-=_qQHJZ1NM3O5oBvA0Pr61uOg@mail.gmail.com>
To: muks@mukund.org
Cc: dnsop WG <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000017ef6a057c5bff46"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/G-nlo7hjhnaiugP1WrspkPhaLjg>
Subject: Re: [DNSOP] RFC 2136 pre-requisite checks before client authorization checks
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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, 06 Dec 2018 15:17:33 -0000

Possibly because signature verification is thought to be expensive?

On Thu, Dec 6, 2018 at 6:45 AM Mukund Sivaraman <muks@mukund.org> wrote:

> Hi all
>
> Does anyone know why RFC 2136 sequences pre-requisite checks (section
> 3.2) to be performed before client permission checks (section 3.3)?  It
> seems weird to sequence them in this way, especially as it is cheaper to
> perform client IP address checks (and some zone permission checks)
> earlier in order.
>
> Section 3.3.2 talks about why the client permissions check is in that
> position previous to subsequent actions, but not why it can't be
> performed earlier.
>
>                 Mukund
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop
>