Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Real Programmers think better when playing Adventure or Rogue.


devel / comp.protocols.time.ntp / Re: [questions] Re: embedded space in REFID field of some rawstats records?

SubjectAuthor
* embedded space in REFID field of some rawstats records?Edward McGuire
`* Re: embedded space in REFID field of some rawstats records?Edward McGuire
 `* Re: [questions] Re: embedded space in REFID field of some rawstats records?Harlan Stenn
  `* Re: [questions] Re: embedded space in REFID field of some rawstats records?Edward McGuire
   `* Re: [questions] Re: embedded space in REFID field of some rawstats records?Edward McGuire
    `- Re: [questions] Re: embedded space in REFID field of some rawstats records?Edward McGuire

1
embedded space in REFID field of some rawstats records?

<d77c3bec-2f84-4a25-9fdd-2fc403ae26b3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=524&group=comp.protocols.time.ntp#524

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a05:6214:b01:b0:63c:f590:ce4c with SMTP id u1-20020a0562140b0100b0063cf590ce4cmr10225qvj.12.1690311263836;
Tue, 25 Jul 2023 11:54:23 -0700 (PDT)
X-Received: by 2002:a05:6102:4716:b0:443:60cd:7ab3 with SMTP id
ei22-20020a056102471600b0044360cd7ab3mr88016vsb.7.1690311263500; Tue, 25 Jul
2023 11:54:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Tue, 25 Jul 2023 11:54:23 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2600:3c00:e000:8a5:0:0:0:3;
posting-account=99-szAoAAABeqjQXkwq9U3xS8fVveYhv
NNTP-Posting-Host: 2600:3c00:e000:8a5:0:0:0:3
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d77c3bec-2f84-4a25-9fdd-2fc403ae26b3n@googlegroups.com>
Subject: embedded space in REFID field of some rawstats records?
From: metaed@gmail.com (Edward McGuire)
Injection-Date: Tue, 25 Jul 2023 18:54:23 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2084
 by: Edward McGuire - Tue, 25 Jul 2023 18:54 UTC

Can anybody verify that the rawstats file created by NTP 4.2.8p17 has the following format issue? I'm seeing some records like:

60150 40.610 45.33.116.78 216.31.16.12 0.000000000 0.000000000 3899232040.609616505 0.000000000 3 4 3 0 6 -23 0.000000 0.000000 . .

The format issue is with the last three characters of the record (not counting the newline), which are: period, space, period.

The first period introduces the REFID field value.

The space delimits the REFID.

The second period occurs where the optional hex data length, in bytes, should be. It is an illegal character in that position.

It's as if the REFID value contains a space, and that space is being typed to the rawstats file, creating a spurious field delimiter.

This is not happening in every rawstats record. I'm also seeing well-formed records in the same file, such as:

60150 2329.645 69.89.207.99 45.33.116.78 3899234329.608065131 3899234329.823090134 3899234329.823120518 3899234329.645183067 0 4 4 1 6 -23 0.000000 0.001068 .PPS.

Cheers!
Edward

Re: embedded space in REFID field of some rawstats records?

<7a5e1322-2400-42cc-a2af-228bc67d4644n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=525&group=comp.protocols.time.ntp#525

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ac8:72da:0:b0:403:fde0:2680 with SMTP id o26-20020ac872da000000b00403fde02680mr14159qtp.4.1690317597077;
Tue, 25 Jul 2023 13:39:57 -0700 (PDT)
X-Received: by 2002:a05:6870:7717:b0:1bb:5a67:53e6 with SMTP id
dw23-20020a056870771700b001bb5a6753e6mr301671oab.2.1690317596884; Tue, 25 Jul
2023 13:39:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Tue, 25 Jul 2023 13:39:56 -0700 (PDT)
In-Reply-To: <d77c3bec-2f84-4a25-9fdd-2fc403ae26b3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:3c00:e000:8a5:0:0:0:3;
posting-account=99-szAoAAABeqjQXkwq9U3xS8fVveYhv
NNTP-Posting-Host: 2600:3c00:e000:8a5:0:0:0:3
References: <d77c3bec-2f84-4a25-9fdd-2fc403ae26b3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7a5e1322-2400-42cc-a2af-228bc67d4644n@googlegroups.com>
Subject: Re: embedded space in REFID field of some rawstats records?
From: metaed@gmail.com (Edward McGuire)
Injection-Date: Tue, 25 Jul 2023 20:39:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1816
 by: Edward McGuire - Tue, 25 Jul 2023 20:39 UTC

On Tuesday, July 25, 2023 at 6:54:24 PM UTC, Edward McGuire wrote:
> This is not happening in every rawstats record.

The problem seems limited to records that have my node as the source address.
It also seems associated with times when ntpd was free-running.
At such times, there is no system peer, so REFID would be empty.
The problem then is that an empty REFID gets typed to rawstats as dot space dot.

When I revert to 4.2.8p15, the empty REFID is represented as dot dot (no space).
So this looks like a possible regression after 4.2.8p15.

Cheers! Edward

Re: [questions] Re: embedded space in REFID field of some rawstats records?

<5c5d9a22-dba7-28c7-ff43-16eb2f34b4e1@ntp.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=527&group=comp.protocols.time.ntp#527

  copy link   Newsgroups: comp.protocols.time.ntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: stenn@ntp.org (Harlan Stenn)
Newsgroups: comp.protocols.time.ntp
Subject: Re: [questions] Re: embedded space in REFID field of some rawstats records?
Date: Fri, 28 Jul 2023 19:13:00 -0000 (UTC)
Organization: Taughannock Networks, Trumansburg NY
Message-ID: <5c5d9a22-dba7-28c7-ff43-16eb2f34b4e1@ntp.org>
References: <d77c3bec-2f84-4a25-9fdd-2fc403ae26b3n@googlegroups.com> <7a5e1322-2400-42cc-a2af-228bc67d4644n@googlegroups.com>
Reply-To: questions@lists.ntp.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 Jul 2023 19:13:00 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="55284"; mail-complaints-to="abuse@iecc.com"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv: 102.0) Gecko/20100101 Thunderbird/102.13.1
To: questions@lists.ntp.org
Return-Path: <questions+bounces-193-ntpquestions=iecc.com@lists.ntp.org>
Delivered-To: ntpquestions@iecc.com
Delivered-To: questions@lists.ntp.org
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on gal.iecc.com
X-Spam-Status: No, score=-3.1 required=4.4 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=4.0.0
Authentication-Results: iecc.com; spf=pass spf.mailfrom=questions+bounces-193-ntpquestions=iecc.com@lists.ntp.org spf.helo=mail0.chi1.ntfo.org smtp.remote-ip="204.93.207.17"; dkim=pass header.d=ntp.org header.s=mail header.a=rsa-sha256 header.b="qANy/l5D"; dmarc=pass header.from=ntp.org polrec.p=none polrec.pct=100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntp.org; s=mail; t=1690571353; bh=zaAY4caCN1RqiGR62i2On4dJrsqjTRSmjIx5Sq35uQo=; h=Message-ID:Date:Reply-To:List-unsubscribe:List-Id:MIME-Version: Subject:To:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=qANy/l5DlCIulOmg3HMaq5N/dCDQcBez9ZCf+8vVyKc5XMwNKj50v+TCNouKHyW4g N372pcJsIdv2rFWlruv04zyulBAtlMpqDNoxl2eWic3hQQiFT0rSofBN3EOdsAp4GD Sj9MOLWzAcsL0lRX2OXNJVATW5XgJM/BO6y+a/5g=
X-Original-To: questions@lists.ntp.org
List-unsubscribe: mailto: questions+unsubscribe@lists.ntp.org
X-BeenThere: questions@lists.ntp.org
List-Id: questions.lists.ntp.org
Precedence: list
Content-Language: en-US
In-Reply-To: <7a5e1322-2400-42cc-a2af-228bc67d4644n@googlegroups.com>
X-DCC-iecc-Metrics: gal.iecc.com 1107; Body=1 Fuz1=1 Fuz2=1
Mail-to-news: iecc.com
 by: Harlan Stenn - Fri, 28 Jul 2023 19:13 UTC

Edward,

Dave Hart tells me he hasn't been able to duplicate this problem.

Would you please open a bug report at bugs.ntp.org?

On 7/25/2023 1:39 PM, Edward McGuire wrote:
> On Tuesday, July 25, 2023 at 6:54:24 PM UTC, Edward McGuire wrote:
>> This is not happening in every rawstats record.
>
> The problem seems limited to records that have my node as the source address.
> It also seems associated with times when ntpd was free-running.
> At such times, there is no system peer, so REFID would be empty.
> The problem then is that an empty REFID gets typed to rawstats as dot space dot.
>
> When I revert to 4.2.8p15, the empty REFID is represented as dot dot (no space).
> So this looks like a possible regression after 4.2.8p15.
>
> Cheers! Edward

--
Harlan Stenn <stenn@ntp.org>, part of
http://networktimefoundation.org - be a member!
--
This is questions@lists.ntp.org
Subscribe: questions+subscribe@lists.ntp.org
Unsubscribe: questions+unsubscribe@lists.ntp.org

Re: [questions] Re: embedded space in REFID field of some rawstats records?

<eb7e38ac-6268-467d-9ace-cb709dbc04e5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=530&group=comp.protocols.time.ntp#530

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a05:622a:148d:b0:40d:b839:b5bb with SMTP id t13-20020a05622a148d00b0040db839b5bbmr68705qtx.2.1690929033606;
Tue, 01 Aug 2023 15:30:33 -0700 (PDT)
X-Received: by 2002:a9d:7505:0:b0:6b9:99ab:7f25 with SMTP id
r5-20020a9d7505000000b006b999ab7f25mr15297793otk.6.1690929033272; Tue, 01 Aug
2023 15:30:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Tue, 1 Aug 2023 15:30:32 -0700 (PDT)
In-Reply-To: <5c5d9a22-dba7-28c7-ff43-16eb2f34b4e1@ntp.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:3c00:e000:8a5:0:0:0:3;
posting-account=99-szAoAAABeqjQXkwq9U3xS8fVveYhv
NNTP-Posting-Host: 2600:3c00:e000:8a5:0:0:0:3
References: <d77c3bec-2f84-4a25-9fdd-2fc403ae26b3n@googlegroups.com>
<7a5e1322-2400-42cc-a2af-228bc67d4644n@googlegroups.com> <5c5d9a22-dba7-28c7-ff43-16eb2f34b4e1@ntp.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <eb7e38ac-6268-467d-9ace-cb709dbc04e5n@googlegroups.com>
Subject: Re: [questions] Re: embedded space in REFID field of some rawstats records?
From: metaed@gmail.com (Edward McGuire)
Injection-Date: Tue, 01 Aug 2023 22:30:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1783
 by: Edward McGuire - Tue, 1 Aug 2023 22:30 UTC

On Friday, July 28, 2023 at 7:13:03 PM UTC, Harlan Stenn wrote:
> Dave Hart tells me he hasn't been able to duplicate this problem.
> Would you please open a bug report at bugs.ntp.org?

Harlan --
<https://bugs.ntp.org/show_bug.cgi?id=3854>

Dave --
I took some time to craft an artificial ntp.conf which should make it easier to reproduce than waiting for it to occur in a real-world configuration. Hope this helped.

Re: [questions] Re: embedded space in REFID field of some rawstats records?

<93ef4eea-bf6c-443f-b831-34fb124e0dd6n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=535&group=comp.protocols.time.ntp#535

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:ad4:5908:0:b0:63d:3055:4815 with SMTP id ez8-20020ad45908000000b0063d30554815mr35780qvb.7.1692226127726;
Wed, 16 Aug 2023 15:48:47 -0700 (PDT)
X-Received: by 2002:a17:902:eccc:b0:1bc:2547:b17c with SMTP id
a12-20020a170902eccc00b001bc2547b17cmr1432848plh.1.1692226127397; Wed, 16 Aug
2023 15:48:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Wed, 16 Aug 2023 15:48:46 -0700 (PDT)
In-Reply-To: <eb7e38ac-6268-467d-9ace-cb709dbc04e5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:3c00:e000:8a5:0:0:0:3;
posting-account=99-szAoAAABeqjQXkwq9U3xS8fVveYhv
NNTP-Posting-Host: 2600:3c00:e000:8a5:0:0:0:3
References: <d77c3bec-2f84-4a25-9fdd-2fc403ae26b3n@googlegroups.com>
<7a5e1322-2400-42cc-a2af-228bc67d4644n@googlegroups.com> <5c5d9a22-dba7-28c7-ff43-16eb2f34b4e1@ntp.org>
<eb7e38ac-6268-467d-9ace-cb709dbc04e5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <93ef4eea-bf6c-443f-b831-34fb124e0dd6n@googlegroups.com>
Subject: Re: [questions] Re: embedded space in REFID field of some rawstats records?
From: metaed@gmail.com (Edward McGuire)
Injection-Date: Wed, 16 Aug 2023 22:48:47 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1544
 by: Edward McGuire - Wed, 16 Aug 2023 22:48 UTC

Dave --

Can you confirm whether or not the artificial ntp.conf I posted made it possible to reproduce the problem?
<https://bugs.ntp.org/show_bug.cgi?id=3854>

Cheers!
Edward

Re: [questions] Re: embedded space in REFID field of some rawstats records?

<95877d48-ed9a-42c2-a587-b6dd64cc7597n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=536&group=comp.protocols.time.ntp#536

  copy link   Newsgroups: comp.protocols.time.ntp
X-Received: by 2002:a05:600c:2993:b0:3fe:63ca:ccf7 with SMTP id r19-20020a05600c299300b003fe63caccf7mr37600wmd.3.1692236801937;
Wed, 16 Aug 2023 18:46:41 -0700 (PDT)
X-Received: by 2002:a17:902:f90f:b0:1bf:fcc:e8d7 with SMTP id
kw15-20020a170902f90f00b001bf0fcce8d7mr263872plb.9.1692236801532; Wed, 16 Aug
2023 18:46:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.time.ntp
Date: Wed, 16 Aug 2023 18:46:40 -0700 (PDT)
In-Reply-To: <CAMbSiYBAgT0Jb18mxs_Li8EP+pk=8r_acvD63g2pj-k3m+7bQw@mail.gmail.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:fe42:7400:a03b:ecff:7a7e:ed41;
posting-account=99-szAoAAABeqjQXkwq9U3xS8fVveYhv
NNTP-Posting-Host: 2600:1700:fe42:7400:a03b:ecff:7a7e:ed41
References: <5c5d9a22-dba7-28c7-ff43-16eb2f34b4e1@ntp.org> <eb7e38ac-6268-467d-9ace-cb709dbc04e5n@googlegroups.com>
<7a5e1322-2400-42cc-a2af-228bc67d4644n@googlegroups.com> <d77c3bec-2f84-4a25-9fdd-2fc403ae26b3n@googlegroups.com>
<93ef4eea-bf6c-443f-b831-34fb124e0dd6n@googlegroups.com> <CAMbSiYBAgT0Jb18mxs_Li8EP+pk=8r_acvD63g2pj-k3m+7bQw@mail.gmail.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <95877d48-ed9a-42c2-a587-b6dd64cc7597n@googlegroups.com>
Subject: Re: [questions] Re: embedded space in REFID field of some rawstats records?
From: metaed@gmail.com (Edward McGuire)
Injection-Date: Thu, 17 Aug 2023 01:46:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Edward McGuire - Thu, 17 Aug 2023 01:46 UTC

On Wednesday, August 16, 2023 at 6:33:04 PM UTC-5, Dave Hart wrote:
> I'm having trouble finding the ntp.conf for reproducing the problem that you mentioned.

pool pool.ntp.org
tos ceiling 1 orphanwait 120
statistics rawstats
statsdir /var/lib/ntp/stats

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor