NTP users are strongly urged to take immediate action to ensure that their NTP daemons are not susceptible to being used in distributed denial-of-service (DDoS) attacks. Please also take this opportunity to defeat denial-of-service attacks by implementing Ingress and Egress filtering through BCP38. See ConfiguringGarminRefclocksDev for discussion of this topic.
ntp-4.2.8p15 was released on 23 June 2020. It addresses 1 medium-severity security issue in ntpd, and provides 13 non-security bugfixes over 4.2.8p13.
Are you using Autokey in production? If so, please contact Harlan - he's got some questions for you.
6.1.4. Configuring Garmin Refclocks
184.108.40.206. General Notes
The Garmin GPS18-LVC works well with NTP. Beware: The other models of the GPS18 don't have PPS support. You should be able to get one for under $100.
It comes with bare wires. You need to supply 5V and wire it up to a DB-9 connector.
You can get the 5V from a USB connector.
You can also get 5V from some serial cards. (The context is powering things like bar code scanners.) The SIIG CyberSerial 4S has jumpers to supply 5V or 12V on pin 9/RI.
220.127.116.11. GPS18x-LVC specifics
Please note that the GPS18x-LVC sometimes gives odd huge offsets in the range of -600ms upto -700ms. One specific model was examined a bit closer and showed a varying delay between the asserting edge of the PPS signal and the receive time of the $GPRMC sentence of 580ms to 610ms at 4800bd. (Only $GPRMC was enabled in the GPS18x and the NMEA driver, though according to the GPS18x spec $GPRMC should be the first sentence in a burst anyway if enabled in the receiver. See section 4.2 of Garmin's GPS18x tech spec.) Using a fudge time2 of 0.600 was needed to avoid malfunction of the NMEA clock driver. I (mailto:email@example.com
) do not know if this affects all GPS18x-LVC models or if this is baud rate dependent. (Apart from the transmission duration itself, which is of course baud rate dependent per se
and should account for ~150ms for a $GPRMC at 4800bd.)
If you experience severe trouble with the GPS18x-LVC a possible solution is to configure a few good public NTP servers as reference and configure the NMEA driver as a 'noselect' peer with PPS disabled and a fudge time2 of 0.0. When the system becomes stable, use the negated offset given for the NMEA driver as fudge time2, remove the 'noselect' from the clock driver and enable PPS processing with fudge flag1.
It seems that using the GPS18x-LVC without PPS support and some basic calibration cannot be recommended.
On Sunday, Dec,15 2019 I (mailto:firstname.lastname@example.org
) had the chance to discover the internal base date of my GPS puck: It is obviously Apr,30 2000. It was easily enough to observe, as the date field in $GPRMC showed 300400. This will not affect NTPD unless the driver's date-trust mode bit is set; it is OFF by default for good reason. Also note that this is a property of the firmware and might not be the same date for all versions of the GPS18x firmware.
18.104.22.168. Related Links
Related Topics: GarminRefclockUsers