[Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 Spec
Miroslav Lichvar <mlichvar@redhat.com> Wed, 25 June 2025 08:48 UTC
Return-Path: <mlichvar@redhat.com>
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 1691139237BC for <ntp@mail2.ietf.org>; Wed, 25 Jun 2025 01:48:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com
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 3yN9TlTUcW3Z for <ntp@mail2.ietf.org>; Wed, 25 Jun 2025 01:48:19 -0700 (PDT)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 B058639237B7 for <ntp@ietf.org>; Wed, 25 Jun 2025 01:48:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1750841299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pqTW3o8uWNitK3VdjxF5Aj+F8QB+weJoOO2C0zHWSSw=; b=L+roqVkVWLhnAdSOjIoGjPWNbubyEEop1ZPcpuXIOWws2ah8SOSd6ugSByAiQ2TnpdsFn5 zDZzcD+rk33aOHC5JKOICEJUMNe/ulYJ4v/vD0V3zGwpuiFOdPUhzKB/txHAXinSTvCt9Y wu0jzRbuYL3z1KDK21aEslBMuKYVsWs=
Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-626-yNdlShHuOqeNIOb-NqHXkQ-1; Wed, 25 Jun 2025 04:48:18 -0400
X-MC-Unique: yNdlShHuOqeNIOb-NqHXkQ-1
X-Mimecast-MFC-AGG-ID: yNdlShHuOqeNIOb-NqHXkQ_1750841297
Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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 mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1518C180123B; Wed, 25 Jun 2025 08:48:17 +0000 (UTC)
Received: from localhost (unknown [10.43.135.229]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2C2C419560B0; Wed, 25 Jun 2025 08:48:15 +0000 (UTC)
Date: Wed, 25 Jun 2025 10:48:13 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Richard Laager <rlaager=40wiktel.com@dmarc.ietf.org>
Message-ID: <aFu3zbpBJdHrPv_N@localhost>
References: <CABUE3XnmGz1RBOMN85TsBuHdtNftWa3VmsADbaFobE25HF4HJQ@mail.gmail.com> <06aa16433bb84d7c97b4e7117cb38a6b@ukr.de> <aFFidI8-f7-w09d-@localhost> <61f23369a3c449c48c01368cf8bc3019@ukr.de> <CWLP265MB65960581905B4FA2270AAF4FC17CA@CWLP265MB6596.GBRP265.PROD.OUTLOOK.COM> <aFlVXvD1LCiaO-Gd@localhost> <b51a62e2-ee1b-4460-bddf-6bdf916c5c68@wiktel.com> <0f03fbaa4c3147fb8fd0af78565174f6@ukr.de> <aFpzoSP19T4SxsXE@localhost> <52a08ff0-3443-4d39-859b-4ac618e2885e@wiktel.com>
MIME-Version: 1.0
In-Reply-To: <52a08ff0-3443-4d39-859b-4ac618e2885e@wiktel.com>
X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12
X-Mimecast-Spam-Score: 0
X-Mimecast-MFC-PROC-ID: RXexBqoQk4_OL807f_zjobavvcQGiHsZeIRoYWV2KuE_1750841297
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
Message-ID-Hash: VC25H64SIFQFUHPDSVG5XW5OVFWSQNXQ
X-Message-ID-Hash: VC25H64SIFQFUHPDSVG5XW5OVFWSQNXQ
X-MailFrom: mlichvar@redhat.com
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
CC: ntp@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 Spec
List-Id: Network Time Protocol <ntp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/0IO8yXesXVO-RTLiqJ365wrfJms>
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>
On Tue, Jun 24, 2025 at 11:38:45PM -0500, Richard Laager wrote: > Maybe repeated KoD should result in the client giving up? On the other hand, > is that worthwhile? If the client got the server's IP from DNS (pool or > otherwise), presumably that entry has changed or been removed. So if the > client just re-resolves every so often, that solves the whole thing anyway. > If the IP has been hardcoded in the configuration, I suppose a KoD can > reduce the amount of queries, but it's never going to be able to make it > stop completely. Even if the client NTP daemon stopped querying, once that > daemon restarts, the config is still there and it'll start again. Some existing (S)NTPv4 clients save the address of the server that responded with a DENY/RSTR KoD to a file and will not poll it again until the admin removes the file. That follows RFC 5905, but it's not very practical. Even if it was a genuine/authenticated response and the server does not change its policy, the IP address could change the owner and there might be a public server running again at some point in the future. >From the client's point of view, if it doesn't have any other addresses to try, it can either give up completely, or poll the address at a reduced rate, hoping it will start working again. > So probably the KoD => "minimum allowed interval" + a MUST to re-resolve DNS > every week or two is sufficient. Should it really be a MUST? That feels too strong to me. Also, can we make any recommendations for the maximum accepted poll value (the minimum allowed interval)? I think it should depend on whether the response is authenticated. Accepting a poll of 25 (~1 year) from an unauthenticated response is almost certainly wrong. Even for an authenticated response it should be limited to maybe at most to 18 (~3 days)? > From what I've seen as a victim, the amplification is generally mode 7 (and > maybe mode 6) replies. For example, (maybe only) monlist. Do you have a capture of the traffic you could check? It would be very interesting to see what modes and commands are now used in the amplification attacks. -- Miroslav Lichvar
- [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 … Miroslav Lichvar
- [Ntp] Re: [EXT] NTPv5 Requirements vs. NTPv5 Spec Windl, Ulrich
- [Ntp] Re: [EXT] Re: Re: NTPv5 Requirements vs. NT… Miroslav Lichvar
- [Ntp] Re: [EXT] Re: Re: NTPv5 Requirements vs. NT… Mike Ellis
- [Ntp] Re: NTPv5 Requirements vs. NTPv5 Spec Richard Laager
- [Ntp] NTPv5 Requirements vs. NTPv5 Spec Tal Mizrahi
- [Ntp] Re: [EXT] NTPv5 Requirements vs. NTPv5 Spec Miroslav Lichvar
- [Ntp] Re: [EXT] Re: Re: NTPv5 Requirements vs. NT… Windl, Ulrich
- [Ntp] Re: [EXT] Re: Re: NTPv5 Requirements vs. NT… Tal Mizrahi
- [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 … Windl, Ulrich
- [Ntp] Re: NTPv5 Requirements vs. NTPv5 Spec Windl, Ulrich
- [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 … Miroslav Lichvar
- [Ntp] Re: NTPv5 Requirements vs. NTPv5 Spec Miroslav Lichvar
- [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 … Richard Laager
- [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 … Richard Laager
- [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 … Miroslav Lichvar
- [Ntp] NTP DDoS Attacks (Was: Re: NTPv5 Requiremen… Richard Laager
- [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 … Richard Laager
- [Ntp] Re: [EXT] Re: NTPv5 Requirements vs. NTPv5 … Daniel Franke
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Dave Hart
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Richard Laager
- [Ntp] Re: [EXT] Re: Re: NTPv5 Requirements vs. NT… Dave Hart
- [Ntp] Re: [EXT] Re: Re: NTPv5 Requirements vs. NT… Daniel Franke
- [Ntp] Re: NTPv5 Requirements vs. NTPv5 Spec Daniel Franke
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Dave Hart
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Richard Laager
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Dave Hart
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Richard Laager
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Dave Hart
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Hal Murray
- [Ntp] Re: [EXT] Re: Re: Re: Re: NTPv5 Requirement… Windl, Ulrich
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Miroslav Lichvar
- [Ntp] Re: [EXT] Re: Re: Re: Re: NTPv5 Requirement… Dave Hart
- [Ntp] Re: [EXT] Re: Re: Re: Re: Re: NTPv5 Require… Windl, Ulrich
- [Ntp] Re: NTP DDoS Attacks (Was: Re: NTPv5 Requir… Dave Hart
- [Ntp] Re: [EXT] Re: Re: Re: Re: Re: NTPv5 Require… Dave Hart
- [Ntp] Re: NTP DDoS Attacks Richard Laager
- [Ntp] Re: [EXT] NTP DDoS Attacks (Was: Re: NTPv5 … Windl, Ulrich
- [Ntp] Re: NTP DDoS Attacks Dave Hart