Re: [DNSOP] draft-ietf-dnsop-extended-error code options

Joe Abley <jabley@hopcount.ca> Mon, 13 November 2017 21:19 UTC

Return-Path: <jabley@hopcount.ca>
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 39DC212945C for <dnsop@ietfa.amsl.com>; Mon, 13 Nov 2017 13:19:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hopcount.ca
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 qTlAqiUuydkr for <dnsop@ietfa.amsl.com>; Mon, 13 Nov 2017 13:19:33 -0800 (PST)
Received: from mail-pf0-x22b.google.com (mail-pf0-x22b.google.com [IPv6:2607:f8b0:400e:c00::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 C2A4C1201F8 for <dnsop@ietf.org>; Mon, 13 Nov 2017 13:19:33 -0800 (PST)
Received: by mail-pf0-x22b.google.com with SMTP id l24so313030pfj.6 for <dnsop@ietf.org>; Mon, 13 Nov 2017 13:19:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hopcount.ca; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=n1ldU3YwjVTrI83zEZaWy3hUHUQS+8i66mcj3JbOIyo=; b=i1XP4/dRQ0b3civO3GbA82AnqOSdeUaa1384cwNOWVF7e1GBacSVueWoJBGPY7B1kd zzUplVllE4Ts2EBuA/hpzbUz8frLyEzlLfZkTalNmb/6bpinMb2Jiy8U6qGj72NfEKzj jl3ex0hReAaVJ/2P1CLfHDPMl8Wr65iVTnLHM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=n1ldU3YwjVTrI83zEZaWy3hUHUQS+8i66mcj3JbOIyo=; b=OYzeae5xsHRDQ5AdODMaWlj5EvtPz+OGLfk+bV4mz96nVM/sNMojhx5S+5188agGDj hKxy4k8XTZxYuRZ9T9dYIFw2LQvQmrSiMzu6oZc5SI0XoUX1kZ32od6RAejyjbPASu6k 7mBfDoS6GrS9EAInFDICN/7oiJgmlOLNlizxKUp9BCyUWSrH7t/ELHjjh0B/tFpim8/x VgfmZ84Fi35Pz14vmf970wnRP+CIB4tOYRID/mqN934CW0A59BsorONNTlyrdYaJiXCg Z7zvAWkwQw0No4yHSMTxODkx9pUJ3ZmrKe8nkatK565jtrk6fISspvlgK26Z0/BDQYcZ ogXw==
X-Gm-Message-State: AJaThX4AXRGFoakCjRPzao8s8qecLkUwS9pU0bPS2AdkmNFNwZMQryJD 64wk3X2Fx8uGgyTPmRPs+CSVsQ==
X-Google-Smtp-Source: AGs4zMZ1FBOL/z6C5BbYp0qSUfpJCr1uP80ax0ZskOhOMIEx7DjN0eeHs71nTa/yALQWqBS2JLX9Tw==
X-Received: by 10.98.58.199 with SMTP id v68mr11425604pfj.44.1510607973217; Mon, 13 Nov 2017 13:19:33 -0800 (PST)
Received: from [31.133.149.171] (dhcp-95ab.meeting.ietf.org. [31.133.149.171]) by smtp.gmail.com with ESMTPSA id g7sm34941827pfj.13.2017.11.13.13.19.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 13:19:32 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (1.0)
From: Joe Abley <jabley@hopcount.ca>
X-Mailer: iPad Mail (15B150)
In-Reply-To: <26DB1BD1-A877-482A-83B3-7A7F673AAB4A@apnic.net>
Date: Tue, 14 Nov 2017 05:19:30 +0800
Cc: tjw ietf <tjw.ietf@gmail.com>, dnsop <dnsop@ietf.org>, Wes Hardaker <wjhns1@hardakers.net>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3FFE9D39-DD16-4863-9F9B-46D585F90BF1@hopcount.ca>
References: <yblpo9md8fk.fsf@wu.hardakers.net> <CADyWQ+G-e+zqGkFK7vPQdXBDRvyv-Gxw75N1z+A6L8ULR=+izQ@mail.gmail.com> <26DB1BD1-A877-482A-83B3-7A7F673AAB4A@apnic.net>
To: Geoff Huston <gih@apnic.net>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/rR0r9_qR1k4qg4jXG84yqm_ldD0>
Subject: Re: [DNSOP] draft-ietf-dnsop-extended-error code options
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 13 Nov 2017 21:19:35 -0000

Hi Geoff,

I think the number 4 on the slide was different from the one in the mail.

The option on the slide that I mentioned I liked the most was the one that didn't copy the RCODE value from the header, but in effect provided a 16/32/whatever-bit sub-code for whatever the RCODE happened to be.

So, for each permissible value of the RCODE field, this new field would provide additional information that was relevant to that value.

Compared to the other options presented, this avoids having to specify behaviour for all the unhelpful corner cases of RCODE in message header doesn't match the copy in the new field, new field value (e.g. "validation failed" or something) doesn't make sense for this particular RCODE (e.g. "NOERROR"), etc.


Joe

> On Nov 13, 2017, at 19:01, Geoff Huston <gih@apnic.net> wrote:
> 
> 
>> On 13 Nov 2017, at 9:43 pm, tjw ietf <tjw.ietf@gmail.com> wrote:
>> 
>> To follow up from the meeting this morning,  it sounded from the room that in the case of these 
>> four options, #4 was the one which makes the most sense.   
>> 
>> 
> …..
> 
>> 
>>  4. 32 bit code field, repeating rcode from elsewhere in the packet
>>     Like #2, but copies the rcode directly into the error code header
>>     within the extended-error component of the packet.  Redundant but
>>     clear that the entire 32 bits are needed.
>> 
>> Thoughts?
> 
> 
> errr - what would it mean if the rcode in the error code header differed
> from the rcode value in the extended-error component?
> 
> The issue with duplicated information in a packet is that you then have
> add even further consideration to cope with the cases where the expected
> thing did not happen.
> 
> Not exactly blown away by #4 myself.
> 
> Geoff
> 
> 
> 
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop