[questions] Re: Unknown peer listed in ntpq -p output

2022-04-25 Thread Miroslav Lichvar
r config. You would need to have the "noepeer" option in the restrictions to prevent that, but this option is not supported in the ntp package you are using. -- Miroslav Lichvar -- This is questions@lists.ntp.org Subscribe: questions+subscr...@lists.ntp.org Unsubscribe: questions+unsubscr...@lists.ntp.org

Re: [ntp:questions] ntpd on busybox ARM system not keeping time with server

2021-05-19 Thread Miroslav Lichvar
p on the ARM device. Another possibility is to start ntpd normally and wait for it to set the clock. There is the ntp-wait script for that. On systemd-based distributions there is a time-sync target which delay start of services that need accurate clock. -- Miro

Re: [ntp:questions] 2036 rollover problem

2021-03-16 Thread Miroslav Lichvar
d add 2**32 seconds to any timestamp smaller than that. That should work as long as you update/rebuild the application at least once per ~136 years. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] How is the BIG guys (Google. FB etc) DNS and NTP architecture

2020-10-21 Thread Miroslav Lichvar
igured to make a consistent slew on the leap second. So, the easiest way to fix this is to make a slew on the server and hide the leap second from the clients. When you internally do this everywhere and you want to provide a public NTP service, i

Re: [ntp:questions] Realistic Performance Expectation for GPS PPS fed ntpd jitter

2020-10-20 Thread Miroslav Lichvar
On Mon, Oct 19, 2020 at 12:43:47PM +0200, Vitezslav Samel wrote: > On Mon, Oct 19, 2020 at 09:49:36AM +0200, Miroslav Lichvar wrote: > > Not an FPGA, but the Intel I210 costs about $50 and it has a nice > > hardware clock with PPS input/output, which is well supported in > >

Re: [ntp:questions] Realistic Performance Expectation for GPS PPS fed ntpd jitter

2020-10-19 Thread Miroslav Lichvar
y asymmetries on the PCIe bus between the PPS-timestamping hardware, CPU, and the NIC, which allows you to make an NTP server accurate to few tens of nanoseconds. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] questions] Performance estimation

2020-06-17 Thread Miroslav Lichvar
ast time I tried. I prefer OpenWrt on these small computers. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Performance estimation

2020-06-16 Thread Miroslav Lichvar
PPS. The interrupt latency of the PPS timestamping is probably much larger than any errors related to GPS, so I'd say it doesn't matter. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Performance estimation

2020-06-15 Thread Miroslav Lichvar
robably need to patch ntpd to report the values in a better precision. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Performance estimation

2020-06-15 Thread Miroslav Lichvar
nce? clk_jitter seems to be the jitter of the system clock as it is being updated with offsets, and sys_jitter seems to be the jitter of the selected peer, or the combined peers after clustering. https://www.eecis.udel.edu/~mills/ntp/html/cluster.html

Re: [ntp:questions] ntpd - gpsd communication

2020-06-08 Thread Miroslav Lichvar
ffset, so their difference is the offset as it was before. But this completely ignores the process that is controlling the clock, so I'm not sure what value this exercise has. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] ntpd - gpsd communication

2020-06-08 Thread Miroslav Lichvar
On 2020-06-08, a...@avtodoria.ru wrote: > понедельник, 8 июня 2020 г., 10:52:36 UTC+3 пользователь Miroslav > Lichvar написал: >> If you need something to report a large offset to ntpd via SHM, you >> could try this program for testing leap seconds: >> >> https

Re: [ntp:questions] ntpd - gpsd communication

2020-06-08 Thread Miroslav Lichvar
eport any offset you want. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Garmin LVC 18x jitter problem

2019-08-19 Thread Miroslav Lichvar
On 2019-08-17, Michael Haardt wrote: > Miroslav Lichvar writes: >> I think you do. To prevent the source from being rejected as a >> falseticker it needs to have a larger root distance. That could be from >> a larger dispersion or delay. You modified the refclock jitter, wh

Re: [ntp:questions] Garmin LVC 18x jitter problem

2019-08-15 Thread Miroslav Lichvar
cify a minimum delay. But adjusting it in the refclock specific code, as you did, makes perfect sense to me. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] PPS via USB-to-serial adapter

2019-08-14 Thread Miroslav Lichvar
l. If the error is moving only very slowly, the sawtooth pattern would be visible in the offset reported by ntpd. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] PPS via USB-to-serial adapter

2019-08-13 Thread Miroslav Lichvar
than a typical error of NTP in a local network, so maybe that's why people don't like refclocks over USB. However, with a custom driver and firmware it's possible to reduce the offset and jitter to few microseconds. See this great post from Dan Drown: https://

Re: [ntp:questions] Garmin LVC 18x jitter problem

2019-08-13 Thread Miroslav Lichvar
nt all variables of the peer with ntpq -c "rv $ASSID" and look for "jitter" and "filtdisp". -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Garmin 18x LVC - degraded precision ?

2019-08-07 Thread Miroslav Lichvar
's a larger jitter or the clock is less stable. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] How often does ntpd refresh its DNS lookup?

2019-08-05 Thread Miroslav Lichvar
clock hopping and possibly overload the DNS servers. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] symmetricom tp1100 stratum and leap indicator behavior

2019-08-05 Thread Miroslav Lichvar
3771.465 -0.125 0.110 > +10.99.99.20010.99.99.100 2 u 55 256 3772.238 -0.015 0.107 -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Time server question

2019-07-24 Thread Miroslav Lichvar
he newsgroup may want to check the archives of the list to see if anyone responded there.) -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Reference 'sntp' utility: how do you set the destination port number

2019-07-22 Thread Miroslav Lichvar
.. Those (and yours) didn't make it back to the newsgroup where the question was posted. The gateway seems to work only in the direction to the mailing list. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] authenticated packet using alternate digest algorithms

2019-05-02 Thread Miroslav Lichvar
his is that. Latest ntp-4.2.8 versions should truncate digests longer than 160 bits (192-bit MAC). What version were you testing? I'm not sure in which one exactly this was introduced. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Mu whole Internet crashes when server is in the pool rotation

2019-04-29 Thread Miroslav Lichvar
ke this: iptables -t raw -I PREROUTING -p udp -m udp --dport 123 -j CT --notrack iptables -t raw -I OUTPUT -p udp -m udp --sport 123 -j CT --notrack -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] NTP packets with MACs longer than SHA1

2019-03-13 Thread Miroslav Lichvar
On Tue, Mar 12, 2019 at 01:24:52PM -0400, Danny Mayer wrote: > On 3/12/19 4:22 AM, Miroslav Lichvar wrote: > > On 2019-03-11, Nelson Bolyard wrote: > >> NTPv3 supported MD5 and SHA1 Message Authentication Code (MACs) of > >> length 16 and 20 bytes respectively.

Re: [ntp:questions] NTP packets with MACs longer than SHA1

2019-03-12 Thread Miroslav Lichvar
ACs. > > Are longer MACs sent in their entirety? > Are they truncated to 20 bytes? or to 16 bytes? The digests are truncated to 20 bytes in order to follow RFC 7822. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org

Re: [ntp:questions] Detecting ntp broadcast packets

2019-02-28 Thread Miroslav Lichvar
23 and udp[8] & 7 == 5' Yes, assuming nothing is using multicast messaging or switches are snooping and your machine didn't join the group. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Detecting ntp broadcast packets

2019-02-27 Thread Miroslav Lichvar
ts (not just those sent to a broadcast address) that have the mode field equal to 5 (broadcast). tcpdump -n -i eth0 'port 123 and udp[8] & 7 == 5' If it doesn't print anything, nothing in the network is using the NTP broadc

Re: [ntp:questions] Legitimate Source Ports for NTP traffic?

2018-11-27 Thread Miroslav Lichvar
r getting requests from privileged ports different than 123 is NAT. If there are two NTP clients behind NAT using port 123, one of them will have to get a different port. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Conflicting information on packet field types

2018-11-02 Thread Miroslav Lichvar
is with values in the 32768-65536 range, which could be used by a server that lost synchronization long time ago and old clients following RFC 1305/4330 would misinterpret it as a negative value. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Conflicting information on packet field types

2018-10-23 Thread Miroslav Lichvar
~65536 seconds. Large values may be used by servers that have lost their time source. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] PPS not working on newer kernel/distros

2018-10-15 Thread Miroslav Lichvar
he only thing that has changed in the last few years is how ntpd handles the error when the PPS discipline cannot be enabled. It used to be ignored. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] NTP Support SHA2 or not

2018-10-15 Thread Miroslav Lichvar
let us know whether the NTP support > > SHA2 with FIPS enable and disable? > > > > If not then please let us know when NTP support for SHA2 in future release? -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] xntpd and Timekeeper

2018-09-10 Thread Miroslav Lichvar
requency offset that was set by ntpd. If that doesn't help, please enable the loopstats log and post it here after xntpd has been running for at least a day. I doubt this is an issue with the server. -- Miroslav Lichvar ___ questions mailing

Re: [ntp:questions] xntpd and Timekeeper

2018-08-28 Thread Miroslav Lichvar
lder AIX and > Solaris hosts running NTP version 3 (xntpd) are experiencing > excessively large offsets when compared to using NTP version 4. Can you show some examples? If you use ntpd on the server, the xntpd clients work ok? -- Miroslav Lichvar ___

Re: [ntp:questions] understanding assocID and ntpq>readvar

2018-08-06 Thread Miroslav Lichvar
n the packets. I'm not sure if it's possible to get them from ntpq separately from the real variables. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] More than one PPS source on Raspberry Pi?

2017-12-05 Thread Miroslav Lichvar
ously so one > will either be ignored or will be serviced after a delay. I think some GPS units can be configured to shift the PPS edge by a specified offset to avoid two PPS signals triggering an interrupt at the same time. -- Miroslav Lichvar ___

Re: [ntp:questions] How to get shared memory access from gpsd to ntpd to work?

2017-08-16 Thread Miroslav Lichvar
it's a problem on the gpsd or ntpd side. However, I'm not sure if this is supposed to work with GPS over network. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Trouble with ntpd and gpsd

2017-07-10 Thread Miroslav Lichvar
e ntpshmmon command. If you don't see any samples, try running gpsd from command line with -D 9. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] GPS-PPS, standalone server. NTP

2017-06-21 Thread Miroslav Lichvar
n't work and chrony was compiled with PPS support, you could use gpsd just for the message-based samples provided in SHM 0 and use the PPS device directly. For example: refclock PPS /dev/pps0 poll 2 lock NMEA refid GPS refclock SHM 0 offset 0.5 delay 0.2 refid NMEA noselect -- Miroslav

Re: [ntp:questions] ***SPAM*** How to sync my system clock when there is high offset

2017-06-13 Thread Miroslav Lichvar
he initial offset is larger than 1000 seconds). With older ntp versions it's recommended to run ntpdate -b before starting ntpd in order to speed up the initial synchronization. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] ntp server sync

2017-06-02 Thread Miroslav Lichvar
that on old Linux kernel only the LOCL server is shown and on the > newer Linux kernel both the LOCL and POOL are shown? Does it mean that the > two VMs are synced differently? Do they use the same ntp version? I think only ntpq from newer (4.2.8) versions can display the POOL line. --

Re: [ntp:questions] Trying to make NTP daemon as one of the Sync source

2017-05-31 Thread Miroslav Lichvar
ror of the clock. You might want to set FrequencyError to 0 or "undefined". -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] trying to get broadcast to work

2017-05-29 Thread Miroslav Lichvar
fault kod notrap nomodify nopeer > > restrict 127.0.0.1 > restrict ::1 > > disable auth > broadcastclient > So I wonder: what am I doing wrong? what could be the cause? I think you need to remove the nopeer restriction on the client, or enable authentication (server and c

Re: [ntp:questions] Looking for a NTP stratum 2 appliance

2017-05-26 Thread Miroslav Lichvar
requirement. I thought you were using those stratum-1 servers you have and the requirement for accuracy was 10 or 100 microseconds, not milliseconds. Anything should do better than 50 milliseconds as long as it's on local network. -- Miroslav Lichvar ___

Re: [ntp:questions] Looking for a NTP stratum 2 appliance

2017-05-26 Thread Miroslav Lichvar
h NICs that support it. In my experience that usually reduces the jitter down to a sub-microsecond level. Unless the network is heavily loaded for longer periods of time, it should not be necessary to use PTP and expensive switches. -- Miroslav Lichvar _

Re: [ntp:questions] Looking for a NTP stratum 2 appliance

2017-05-26 Thread Miroslav Lichvar
problems is the (in)stability of an ordinary computer oscillator causing. Are the servers supposed to be able to hold over long periods of time in case the stratum-1 servers fail? -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] NTP under AIX?

2017-05-19 Thread Miroslav Lichvar
undreds of nanoseconds, but the choice of NTP servers with such accuracy is very limited. For people who don't want to spend money on new switches with PTP support, it may be better to buy a PTP grandmaster and connect it directly to a machine with two NICs, which wo

Re: [ntp:questions] dynamic stratum changes

2017-05-12 Thread Miroslav Lichvar
legant way of making the local ntpd change its reported > stratum? > > Do I have to customize the local oscillator driver to input the health status? I think a good approach would be to modify your driver to work as a SHM reference clock and let ntpd synchronize the system clock. -- Mir

Re: [ntp:questions] NTP server - Number of received petitions.

2017-03-21 Thread Miroslav Lichvar
rs include all received and transmitted NTP packets, not just clients' requests and responses. That is, it will include also ntpd's own requests and responses from its servers, and also ntpdc/ntpq requests and responses, even from localhost. -- Miroslav Lichvar _

Re: [ntp:questions] NTP server - Number of received petitions.

2017-03-21 Thread Miroslav Lichvar
requests and don't care about individual clients, you could periodically call ntpdc -c iostats and calculate the rate from the total number of received packets using awk for instance: while true; do ntpdc -c iostats; sleep 1; done | \ awk '/received packets/{ print $3 - last

Re: [ntp:questions] Can I stop authenticated peers from mobilizing symmetric associations

2017-03-10 Thread Miroslav Lichvar
On Fri, Mar 10, 2017 at 02:34:51AM -0500, Majdi S. Abbas wrote: > On Thu, Mar 09, 2017 at 05:24:35PM +0100, Miroslav Lichvar wrote: > > Couldn't the malicious client create a larger number of ephemeral > > associations, using multiple IP addresses, in order to outv

Re: [ntp:questions] Can I stop authenticated peers from mobilizing symmetric associations

2017-03-09 Thread Miroslav Lichvar
ery clear to me what was the reason for that. Do you think it would make sense to modify its behavior to apply to both authenticated and unauthenticated packets? -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] How common is LI=3 (clocks not synchronized)?

2017-02-03 Thread Miroslav Lichvar
; code or RFCs. Another reason for the "unsynchronized" leap bits might be a recent step of the system clock. If the clock is unstable, ntpd may need to step the clock often (after reaching the threshold of 128ms). I think I've seen some servers in the pool that behaved like that.

Re: [ntp:questions] Time syncing with something other than ntpd

2017-02-02 Thread Miroslav Lichvar
hough it rarely does). So I have a VPS that is synchronised to it and its time is served indirectly. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Time syncing with something other than ntpd

2017-01-31 Thread Miroslav Lichvar
but it's not a requirement. There are quite a few openntpd and chrony servers in the pool, including a couple of my own. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Time syncing with something other than ntpd

2017-01-30 Thread Miroslav Lichvar
oseconds on Windows when using an attached > GPS/PPS device. Speaking of Windows, does anyone know how well (if at all) work the NTP implementations in the Windows Subsystem for Linux (WSL) that's now available in Windows 10? -- Miroslav Lichvar __

Re: [ntp:questions] restrict source available from which version?

2017-01-02 Thread Miroslav Lichvar
maxclock 5 - for sync, majority clique requires > truechimers *>* falsetickers - truechimers == falsetickers is > *unsynced* - 5 allows 2 servers "off" in some way at the same time > (e.g. during weekend maintenance windows when servers oft

Re: [ntp:questions] restrict source available from which version?

2017-01-02 Thread Miroslav Lichvar
On Fri, Dec 30, 2016 at 03:32:51PM -0800, Ask Bjørn Hansen wrote: > On Tuesday, September 6, 2016 at 1:41:10 AM UTC-7, Miroslav Lichvar wrote: > > On 2016-09-05, a...@ntppool.org wrote: > > > restrict default kod nomodify notrap nopeer noquery > > > restrict -6 default

Re: [ntp:questions] Use ntp orphan mode to sync time two stand-alone computers

2016-08-15 Thread Miroslav Lichvar
using ntp. If you need to sync one machine to another, you should use the LOCAL driver (127.127.1.0) and not the orphan mode. Orphan mode is for cases where a server should be automatically selected from a group of unsynchronised servers. In your case only machine can be a server (the

Re: [ntp:questions] reference clock, shm and ntpd

2016-05-26 Thread Miroslav Lichvar
cy pushed to the limit indicates something is very wrong and it's not just local clock being too fast or slow. To me it looks like either the kernel is broken or the reference time is actually based on the local system time. Or maybe something else is messing with the clock, overwriting the ntpd

Re: [ntp:questions] issue with the hmac-md5 digest

2016-04-01 Thread Miroslav Lichvar
NTP packet. See 7.3 in RFC 5905. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] [ntpwg] Idea to improve ntpd accuracy

2016-02-26 Thread Miroslav Lichvar
ccurate. Broadcast clients would need to create ephemeral symmetric associations with the server in order to measure the delay accurately. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Idea to improve ntpd accuracy

2016-02-26 Thread Miroslav Lichvar
ver, and it was supported in switches/routers similarly to PTP, sub-microsecond accuracy would be possible. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] ntpd sensitivity to ordering of servers in ntp.conf?

2016-02-25 Thread Miroslav Lichvar
on in which the offset changed suggests it's the processing of the server packet that has the extra delay. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] kod and limited

2015-11-24 Thread Miroslav Lichvar
s to the server. See the archive of the ntp-hackers list for more information. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Leap second resources

2015-06-05 Thread Miroslav Lichvar
e client overshoot a lot and the other didn't. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] leap second warning bits in practice

2015-05-13 Thread Miroslav Lichvar
he source code something different from what is described in the document? -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] leap second warning bits in practice

2015-05-13 Thread Miroslav Lichvar
rity of the > survivors show warning, a leap is programmed at the end of the current > month". What does that "programmed" stand for...? I think it means setting of the leap status that's reported in NTP packets and if the kernel discipline is enabled it also sets the kernel

Re: [ntp:questions] Trouble Simulating Leap Seconds

2015-04-14 Thread Miroslav Lichvar
ght want to start at 23:30 to be sure both server and client had enough time to synchronize. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Trouble Simulating Leap Seconds

2015-04-07 Thread Miroslav Lichvar
y calling ntp_adjtime()/adjtimex() with STA_INS in the status field. You could run ntpd in strace to verify that. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Trouble Simulating Leap Seconds

2015-04-02 Thread Miroslav Lichvar
t; in the logs when I search with `dmesg | grep leap` or `sudo grep leap > /var/log/syslog`. Does status printed by ntptime include INS before midnight? Any chance ntpd is started with the -x option or there is "tinker step" command in ntp.conf? -- Miroslav Lichvar __

Re: [ntp:questions] chrony as a server

2015-02-23 Thread Miroslav Lichvar
w figure out its phase and frequency error to the real time, and correct them behind ntpd's back (possibly with the date and ntptime -f commands). With chrony you just run "chronyc -a settime xx:xx:xx" once in a while on the server and it will do the rest for you. -- Miros

Re: [ntp:questions] chrony as a server

2015-02-20 Thread Miroslav Lichvar
terested in some research on software temperature compensation itself, how good the measurements need to be for a given time reference to be useful etc. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] chrony as a server

2015-02-20 Thread Miroslav Lichvar
he source statistics and update the clock. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] chrony as a server

2015-02-19 Thread Miroslav Lichvar
seems to have this configurable (e.g. ublox NEO-6T). -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] chrony as a server

2015-02-19 Thread Miroslav Lichvar
get a PPS with higher rate if possible to minimize the swings due to temperature changes. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] chrony as a server

2015-02-19 Thread Miroslav Lichvar
orm of the tempcomp configuration. For example, you could divide temperature in 0.1C intervals and use mean frequency offset as the correction. Not sure if it needs to be negated or not, I always forget. I agree it would be nice to have a scrip

Re: [ntp:questions] chrony as a server

2015-02-19 Thread Miroslav Lichvar
the target is O(10) nanoseconds? I don't think 10 nanoseconds is possible with 1us jitter and normal unstabilized clock. When using a PTP clock on PCIe as a reference it can get quite close though, see this graph from stats collected over a few hours: https://mlichvar.fedorapeople.org/chrony/refc

Re: [ntp:questions] chrony as a server

2015-02-17 Thread Miroslav Lichvar
On Mon, Feb 16, 2015 at 07:19:39PM +, Rob wrote: > The PPS refclock has changed is refid from PPP0 to PPP1 with this version. That is a bug, the refid numbering wasn't supposted to change in the new version. Fixed in git. Thanks. -- Miroslav

Re: [ntp:questions] chrony as a server

2015-02-16 Thread Miroslav Lichvar
ultiply by > 1.056. In what resolution can be the frequency controlled? I'm not sure if I remember correctly, I thought it was rather bad and would require dithering. Looking at nt_clockstuff.c in the ntp distribution, it certainly doesn't look easy. -- Miroslav Lichvar ___

Re: [ntp:questions] chrony as a server

2015-02-16 Thread Miroslav Lichvar
On Mon, Feb 16, 2015 at 03:51:07PM +, David Lord wrote: > Miroslav Lichvar wrote: > >As a workaround you can add "acquisitionport 123" to chrony.conf to > >use just one socket for all (client, peer, server) communication, > >which will effectively disable

Re: [ntp:questions] chrony as a server

2015-02-16 Thread Miroslav Lichvar
On Mon, Feb 16, 2015 at 03:30:52PM +, Rob wrote: > Miroslav Lichvar wrote: > > On Mon, Feb 16, 2015 at 02:00:30PM +, Rob wrote: > >> Is chronyc of 1.31 compatible with chronyd 2.0? > > > > Yes, old configuration should still work. But you can use > > &

Re: [ntp:questions] chrony as a server

2015-02-16 Thread Miroslav Lichvar
On Mon, Feb 16, 2015 at 02:00:30PM +, Rob wrote: > Is chronyc of 1.31 compatible with chronyd 2.0? Yes, old configuration should still work. But you can use "acquisitionport 123" as a workaround if you prefer stable version. -- Mir

Re: [ntp:questions] chrony as a server

2015-02-16 Thread Miroslav Lichvar
= *192.168.100.2 176.9.1.148 4 u68 3770.1430.044 0.055 If you compile chrony with --enable-debug, do you see similar Received and Sent message pairs in the chronyd -d -d output? -- Miroslav Lichvar ___ questions mailing

Re: [ntp:questions] chrony as a server

2015-02-16 Thread Miroslav Lichvar
On Mon, Feb 16, 2015 at 11:29:31AM +0100, Miroslav Lichvar wrote: > On Mon, Feb 16, 2015 at 09:59:27AM +, Rob wrote: > > I have strace'd the daemon and I see that it does receive the datagram > > from the socket, but it does not send a reply. > > Hm, interesting.

Re: [ntp:questions] chrony as a server

2015-02-16 Thread Miroslav Lichvar
's compiled with --enable-debug) and see if there are any debug messages indicating why it's dropping the client request. If there aren't any, you could try it with chrony-2.0-pre1 and see if it's different. -- Miroslav Lichvar ___ q

Re: [ntp:questions] chrony as a server

2015-02-16 Thread Miroslav Lichvar
tratum 10 > makestep10 3 > refclockPPS /dev/pps0 > server 192.168.42.1 iburst > server 192.168.42.60iburst > server 192.168.42.61iburst > allow 0/0 > cmdallow 192.168.42.0/24 -- Miroslav Lichvar __

Re: [ntp:questions] NTP offset doesn't change.

2015-02-13 Thread Miroslav Lichvar
vior than without this feature. On systems that use the standard adjtime() slew rate of 500 ppm the maximum reliable correction is 150 ms, on systems with faster slew it's proprotionally larger. [1] https://bugs.ntp.org/show_bug.cgi?id=2021 -- Miroslav Lichvar _

Re: [ntp:questions] Authenticated TLS "constraints" in ntpd

2015-02-12 Thread Miroslav Lichvar
cation is implemented in NTP. Does anyone know how far it is? Is anyone working on it? -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

[ntp:questions] ntpd -x and leap seconds

2015-02-09 Thread Miroslav Lichvar
bug.cgi?id=2745 -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Leap second to be introduced in June

2015-01-27 Thread Miroslav Lichvar
On Mon, Jan 26, 2015 at 06:45:58PM +0100, Terje Mathisen wrote: > Miroslav Lichvar wrote: > >Here is a test showing error between two clients of a server > >smearing.a large offset. With the cosine function you can see a large > >spike when smearing

Re: [ntp:questions] Leap second to be introduced in June

2015-01-26 Thread Miroslav Lichvar
the clients could be minimized. Here is a test showing error between two clients of a server smearing.a large offset. With the cosine function you can see a large spike when smearing started. https://mlichvar.fedorapeople.org/tmp/smear_cos.png https://mlichvar.fedorapeople.org/tmp/smear_sinx.

Re: [ntp:questions] Default total number of servers NTP wants to have when using pool .....

2014-12-17 Thread Miroslav Lichvar
Do you think the servers are ready to handle twice as many clients? [1] http://www.pool.ntp.org/en/use.html -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] Default total number of servers NTP wants to have when using pool .....

2014-12-16 Thread Miroslav Lichvar
pdated to include "tos maxclock 5" to not increase the NTP traffic as users and OS vendors will be switching to the pool directive? Or change the default value of maxclock? [1] http://support.ntp.org/bin/view/Support/ConfiguringNTP#Section_6.10. -- Miroslav Lichvar ___

Re: [ntp:questions] pool.ntp.org and authentication

2014-12-16 Thread Miroslav Lichvar
he pool than someone on the network path to the internet running a tool like this: https://github.com/PentesterES/Delorean/ -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] pool.ntp.org and authentication

2014-12-16 Thread Miroslav Lichvar
I'm wondering what would be needed to make it applicable. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] NTP, GPSD & PPS

2014-12-10 Thread Miroslav Lichvar
he latest version - 3.11 is working well for me, 3.10 was not. -- Miroslav Lichvar ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] NTP, GPSD & PPS

2014-12-10 Thread Miroslav Lichvar
t;true PPS sync". The PPS and NMEA timestamps are paired in gpsd, so it's not necessary to add the NMEA source to ntpd. To avoid problems with the falseticker, you can remove the source from ntpd configuration or use the noselect option to never use it and only monitor it. -- Miroslav Li

  1   2   3   >