Re: [Ntp] Garbage NTP request packets

Erik Kline <ek.ietf@gmail.com> Thu, 24 September 2020 04:34 UTC

Return-Path: <ek.ietf@gmail.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09CF23A17BF for <ntp@ietfa.amsl.com>; Wed, 23 Sep 2020 21:34:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 U4MIGebt-WVS for <ntp@ietfa.amsl.com>; Wed, 23 Sep 2020 21:34:17 -0700 (PDT)
Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) (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 3FF6C3A0C17 for <ntp@ietf.org>; Wed, 23 Sep 2020 21:34:17 -0700 (PDT)
Received: by mail-oo1-xc2a.google.com with SMTP id y25so456372oog.4 for <ntp@ietf.org>; Wed, 23 Sep 2020 21:34:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ikDz7Y9ekea55I56lD8Yi95X8UCfS3vgjm3HYaTbP9c=; b=DDUlAdKn6p074pCVdtRGeVCkZ0Z2+aiKYKx5FZ0mqdTUY3FIP6XdUX4Hk6xq2Yj8KC fsMqT6gq5Juis6z1+nTZj31fD/zYRTJjDfaPTAxDw/9HbBHrZ6MOb6jpcrRbd95/btvt W8xIudUyTmuBGrpA7kRHReRZ22l7fQy2S5nCnuA6YmLQ8ShXTXu+61wh+mPaz70ypAKE iPpiM5jQUqCBIeIO5sFfssvbRloR3UVPjlIN59Y8CkTY+mFKMoQTCa0cdhH4q/K++QH5 7ojdzKboCt3JL/3+CX67fHP1oFeTXwDZfKoJl6WJs4atLh6YzP3Ap2y7pQsOzjtfIPa9 Q5Gw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ikDz7Y9ekea55I56lD8Yi95X8UCfS3vgjm3HYaTbP9c=; b=GsJBCjuQ/rNE78okCENtkfJNV4LOEnoBLEPYWG0gjHTwwD/v9nB5NipmHHVgFBlVws tnGC5W0DKnLH2yFluJRmwTwnYne7mTaGyej1anfmd82HDDAIF5/C97j7aCraD9Ft3cY4 +QJz848MmX/IGw/OyZtRBYTD4GU0UlZjJMX1YCmwQjEUfyxQHrk8g097ij7+19zUHS0f z0TOizsZK01agBb5GyeYAFDYF2pZMBinQvM7cUFeHaiJb7YECYatWwDDg/4WXg0WlRLJ cLSa3ZDhgCan5udXXQXroXpKB236w2xKNX0VmmWeqXCnF8196x9JY3kNHzBQ6P5OrwPC SRwQ==
X-Gm-Message-State: AOAM531iWQi0SO0+3AGhiVIIdwR86HvpKwlJbYE3X9EgJG0Wc1nRKPbW FEmfb0DIs0Rk8lPez71nQLn7+d5kHz0o730XvqI=
X-Google-Smtp-Source: ABdhPJzZJ8xrHSUYUqD1AbvkRQ9bEwt34tv/ks02NDSCBYpTcYYDsZeoEPAWkF0YUFV0DlZMALr8KmtpytunOvemMQA=
X-Received: by 2002:a4a:864b:: with SMTP id w11mr2022286ooh.67.1600922056492; Wed, 23 Sep 2020 21:34:16 -0700 (PDT)
MIME-Version: 1.0
References: <20200923053414.07A4940605C@ip-64-139-1-69.sjc.megapath.net> <20200923084423.GA1398053@localhost> <9340fee2-dfbd-4a40-e9a9-cedc8e6222f2@ntp.org> <CAJm83bAeXOsKuO173Dw8YYGiUc3Qy6_xko6vPosYCOSHddDWBQ@mail.gmail.com> <CACsn0c=O-wH_xLd2-VG4t8yH61ADvv2eHOZCY4RaE2eMUSVUXw@mail.gmail.com>
In-Reply-To: <CACsn0c=O-wH_xLd2-VG4t8yH61ADvv2eHOZCY4RaE2eMUSVUXw@mail.gmail.com>
From: Erik Kline <ek.ietf@gmail.com>
Date: Wed, 23 Sep 2020 21:34:05 -0700
Message-ID: <CAMGpriU+pibLXrwHWu7J2mVDMaPuNZf+DQLvDX5pus2zR_iqVg@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: Daniel Franke <dfoxfranke@gmail.com>, Danny Mayer <mayer@ntp.org>, Miroslav Lichvar <mlichvar@redhat.com>, Hal Murray <hmurray@megapathdsl.net>, NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007d8ad905b007b6c7"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/8abcSVl76FBWHYV0E9BKipeIFes>
Subject: Re: [Ntp] Garbage NTP request packets
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2020 04:34:19 -0000

We do need to recharter the group if it's going to work on NTPv5 ("The goal
of this working group is to document NTPv4..." :-).  We could float the
idea of including operational "care and feeding" of all NTP versions in the
to-be-proposed scope of work.

On Wed, Sep 23, 2020 at 7:18 PM Watson Ladd <watsonbladd@gmail.com> wrote:

> Isn't there a rechartering where we get to define the scope due? I may
> have promised to write a draft charter, but know nothing about such
> matters: will ask around at work.
>
> Such a charter could, AFAIK, include operational issues: I know there
> is a dnsops WG.  Whether or not that's desirable or effective is
> another question, and I'm not aware of other fora for NTP operational
> questions to be discussed. It's certainly something that has to be
> considered in future standardization.
>
> On Wed, Sep 23, 2020 at 3:49 PM Daniel Franke <dfoxfranke@gmail.com>
> wrote:
> >
> > Danny, I agree that Hal's question is slightly off-topic for this list
> > but I can't think of any better forum for it. The people who should
> > see it are all here; I don't they're all anywhere else. Is it worth
> > spinning up a new list for this sort of thing? Something like an
> > implementation-neutral forum for NTP developers and public server
> > operators?
> >
> > On Wed, Sep 23, 2020 at 3:35 PM Danny Mayer <mayer@ntp.org> wrote:
> > >
> > > Was there a working group question in here?
> > >
> > > On 9/23/20 4:44 AM, Miroslav Lichvar wrote:
> > > > On Tue, Sep 22, 2020 at 10:34:13PM -0700, Hal Murray wrote:
> > > >> I noticed that an error counter that was going off more than I
> expected, so I
> > > >> hacked a server to print out a few garbage requests.
> > > > I think that's normal. On my public servers I see all kinds of weird
> > > > requests.
> > > >
> > > >> Ones like this happen often enough to attract my attention.
> > > >>   e3000000 00000000 00000000 00000000
> > > >>   00000000 00000000 00000000 00000000
> > > >>   00000000 00000000 00000000 00000000
> > > >>   00000020 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
> ffffffff
> > > >>
> > > >> The first 3 lines look like a version 4 request.  The last line
> starts to look
> > > >> like a MAC using key 20 (hex) but the HMAC/CMAC part is 28 bytes.
> I haven't
> > > >> setup key 20 and our code doesn't support bare MACs with a total
> length of 32
> > > >> bytes.
> > > > This example looks like a valid NTPv4 request to me. It's not a MAC,
> > > > but an extension field (type 0, length 32 octets).
> > > >
> > > > I have a script for monitoring pool.ntp.org servers that sends
> > > > requests like that (and others) to check various features of the
> > > > server like whether it can respond to an unknown extension field,
> what
> > > > implementation it is running, etc. FWIW, a server that doesn't
> respond
> > > > to a request that has an unknown extension field makes it more
> > > > difficult for clients to detect whether the extension field is
> > > > supported.
> > > >
> > >
> > > _______________________________________________
> > > ntp mailing list
> > > ntp@ietf.org
> > > https://www.ietf.org/mailman/listinfo/ntp
> >
> > _______________________________________________
> > ntp mailing list
> > ntp@ietf.org
> > https://www.ietf.org/mailman/listinfo/ntp
>
>
>
> --
> Astra mortemque praestare gradatim
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>