Re: [dhcwg] recommendation on DHCP6 source port numbers

Ole Troan <otroan@employees.org> Fri, 01 March 2024 10:56 UTC

Return-Path: <otroan@employees.org>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB343C14F6E3 for <dhcwg@ietfa.amsl.com>; Fri, 1 Mar 2024 02:56:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=employees.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2HgwMp89m56J for <dhcwg@ietfa.amsl.com>; Fri, 1 Mar 2024 02:56:06 -0800 (PST)
Received: from proxmox01.kjsl.com (proxmox01.kjsl.com [IPv6:2607:7c80:54:6::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60164C14F691 for <dhcwg@ietf.org>; Fri, 1 Mar 2024 02:56:01 -0800 (PST)
Received: from proxmox01.kjsl.com (localhost.localdomain [127.0.0.1]) by proxmox01.kjsl.com (Proxmox) with ESMTP id 1BAA3E37DD; Fri, 1 Mar 2024 10:56:00 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=employees.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=prox2023; bh=/mFqQmlx9hagUMJ6 bbcIR8Egr2Uragi6v59Z/1FjMGU=; b=lXI0TaOFi8nolwBv3LmmxKTIAiPXTJsI UWcl3h7UQ8xen6Rng0GPjrwdtn1Lz1JRH4aJ4xqE76DquZdFCX+RqEu6c2xuwZJg 7s5agXyHjp3lViiBcYRZ7HPQyxaKTbBE3T2v1NQ38mIJg0mkuJvPQ1XEdYBqFGzk vjwia1WZ/L/KsDZ3+ddUnXZ9o+mmQ4lV22S64Ae3LoayzNjJIOEoyM90GltN6Dhg 51fWUslANAIGnBcHUmvAJQq2VveX7ot7uRgXTT7l9Tq3UvVbtYGe7Aq7CgPVUTPO cisTzqL4CU2Hh5knnCP8JJM2AlvHzTfC5kzn9JgWh0lQTmkbvOVXzA==
Received: from clarinet.employees.org (clarinet.employees.org [IPv6:2607:7c80:54:3::74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by proxmox01.kjsl.com (Proxmox) with ESMTPS id F0E54E37D0; Fri, 1 Mar 2024 10:55:59 +0000 (UTC)
Received: from smtpclient.apple (ti0389q160-5480.bb.online.no [95.34.1.168]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by clarinet.employees.org (Postfix) with ESMTPSA id 1EBFE4E1297E; Fri, 1 Mar 2024 10:55:58 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
From: Ole Troan <otroan@employees.org>
In-Reply-To: <E34659EE-1EFF-4B26-8C30-9E6C94715508@gmail.com>
Date: Fri, 01 Mar 2024 11:55:46 +0100
Cc: Tomoyuki Sahara <tsahara@iij.ad.jp>, Lorenzo Colitti <lorenzo@google.com>, dhcwg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <2D11BD95-831F-4F19-A4DE-17C1D15F9E42@employees.org>
References: <20240301.132600.531322798554788835.tsahara@iij.ad.jp> <E34659EE-1EFF-4B26-8C30-9E6C94715508@gmail.com>
To: Bernie Volz <bevolz@gmail.com>
X-Mailer: Apple Mail (2.3774.400.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/smb_DQTLP0jprLYr9O1ionmDTOs>
Subject: Re: [dhcwg] recommendation on DHCP6 source port numbers
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Dynamic Host Configuration <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Mar 2024 10:56:10 -0000

>> (b) sends response messages to the source port of the request message.
> 
> This server is broken and needs to follow the RFC.
> 
> Yes, you could fix this by changing client to send from 546 source port. But it is server that is broken and should be fixed.
> 
> And it is usually a lot easier to fix (& update) a few servers than lots of clients.

Which text in RFC8415 does such a server violate?

RFC768 says:
Source Port is an optional field, when meaningful, it indicates the port
of the sending process, and may be assumed to be the port to which a
reply should be addressed in the absence of any other information. If
not used, a value of zero is inserted.


So unless there is text in RFC8414 (or someone has already implemented BOOTP) it would be fair to assume you’d just swap source and dest ports.

O.