[Ntp] Re: [EXT] [EXT] Re: Server identifier ID Extension Field

"Windl, Ulrich" <u.windl@ukr.de> Tue, 21 July 2026 08:19 UTC

Return-Path: <prvs=6550100d5=u.windl@ukr.de>
X-Original-To: ntp@mail2.ietf.org
Delivered-To: ntp@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 0D4C811B22D8D for <ntp@mail2.ietf.org>; Tue, 21 Jul 2026 01:19:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1784621991; bh=8xBxk4Aj6yITBPn453K7DZOOZFz4l3KQHFxvrJqg6OA=; h=From:To:Subject:Date:References:In-Reply-To; b=scEhiAt7u7N7dtu/G6x7WdlgTVn5xZmJGS99peDgSaVwwlECxgIULF0aDiHoLc8AO VhT91ZDNoIRJMWGHAIkYrFvmDImDVqdsDiA0RKopaoLa4SCz+69TrTee+DD73iE9NU Ij8D1RsYAod3Go7f3m1C84yIDOOxTXQCKEbCcuYo=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=ukr.de
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fijH3u_8LDcZ for <ntp@mail2.ietf.org>; Tue, 21 Jul 2026 01:19:50 -0700 (PDT)
Received: from mail02.ukr.de (mail02.ukr.de [193.175.194.182]) (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 mail2.ietf.org (Postfix) with ESMTPS id 452D711B22D80 for <ntp@ietf.org>; Tue, 21 Jul 2026 01:19:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ukr.de; i=@ukr.de; q=dns/txt; s=ukr; t=1784621990; x=1816157990; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=8xBxk4Aj6yITBPn453K7DZOOZFz4l3KQHFxvrJqg6OA=; b=YjvMzZwOV1L+Ij38s2OqSZYvE/oQ0jS8W/g8hsE6HnqT/53E3BOhkDRq HKcrCVbENRHLbnKqcia07cH0WFhPqIDBbOUsXycNYRv51fhiMt/Zi0FkN EXYimPEDksElHvrIgoAannvEB8Q2rhFBSU5moyOEeYv6l8wQ5ZV4lSk1m kEnhgMQpO4q/Naqx3MECFW7n0p68H6tZPcD7ELPB0WEy3b2nNsfnD38mg 0VrMzzqBw49JS3ifs6toWYHEeCrS1c6caUSNpZIYxeMlzWnCf3aU3NGcC UAmpbFbzRphUfGZdGR0d7JAysRGtr5TJ9ESNFpRg/9KKwM0ty1OL8W8lo g==;
X-CSE-ConnectionGUID: 9zvrNMtsR/+8Em8gVloKUw==
X-CSE-MsgGUID: 4IJoSa5oQhWua+gKJTCU2A==
X-ThreatScanner-Verdict: Negative
X-IronPort-AV: E=McAfee;i="6800,10657,11852"; a="9437655"
X-IronPort-AV: E=Sophos;i="6.25,176,1779141600"; d="scan'208";a="9437655"
Received: from unknown (HELO ukr.de) ([172.24.2.106]) by dmz-infcsg02.ukr.dmz with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2026 10:19:49 +0200
Received: from ukr-excmb07.ukr.local (172.24.2.107) by ukr-excmb06.ukr.local (172.24.2.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Tue, 21 Jul 2026 10:19:48 +0200
Received: from ukr-excmb07.ukr.local ([fe80::4dee:3e0b:b33f:60ac]) by ukr-excmb07.ukr.local ([fe80::4dee:3e0b:b33f:60ac%8]) with mapi id 15.02.2562.045; Tue, 21 Jul 2026 10:19:48 +0200
From: "Windl, Ulrich" <u.windl@ukr.de>
To: "Giovane C. M. Moura" <giovane.moura=40sidn.nl@dmarc.ietf.org>, Miroslav Lichvar <mlichvar=40redhat.com@dmarc.ietf.org>, "ntp@ietf.org" <ntp@ietf.org>
Thread-Topic: [EXT] [EXT] [Ntp] Re: Server identifier ID Extension Field
Thread-Index: AQHdFO5VV8+pn08PGEKodcsXwNs1LbZvu7MAgAfsxKA=
Date: Tue, 21 Jul 2026 08:19:48 +0000
Message-ID: <2fd53b18a846424283d94f615936c75b@ukr.de>
References: <a5115529-0e8e-4609-bed1-964566a4356b@sidn.nl> <CAJm83bD_T3wKE9DksG2d4nWD+6h4uZYr_pe-dmMk1fF1okg6fQ@mail.gmail.com> <05213a22-5b99-4355-b93a-e43311d0f281@sidn.nl> <CAD4huA5zh2Q4PVbShA3GhUZrMPyDbd=BvbOZJYVAAnnHrcr1ig@mail.gmail.com> <6203b440-8445-4b56-98a8-e468ec9bb50c@sidn.nl> <CAD4huA75cY+HCHNeYP621QCvpRdXy97Rms+sHBbmu_pjHfVfFA@mail.gmail.com> <7b30d0e9-40a9-40a9-83d7-47428a313279@sidn.nl> <aleH3kY8gf0_P6ZY@localhost> <4258b332-9ae7-4097-8f14-71bf61014a9c@pdmconsulting.net> <alh9WWgFBTjb_xr8@localhost> <5e405213-45b4-48b3-9a56-43c43f43304e@sidn.nl>
In-Reply-To: <5e405213-45b4-48b3-9a56-43c43f43304e@sidn.nl>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.24.3.1]
x-tm-snts-smtp: F8F14E151FB60B7EA6B9EAA6F677C26B58689981A86B7576488AF794EFA86C622000:8
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Message-ID-Hash: DSTDWBPTKSX54BUDLRPJAP7ANFS2HIIY
X-Message-ID-Hash: DSTDWBPTKSX54BUDLRPJAP7ANFS2HIIY
X-MailFrom: prvs=6550100d5=u.windl@ukr.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ntp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Ntp] Re: [EXT] [EXT] Re: Server identifier ID Extension Field
List-Id: Network Time Protocol <ntp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/5Jv4f0-P5o-VDg8wzvLyqvPKU6g>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Owner: <mailto:ntp-owner@ietf.org>
List-Post: <mailto:ntp@ietf.org>
List-Subscribe: <mailto:ntp-join@ietf.org>
List-Unsubscribe: <mailto:ntp-leave@ietf.org>

Hi!

Please don't name it "server ID": An ID has no semantic other than being unique and permanent.
What you are talking about is "system information". That's a different thing.

Kind regards,
Ulrich Windl

> -----Original Message-----
> From: Giovane C. M. Moura <giovane.moura=40sidn.nl@dmarc.ietf.org>
> Sent: Thursday, July 16, 2026 11:15 AM
> To: Miroslav Lichvar <mlichvar=40redhat.com@dmarc.ietf.org>; ntp@ietf.org
> Subject: [EXT] [EXT] [Ntp] Re: Server identifier ID Extension Field
> 
> Sicherheits-Hinweis: Diese E-Mail wurde von einer Person außerhalb des UKR
> gesendet. Seien Sie vorsichtig vor gefälschten Absendern, wenn Sie auf Links
> klicken, Anhänge öffnen oder weitere Aktionen ausführen, bevor Sie die
> Echtheit überprüft haben.
> 
> 
> > The server ID proposed in this thread is not for loop detection. It's
> > supposed to be a text string set by the admin, an optional feature.
> See section 3.1 in RFC5001.
> 
> 3.1.  The NSID Payload
> 
>     The syntax and semantics of the content of the NSID option are
>     deliberately left outside the scope of this specification.
> 
>     Choosing the NSID content is a prerogative of the server
>     administrator.  The server administrator might choose to encode the
>     NSID content in such a way that the server operator (or clients
>     authorized by the server operator) can decode the NSID content to
>     obtain more information than other clients can.  Alternatively, the
>     server operator might choose unencoded NSID content that is equally
>     meaningful to any client.
> 
>     This section describes some of the kinds of data that server
>     administrators might choose to provide as the content of the NSID
>     option, and explains the reasoning behind specifying a simple opaque
>     byte string in Section 2.3.
> 
> 
> 
> Austein                     Standards Track                     [Page 4]
> RFC 5001                        DNS NSID                     August 2007
> 
> 
>     There are several possibilities for the payload of the NSID option:
> 
>     o  It could be the "real" name of the specific name server within the
>        name server pool.
> 
>     o  It could be the "real" IP address (IPv4 or IPv6) of the name
>        server within the name server pool.
> 
>     o  It could be some sort of pseudo-random number generated in a
>        predictable fashion somehow using the server's IP address or name
>        as a seed value.
> 
>     o  It could be some sort of probabilistically unique identifier
>        initially derived from some sort of random number generator then
>        preserved across reboots of the name server.
> 
>     o  It could be some sort of dynamically generated identifier so that
>        only the name server operator could tell whether or not any two
>        queries had been answered by the same server.
> 
>     o  It could be a blob of signed data, with a corresponding key which
>        might (or might not) be available via DNS lookups.
> 
>     o  It could be a blob of encrypted data, the key for which could be
>        restricted to parties with a need to know (in the opinion of the
>        server operator).
> 
>     o  It could be an arbitrary string of octets chosen at the discretion
>        of the name server operator.
> 
>     Each of these options has advantages and disadvantages:
> 
>     o  Using the "real" name is simple, but the name server may not have
>        a "real" name.
> 
>     o  Using the "real" address is also simple, and the name server
>        almost certainly does have at least one non-anycast IP address for
>        maintenance operations, but the operator of the name server may
>        not be willing to divulge its non-anycast address.
> 
>     o  Given that one common reason for using anycast DNS techniques is
>        an attempt to harden a critical name server against denial of
>        service attacks, some name server operators are likely to want an
>        identifier other than the "real" name or "real" address of the
>        name server instance.
> 
>     o  Using a hash or pseudo-random number can provide a fixed length
>        value that the resolver can use to tell two name servers apart
> 
> 
> 
> Austein                     Standards Track                     [Page 5]
> RFC 5001                        DNS NSID                     August 2007
> 
> 
>        without necessarily being able to tell where either one of them
>        "really" is, but makes debugging more difficult if one happens to
>        be in a friendly open environment.  Furthermore, hashing might not
>        add much value, since a hash based on an IPv4 address still only
>        involves a 32-bit search space, and DNS names used for servers
>        that operators might have to debug at 4am tend not to be very
>        random.
> 
>     o  Probabilistically unique identifiers have properties similar to
>        hashed identifiers, but (given a sufficiently good random number
>        generator) are immune to the search space issues.  However, the
>        strength of this approach is also its weakness: there is no
>        algorithmic transformation by which even the server operator can
>        associate name server instances with identifiers while debugging,
>        which might be annoying.  This approach also requires the name
>        server instance to preserve the probabilistically unique
>        identifier across reboots, but this does not appear to be a
>        serious restriction, since authoritative nameservers almost always
>        have some form of non-volatile storage.  In the rare case of a
>        name server that does not have any way to store such an
>        identifier, nothing terrible will happen if the name server
>        generates a new identifier every time it reboots.
> 
>     o  Using an arbitrary octet string gives name server operators yet
>        another setting to configure, or mis-configure, or forget to
>        configure.  Having all the nodes in an anycast name server
>        constellation identify themselves as "My Name Server" would not be
>        particularly useful.
> 
>     o  A signed blob is not particularly useful as an NSID payload unless
>        the signed data is dynamic and includes some kind of replay
>        protection, such as a timestamp or some kind of data identifying
>        the requestor.  Signed blobs that meet these criteria could
>        conceivably be useful in some situations but would require
>        detailed security analysis beyond the scope of this document.
> 
>     o  A static encrypted blob would not be particularly useful, as it
>        would be subject to replay attacks and would, in effect, just be a
>        random number to any party that does not possess the decryption
>        key.  Dynamic encrypted blobs could conceivably be useful in some
>        situations but, as with signed blobs, dynamic encrypted blobs
>        would require detailed security analysis beyond the scope of this
>        document.
> 
> 
> 
> /giovane
> 
> _______________________________________________
> ntp mailing list -- ntp@ietf.org
> To unsubscribe send an email to ntp-leave@ietf.org