Re: uk pool problem



Per Hedeland wrote:
In article <uj3js3-sv7.ln1@xxxxxxxxxxxxxxxxxxxxxx> Martin Burnicki
<martin.burnicki@xxxxxxxxxxx> writes:
Ronan Flood wrote:
Harlan Stenn <stenn@xxxxxxxxxxx> wrote:

-d is covered, and while there may not be an exact duplicate there is a
-d flag for ntpd and the sntp command has a way to query the time without
setting it. If there is a particular thing you need that is not covered
open up an enhancement request.

I have not looked at -u.
Perhaps rather than being retired, ntpdate should have the time-setting
code removed and be renamed something like ntpping, with -qu always set.
I for one find it a useful diagnostic tool in query-only and debug modes.
Full ack. I very often use it for debugging and testing. The only thing I
find deprecated is to use the way it has been used before the -g option had
been introduced, namely to set the initial system time.

I wouldn't even remove the capabiltiy to send requests via either a
priviledged or an unpriviledged port. This is very useful to check whether
there's some kind of firewall between the test system and the NTP server
which only allows for unpreviledged ports and blocks priviledged, or
vice-versa.

This would actually have to be an enhancement - when wanting to check if
the discussed server possibly used the source port to determine whether
to give a bogus answer, I found somewhat to my surprise that it's not
possible to have ntpdate use source port 123 without setting the clock.
A patch to make -u independent of -q and -d is trivial of course, but
where to send it?:-)

--Per Hedeland
per@xxxxxxxxxxxx


As I recall, the protocol requires that the source port be 123 but the
ntpd reference server implementation does not enforce that. I don't
recall where I read it. That said it seems useful to differentiate
between an ntpd server requesting time and a client requesting time via
ntpdate. Nevertheless a server shouldn't return time at all unless it's
a KOD packet if it doesn't want to accept packets at all. This one seems
to return a specific packet value if queried via ntpdate. I seems to me
that this is more a WG discussion and probably should be discussed there.

Danny
_______________________________________________
questions mailing list
questions@xxxxxxxxxxxxxxxxx
https://lists.ntp.isc.org/mailman/listinfo/questions

.



Relevant Pages

  • Re: NTPD concurrent clients limit
    ... I use my own Symmetricom gps disciplined ntp servers, my own Datum/Symmetricom gps disciplined rubidium standards for 1PPP and 10 MHz all using HP/Symmetricom gps antennas and gps splitters. ... I also run the latest release of ntpd software on several HP/Compaq Servers. ... Is this packet also implemented in a "canned" or hardware only ntp server? ... NTP is designed to work with poll intervals between 64 seconds and 1024 ...
    (comp.protocols.time.ntp)
  • Re: NTP broken with 2.6.14
    ... so network wise you seem to be communicating with the server ... > drifting too severely from the NTP server for ntpd to compensate. ... I rebooted the machine with the 2.6.14 kernel and watched the ... the kernel 2.6.8 on the same hardware. ...
    (Linux-Kernel)
  • Re: NTPD concurrent clients limit
    ... written by someone whose knowledge of ntp was gained in kindergarten class." ... I also run the latest release of ntpd software ... I'm testing an embedded linux device, which implement an NTP server, ... NTP is designed to work with poll intervals between 64 seconds and 1024 ...
    (comp.protocols.time.ntp)
  • Re: NTPD concurrent clients limit
    ... After some discussion with my friends here, a further defense was implemented with result the KoD time returned reveals no influence of the server. ... After learning of this "kod" packet and since these servers vend time to my applications, I would prefer or need the correct time even if something went haywire banging the fool out of a server. ... I have read articles about ntp abuse like that series of cheap routers that had an ip embedded in the firmware that was banging I believe the ucar.edu ntp servers. ... Considering how adaptive the ntpd software has to be, I'm sure it's a delicate balancing act to make it serve the whole of the time community. ...
    (comp.protocols.time.ntp)
  • Re: NTPD concurrent clients limit
    ... See the papers referenced on the NTP project page. ... The most interesting case was finding the abusers in a flood of 3000 packets per second with three load-balanced servers. ... I'm testing an embedded linux device, which implement an NTP server, ... based on the ntpd demon. ...
    (comp.protocols.time.ntp)