r2 - 2007-10-04 - 01:41:13 - RandallPrenticeYou are here: NTP >  Support Web > ConfiguringNTP > ConfiguringRefclocks > ConfiguringSHMRefclocks
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.

ntp-4.2.8p14 was released on 03 March 2020. It addresses 2 medium-severity security issues in ntpd, and provides 47 non-security bugfixes and 4 other improvements over 4.2.8p13.

Please see the NTP Security Notice for vulnerability and mitigation details.

Are you using Autokey in production? If so, please contact Harlan - he's got some questions for you.
REFACTOR See ConfiguringSHMRefclocksDev for discussion of this topic.

Under LINUX there is the gpsd service which provides SHM services.

In ntp.conf include lines:-

# ... and use gpsd daemon for time sync

server minpoll 4 maxpoll 4

fudge time1 -0.245 refid GPS stratum 15

server minpoll 4 maxpoll 4 prefer

fudge refid GPS1

gpsd then provides the following (from ntpq):-

remote refid st t when poll reach delay offset jitter

= =       =   =     =   =   === ==

LOCAL(0) .LOCL. 13 l 21 64 377 0 0 0.002

=-SHM(0) .GPS. 15 l 9 16 377 0 36.775 12.287

*SHM(1) .GPS1. 0 l 6 16 377 0 0.032 0.003


SHM(0) is the time from NEMA string (to establish second) this can deviate a lot, recommend you add another server (Not shown).

SHM(1) is the PPS from GPS

Related Topics: SHMRefclockUsers

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions...
SSL security by CAcert
Get the CAcert Root Certificate
This site is powered by the TWiki collaboration platform
IPv6 Ready
Copyright & 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding the site? Send feedback