[dnsext] [Technical Errata Reported] RFC2782 (8120)
RFC Errata System <rfc-editor@rfc-editor.org> Wed, 25 September 2024 13:52 UTC
Return-Path: <wwwrun@rfcpa.rfc-editor.org>
X-Original-To: dnsext@ietf.org
Delivered-To: dnsext@ietfa.amsl.com
Received: from rfcpa.rfc-editor.org (unknown [167.172.21.234]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5573AC14F5F1; Wed, 25 Sep 2024 06:52:54 -0700 (PDT)
Received: by rfcpa.rfc-editor.org (Postfix, from userid 461) id C1CAD3B873; Wed, 25 Sep 2024 06:52:53 -0700 (PDT)
To: arnt@troll.no, levone@microsoft.com, ek.ietf@gmail.com, evyncke@cisco.com, ogud@ogud.com, ajs@anvilwalrusden.com
From: RFC Errata System <rfc-editor@rfc-editor.org>
Content-Type: text/plain; charset="UTF-8"
Message-Id: <20240925135253.C1CAD3B873@rfcpa.rfc-editor.org>
Date: Wed, 25 Sep 2024 06:52:53 -0700
Message-ID-Hash: IU4XDKL4AIAQ5GFKBHG53KIOBSBOG3OG
X-Message-ID-Hash: IU4XDKL4AIAQ5GFKBHG53KIOBSBOG3OG
X-MailFrom: wwwrun@rfcpa.rfc-editor.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsext.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: tomasz.sniatowski@xperi.com, dnsext@ietf.org, rfc-editor@rfc-editor.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [dnsext] [Technical Errata Reported] RFC2782 (8120)
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsext/ENms8kMh1URhhMF5783k2cOfgG0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsext>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Owner: <mailto:dnsext-owner@ietf.org>
List-Post: <mailto:dnsext@ietf.org>
List-Subscribe: <mailto:dnsext-join@ietf.org>
List-Unsubscribe: <mailto:dnsext-leave@ietf.org>
The following errata report has been submitted for RFC2782, "A DNS RR for specifying the location of services (DNS SRV)". -------------------------------------- You may review the report below and at: https://www.rfc-editor.org/errata/eid8120 -------------------------------------- Type: Technical Reported by: Tomasz Śniatowski <tomasz.sniatowski@xperi.com> Section: Fictional example Original Text ------------- ; foobar - use old-slow-box or new-fast-box if either is ; available, make three quarters of the logins go to ; new-fast-box. _foobar._tcp SRV 0 1 9 old-slow-box.example.com. SRV 0 3 9 new-fast-box.example.com. Corrected Text -------------- ; foobar - use old-slow-box or new-fast-box if either is ; available, make approximately three quarters of the logins ; go to new-fast-box. The actual ratio will be between 3/5 ; and 4/5 due to how the weighing algorithm is specified. _foobar._tcp SRV 0 1 9 old-slow-box.example.com. SRV 0 3 9 new-fast-box.example.com. Notes ----- The comment in the fictional example does not match the weighing algorithm described in the Weight section. Because the running sum is used to generate a random number from 0 to the sum (inclusive), there are (sum + 1) possibilities of the outcome. In the absence of 0-weight records, the first record receives increased pick-chance. A similar concern was brought up in the (rejected) Errata ID: 2984 for RFC2782, which was for the weight section. This errata is for the example only. The ordering of the records is not specified, for non-zero weight records it is explicitly "any order". Thus, for weights 3 and 1, a conforming implementation may: 1) always sort the 1-weight record first, and obtain 2/5 and 3/5 probabilities for 1 and 3 respectively 2) always sort the 3-weight record first, and obtain 1/5 and 4/5 probabilities for 1 and 3 respectively 3) have an random sorting method, obtaining probabilities anywhere between the two above. If a fair random shuffle is used, the probabilities will be 3/10 and 7/10 (the average of 1 and 2 above). It is unlikely for the distribution of results for weights 1 and 3 to be 1/4 and 3/4. This quirk of the algorithm is not obvious, and the example could do better at indicating the factual state. As it is, it is misleading. It is significant in that it may lead someone to believe an implementation is incorrect (not achieving the expected 1/4-3/4 split) when it is implementing the weights algorithm exactly as in the Weights section. Instructions: ------------- This erratum is currently posted as "Reported". (If it is spam, it will be removed shortly by the RFC Production Center.) Please use "Reply All" to discuss whether it should be verified or rejected. When a decision is reached, the verifying party will log in to change the status and edit the report, if necessary. -------------------------------------- RFC2782 (draft-ietf-dnsind-rfc2052bis-05) -------------------------------------- Title : A DNS RR for specifying the location of services (DNS SRV) Publication Date : February 2000 Author(s) : A. Gulbrandsen, P. Vixie, L. Esibov Category : PROPOSED STANDARD Source : DNS Extensions Stream : IETF Verifying Party : IESG
- [dnsext] [Technical Errata Reported] RFC2782 (812… RFC Errata System
- [dnsext] Re: [Technical Errata Reported] RFC2782 … Warren Kumari