Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-29 Thread Martin Burnicki
gaurav10ni...@gmail.com wrote:
> On Wednesday, 10 May 2017 21:27:27 UTC+5:30, David Taylor  wrote:
> I want to get offset between 0.5-2 ms. Can it be achieved using meinberg 
> application?

Please note "the meinberg application" is just a set of precompiled
binaries built from the original NTP sources available here:
http://support.ntp.org/bin/view/Main/SoftwareDownloads

Please note also that the accuracy a client achieves depends strongly on
the characteristics of the network (jitter asymmetry, etc.) and even
more on the basic stability of the client system, e.g., how much the
client's undisciplined system time varies due to changes in the ambient
temperature, how good the operating system supports accurate
timekeeping, etc.

Several Windows versions have different limitations, for which ntpd for
Windows tries to provide workarounds to achieve the best accuracy and
precision that is possible.

> If yes, Kindly share the parameters required to be changed to get offset 
> value in the required range.

Under Windows you should use "minpoll 6 maxpoll 6" when you specify the
NTP server(s) in ntp.conf, e.g.:

server aa.bb.cc.dd iburst minpoll 6 maxpoll 6

where aa.bb.cc.dd should be replaced by the host name or IP address of
an NTP server.

See also:
https://www.meinbergglobal.com/download/burnicki/time_synchronization_accuracy_with_ntp.pdf


Regards,

Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-26 Thread David Taylor

On 26/05/2017 12:59, gaurav10ni...@gmail.com wrote:
[]> Hi David,


I want to get offset between 0.5-2 ms. Can it be achieved using meinberg 
application?

If yes, Kindly share the parameters required to be changed to get offset value 
in the required range.

Regards,
Gaurav


Gaurav,

As with many things, "it depends".  Here are my offsets with NTP and 
Windows, using a PPS signal from a GPS device:


  http://www.satsignal.eu/mrtg/performance_ntp.php#windows-stratum-1

- provide good sky view for the GPS receiver.
- use Windows 10 (Windows-8 also acceptable).
- light, constant load.
- keep the temperature as constant as you can.

Is the performance show good enough?  See my Web page for the parameters 
I use, but if you have a PPS source that's usually good enough.


--
Cheers,
David
Web: http://www.satsignal.eu

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-26 Thread gaurav10nigam
On Wednesday, 10 May 2017 21:27:27 UTC+5:30, David Taylor  wrote:
> On 10/05/2017 14:40, gaurav10ni...@gmail.com wrote:
> []
> > Hi Jacob,
> >
> > Can you please share the procedure for implementing version 4 of NTP client 
> > on windows 7?
> >
> > Regards,
> > Gaurav
> 
> Gaurav,
> 
> Meinberg kindly provide an installer:
> 
>https://www.meinbergglobal.com/english/sw/ntp.htm#ntp_stable
> 
> I have some notes here:
> 
>http://www.satsignal.eu/ntp/setup.html
> 
> -- 
> Cheers,
> David
> Web: http://www.satsignal.eu

Hi David,

I want to get offset between 0.5-2 ms. Can it be achieved using meinberg 
application?

If yes, Kindly share the parameters required to be changed to get offset value 
in the required range.

Regards,
Gaurav

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-12 Thread David Taylor

On 12/05/2017 06:33, Jakob Bohm wrote:
[]

Note that all recent/current versions of the Windows Time Service are
in fact SNTP/NTP implementations, with quality of implementation
improving in newer versions.

Old (now unsupported) versions of the Windows Time Service violated the
SNTP/NTP specification in ways that required special workarounds in
standard NTP servers.  Even older implementations that didn't even
include a service named "windows time service" used simplistic time
queries over the SMB protocol.

Besides being included with the OS, the "windows time service"
typically defaults to imposing a much lower load on the selected time
source, by using much longer poll intervals.  In "Active Directory"
(Windows 2000 and later) setups, there is also a dead simple automatic
configuration, where each machine simply syncs against it's nearest
"upstream" in the authentication/management hierarchy, limiting
practical management work to machines that have no such "upstream",
such as the 2 to 4 machines at the top of the tree.  And of cause
machines needing more precise time than needed by the basic Windows
functions.

Enjoy
Jakob


If the Windows Time Service is good enough for your needs, then use it. 
Multi-platform operation, ease of management, monitoring, accuracy, 
ability to accept reference clocks make the reference NTP my preferred 
choice for Windows.


Cheers,
David
--
Cheers,
David
Web: http://www.satsignal.eu

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-11 Thread Jakob Bohm

On 10/05/2017 15:03, David Taylor wrote:

On 10/05/2017 07:03, Jakob Bohm wrote:
[]

Using NTP 4.2.8p10 instead of the Windows Time Service doesn't make
sense on most Windows machines, but it does make sense in some
situations where the Windows Time Service included with Windows cannot
be configured to behave as desired.

Enjoy
Jakob


That is not an opinion with which everyone would agree.

For me, the reference NTP should be the default installation on Windows
PCs for its flexibility, configuration, management and performance
capabilities, and its compatibility with other OSes making management
across multi-platform installations easier.

Only where NTP is an unacceptable option would I accept Windows Time
Service - it's a much poorer and less flexible alternative.



Note that all recent/current versions of the Windows Time Service are
in fact SNTP/NTP implementations, with quality of implementation
improving in newer versions.

Old (now unsupported) versions of the Windows Time Service violated the
SNTP/NTP specification in ways that required special workarounds in
standard NTP servers.  Even older implementations that didn't even
include a service named "windows time service" used simplistic time
queries over the SMB protocol.

Besides being included with the OS, the "windows time service"
typically defaults to imposing a much lower load on the selected time
source, by using much longer poll intervals.  In "Active Directory"
(Windows 2000 and later) setups, there is also a dead simple automatic
configuration, where each machine simply syncs against it's nearest
"upstream" in the authentication/management hierarchy, limiting
practical management work to machines that have no such "upstream",
such as the 2 to 4 machines at the top of the tree.  And of cause
machines needing more precise time than needed by the basic Windows
functions.



Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-09 Thread gaurav10nigam
On Wednesday, 22 March 2017 18:57:36 UTC+5:30, David Taylor  wrote:
> NTP 4.2.8p10 released
> 
> Windows binaries working on Windows-XP SP3 & later - download:
> http://www.satsignal.eu/ntp/x86/index.html
> 
> Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz
> 
> -- 
> Cheers,
> David
> Web: http://www.satsignal.eu

Hi David,

Is there any way to implement NTP version 4.2.8p10 in windows time service?

Regards,
Gaurav

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-09 Thread Brian Inglis
On 2017-05-09 01:45, ashu6...@gmail.com wrote:
> How can we add redundant server into NTP 4.2.8p10 ? If we try to
> edit the configuration file it's not switching to the redundant
> server?

After changing the /etc/ntp.conf file, you need to restart any 
server ntp daemon using it to put changes into effect.
When dealing with ntp, patience is often required, to see if 
changes have any obvious effect.

If you have insufficient truechimer sources (3, 5, ...) to form 
a *majority* clique, the time will not be updated, as if you had 
no sources. 

The ntpd daemon looks at the time provided by all upstream sources 
using its algorithms and calculates the correctness interval of the 
majority clique survivors using averages weighted by the normalised 
reciprocal root distance to give the smallest maximum error in both 
offset and jitter. 

If the survivor source with the smallest root distance (and thus 
smallest maximum error), the candidate source, is not the same as 
the previous system source and the offset difference between the 
candidate source and the previous system source is less than the 
clockhop threshold (initially 1ms), the system source stays the 
same and the clockhop threshold is halved, so it could take more 
than one poll interval to replace the system source if offsets 
are very similar. 

These values are updated every time another packet is received 
from any upstream source and passes sanity checks, or the system 
source is unreachable after eight poll intervals. This could take  
128s (~2min) for LAN sources with minpoll 4, or 512s (~8min) for 
network sources with minpoll 6; except at startup with sources 
using iburst, when six packets are sent at poll 1 (2s intervals), 
or after operating for a long period, with network sources at 
default maxpoll 10/1024s, when it could take ~136min to become 
unreachable. 

For more details see: 
https://www.eecis.udel.edu/~mills/ntp/html/prefer.html#clockhop
and linked/related pages.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-09 Thread Martin Burnicki
ashu6...@gmail.com wrote:
> Hi david,
> How can we add redundant server into  NTP 4.2.8p10 ? If we try to
> edit the configuration file it's not switching to the redundant
> server?

The NTP reference implementation (ntpd) does not use redundancy in the
way you might expect. I.e., you can't configure a "master" and a "slave"
time source and expect the client to use only the master and switch to
the slave when the master becomes unavailable.

Instead, you can configure several time sources, and ntpd periodically
checks them all, uses some voting process to see which send the same,
best, and most accurate time, and selects the "best" time source as
so-called "system peer".

The local system time adjustment is derived from the weighted time
offset from the system peer plus some other time sources which provide
similar accuracy.

If the selected system peer becomes unavailable then the client ntpd
discards it and selects a new one from the remaining time sources.

Please note that configuring exactly 2 time sources is the worst you can
do: if both time sources provide a slightly different time then the
client ntpd is unable to determine which one provides the "right" time.

Further reading:
http://support.ntp.org/bin/view/Support/SelectingOffsiteNTPServers#Section_5.3.3.
http://doc.ntp.org/current-stable/prefer.html
http://doc.ntp.org/current-stable/cluster.html


Regards,

Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-09 Thread Marco Marongiu


On 09/05/17 09:45, ashu6...@gmail.com wrote:
> How can we add redundant server into  NTP 4.2.8p10 ? If we try to
> edit the configuration file it's not switching to the redundant
> server?
Maybe it's just me or I am dumb, but I am not sure I understand what you
are talking about. Could you please elaborate on what your problem is,
how you tried to solve it, and what the relation is with the release of
4.2.8p10?

Ciao
-- bronto
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-05-09 Thread ashu6486
Hi david,
 How can we add redundant server into  NTP 4.2.8p10 ? If we try to edit the 
configuration file it's not switching to the redundant server?

Regards
Ashish

On Thursday, 23 March 2017 21:40:04 UTC+5:30, Martin Burnicki  wrote:
> David Taylor wrote:
> > NTP 4.2.8p10 released
> > 
> > Windows binaries working on Windows-XP SP3 & later - download:
> > http://www.satsignal.eu/ntp/x86/index.html
> > 
> > Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz
> 
> And a full-featured installer including the current openSSL DLL is now
> available at
> https://www.meinbergglobal.com/english/sw/ntp.htm#ntp_stable
> 
> Martin
> -- 
> Martin Burnicki
> 
> Meinberg Funkuhren
> Bad Pyrmont
> Germany

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-04-07 Thread David Taylor

On 07/04/2017 08:33, seema pandhre wrote:

On Wednesday, March 22, 2017 at 6:57:36 PM UTC+5:30, David Taylor wrote:

NTP 4.2.8p10 released

Windows binaries working on Windows-XP SP3 & later - download:
http://www.satsignal.eu/ntp/x86/index.html

Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz

--
Cheers,
David
Web: http://www.satsignal.eu


Hi David,

Do you run the tests for ntp on Linux box as well? Can you please help me with 
its steps. I mean the tests folder which is available in ntp source.


I run NTP on x86 and ARM Linux boxes:

  http://www.satsignal.eu/mrtg/performance_ntp.php#versions

but my tests are very simple

- does the software run?

- is the output of "ntpq -crv -pn" as expected?

- is the timekeeping steady?

- is there an obvious memory leak?

--
Cheers,
David
Web: http://www.satsignal.eu

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-04-07 Thread seema pandhre
On Wednesday, March 22, 2017 at 6:57:36 PM UTC+5:30, David Taylor wrote:
> NTP 4.2.8p10 released
> 
> Windows binaries working on Windows-XP SP3 & later - download:
> http://www.satsignal.eu/ntp/x86/index.html
> 
> Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz
> 
> -- 
> Cheers,
> David
> Web: http://www.satsignal.eu

Hi David,

Do you run the tests for ntp on Linux box as well? Can you please help me with 
its steps. I mean the tests folder which is available in ntp source.

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-28 Thread David Taylor

On 27/03/2017 22:34, Dan Gearty wrote:

Hi David, that is interesting that the problem does not manifest across the
board given Martin's description of the bug.

I am using the Meinberg build on Windows 10 Pro.

I had previously been depending upon the environment variable.
PPSAPI_DLLS=loopback-ppsapi-provider.dll


Yes, with five PCs here I would have expected at least one of them to 
have the problem.  Perhaps my compile on VS 2015 (for some reason) 
doesn't have the issue?  All mine are Win-10/64 Pro. Oh, well!


--
Cheers,
David
Web: http://www.satsignal.eu

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-27 Thread Dan Gearty
Hi David, that is interesting that the problem does not manifest across the
board given Martin's description of the bug.

I am using the Meinberg build on Windows 10 Pro.

I had previously been depending upon the environment variable.
PPSAPI_DLLS=loopback-ppsapi-provider.dll

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-27 Thread Dan Gearty
Thank you Martin.

I tried the registry fix.
Key Name:  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTP
Value 9
  Name:PPSProviders
  Type:REG_MULTI_SZ
  Data:loopback-ppsapi-provider.dll

I can confirm that it works.
27 Mar 17:08:48 ntpd[1188]: time_pps_create: loaded 'C:\Program Files
(x86)\NTP\bin\loopback-ppsapi-provider.dll'

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-27 Thread David Taylor

On 27/03/2017 15:50, Martin Burnicki wrote:
[]

This is a bug which made it into ntpd 4.2.8p10. I've just found the
reason and opened an issue on bugzilla:
http://bugs.ntp.org/show_bug.cgi?id=3402

I've also already a fix for this.

The best solution for you is to specify the DLL name in a registry key
instead of the environment variable.

Run regedit and open this registry path:
HKLM\System\CurrentControlSet\services\NTP

Then create a new key as multipart string, with the name "PPSProviders",
and the contents "loopback_pps_api_provider.dll".

Or, as a temporary workaround for the environment variables, you could
try to append a dummy DLL name to the real DLL name, e.g.:

PPSAPI_DLLS=loopback_pps_api_provider.dll;dummy


Martin


As it happens, on two Win-10/64 Pro PCs here the bug doesn't appear to 
exist, and they (continue) to run correctly with:


  PPSAPI_DLLS=loopback-ppsapi-provider.dll

I've updated the bug.

--
Cheers,
David
Web: http://www.satsignal.eu

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-27 Thread Martin Burnicki
Dan,

Dan Gearty wrote:
> I have been using the loopback driver on Windows 10. It had been
> running OK in older versions up to 4.2.8p9. Now in 4.2.8p10 it
> appears that junk characters are appended to the driver name when it
> is called.  The junk characters are different each time NTP is 
> restarted.

This is a bug which made it into ntpd 4.2.8p10. I've just found the
reason and opened an issue on bugzilla:
http://bugs.ntp.org/show_bug.cgi?id=3402

I've also already a fix for this.

The best solution for you is to specify the DLL name in a registry key
instead of the environment variable.

Run regedit and open this registry path:
HKLM\System\CurrentControlSet\services\NTP

Then create a new key as multipart string, with the name "PPSProviders",
and the contents "loopback_pps_api_provider.dll".

Or, as a temporary workaround for the environment variables, you could
try to append a dummy DLL name to the real DLL name, e.g.:

PPSAPI_DLLS=loopback_pps_api_provider.dll;dummy


Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-26 Thread David Taylor

On 25/03/2017 22:09, Dan Gearty wrote:

I have been using the loopback driver on Windows 10.
It had been running OK in older versions up to 4.2.8p9.
Now in 4.2.8p10 it appears that junk characters are appended to the driver
name when it is called.  The junk characters are different each time NTP is
restarted.

25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
(x86)\NTP\bin\loopback-ppsapi-provider.dll???nY?': The specified module
could not be found
25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
(x86)\NTP\bin\loopback-ppsapi-provider.dll???nY?) --> 2 / No such file
or directory
25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
(x86)\NTP\bin\??h?l?': The specified module could not be found
25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
(x86)\NTP\bin\??h?l?) --> 2 / No such file or directory
25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
(x86)\NTP\bin\A': The specified module could not be found
25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
(x86)\NTP\bin\A) --> 2 / No such file or directory
25 Mar 16:57:32 ntpd[14436]: time_pps_create: no providers available
25 Mar 16:57:32 ntpd[14436]: refclock_ppsapi: time_pps_create: Exec format
error
25 Mar 16:57:32 ntpd[14436]: GPS_NMEA(4) flag1 1 but PPSAPI fails


Dan,

Sorry to hear of the problem.  PCs Harstad and Lund here are using the 
loopback DLL and are still working correctly:


  http://www.satsignal.eu/mrtg/harstad_ntp_2.html
  http://www.satsignal.eu/mrtg/lund-ntp-2.html

Note that I install NTP outside the "Program Files" tree to avoid 
permissions issues, and most likely I have /not/ updated the loopback DLL.


The NTP executables are from my own build:
  http://www.satsignal.eu/ntp/x86/index.html

and checking...the loopback DLL details are:
  18/06/2016  15:5175,776 loopback-ppsapi-provider.dll

installed in C:\Tools\NTP\bin\ in each case.  So that DLL version /does/ 
work with 4.2.8p10 binaries.  Checked on Win-10/64 in each case.


--
Cheers,
David
Web: http://www.satsignal.eu

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-25 Thread Brian Inglis
On 2017-03-25 22:57, Brian Inglis wrote:
> On 2017-03-25 16:09, Dan Gearty wrote:
>> I have been using the loopback driver on Windows 10.
>> It had been running OK in older versions up to 4.2.8p9.
>> Now in 4.2.8p10 it appears that junk characters are appended to the
>> driver name when it is called. The junk characters are different each
>> time NTP is restarted.
>> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
>> (x86)\NTP\bin\loopback-ppsapi-provider.dll???nY?': The specified module
>> could not be found
>> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
>> (x86)\NTP\bin\loopback-ppsapi-provider.dll???nY?) --> 2 / No such file
>> or directory
>> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
>> (x86)\NTP\bin\??h?l?': The specified module could not be found
>> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
>> (x86)\NTP\bin\??h?l?) --> 2 / No such file or directory
>> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
>> (x86)\NTP\bin\A': The specified module could not be found
>> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
>> (x86)\NTP\bin\A) --> 2 / No such file or directory
>> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: no providers available
>> 25 Mar 16:57:32 ntpd[14436]: refclock_ppsapi: time_pps_create: Exec format
>> error
>> 25 Mar 16:57:32 ntpd[14436]: GPS_NMEA(4) flag1 1 but PPSAPI fails
> 
> Have you defined the System (HKLM) environment variable PPSAPI_DLLS to 
> point to C:\Program Files (x86)\NTP\bin\loopback-ppsapi-provider.dll?
> 
> Win-Break/Advanced system settings/Advanced tab/Environment Variables... 
> button/
> /System variables pane/New.../New System Variable dialogue:
> Variable name:  PPSAPI_DLLS
> Variable value: C:\Program Files (x86)\NTP\bin\loopback-ppsapi-provider.dll
> 
> reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
> Manager\Environment" /f PPSAPI_DLLS
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
> Manager\Environment
> PPSAPI_DLLSREG_SZC:\Program Files 
> (x86)\NTP\bin\loopback-ppsapi-provider.dll
> End of search: 1 match(es) found.

Of course that command line wrapped at the most ambiguous place:

cmd > reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
Manager\Environment" ^
More?  /f PPSAPI_DLLS

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
PPSAPI_DLLSREG_SZC:\Program Files 
(x86)\NTP\bin\loopback-ppsapi-provider.dll

End of search: 1 match(es) found.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-25 Thread Brian Inglis
On 2017-03-25 16:09, Dan Gearty wrote:
> I have been using the loopback driver on Windows 10.
> It had been running OK in older versions up to 4.2.8p9.
> Now in 4.2.8p10 it appears that junk characters are appended to the
> driver name when it is called. The junk characters are different each
> time NTP is restarted.
> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
> (x86)\NTP\bin\loopback-ppsapi-provider.dll???nY?': The specified module
> could not be found
> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
> (x86)\NTP\bin\loopback-ppsapi-provider.dll???nY?) --> 2 / No such file
> or directory
> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
> (x86)\NTP\bin\??h?l?': The specified module could not be found
> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
> (x86)\NTP\bin\??h?l?) --> 2 / No such file or directory
> 25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
> (x86)\NTP\bin\A': The specified module could not be found
> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
> (x86)\NTP\bin\A) --> 2 / No such file or directory
> 25 Mar 16:57:32 ntpd[14436]: time_pps_create: no providers available
> 25 Mar 16:57:32 ntpd[14436]: refclock_ppsapi: time_pps_create: Exec format
> error
> 25 Mar 16:57:32 ntpd[14436]: GPS_NMEA(4) flag1 1 but PPSAPI fails

Have you defined the System (HKLM) environment variable PPSAPI_DLLS to 
point to C:\Program Files (x86)\NTP\bin\loopback-ppsapi-provider.dll?

Win-Break/Advanced system settings/Advanced tab/Environment Variables... button/
/System variables pane/New.../New System Variable dialogue:
Variable name:  PPSAPI_DLLS
Variable value: C:\Program Files (x86)\NTP\bin\loopback-ppsapi-provider.dll

reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session 
Manager\Environment" /f PPSAPI_DLLS
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
PPSAPI_DLLSREG_SZC:\Program Files 
(x86)\NTP\bin\loopback-ppsapi-provider.dll
End of search: 1 match(es) found.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-25 Thread Dan Gearty
I have been using the loopback driver on Windows 10.
It had been running OK in older versions up to 4.2.8p9.
Now in 4.2.8p10 it appears that junk characters are appended to the driver
name when it is called.  The junk characters are different each time NTP is
restarted.

25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
(x86)\NTP\bin\loopback-ppsapi-provider.dll???nY?': The specified module
could not be found
25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
(x86)\NTP\bin\loopback-ppsapi-provider.dll???nY?) --> 2 / No such file
or directory
25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
(x86)\NTP\bin\??h?l?': The specified module could not be found
25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
(x86)\NTP\bin\??h?l?) --> 2 / No such file or directory
25 Mar 16:57:32 ntpd[14436]: load_pps_provider: 'C:\Program Files
(x86)\NTP\bin\A': The specified module could not be found
25 Mar 16:57:32 ntpd[14436]: time_pps_create: load failed (C:\Program Files
(x86)\NTP\bin\A) --> 2 / No such file or directory
25 Mar 16:57:32 ntpd[14436]: time_pps_create: no providers available
25 Mar 16:57:32 ntpd[14436]: refclock_ppsapi: time_pps_create: Exec format
error
25 Mar 16:57:32 ntpd[14436]: GPS_NMEA(4) flag1 1 but PPSAPI fails

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-24 Thread Magnus Danielson

Hi,

I asked my original question to see if the process could be improved.

For instance, it would be good if there was direct pointers to the 
various distributions page where packaging state and availability for 
various releases would be shown and updates. This is what can be found 
for several other security bug scenarios. Especially for security 
updates, it is more important for coordinating the efforts and help 
showing how this is handed off. While each party have their 
responsibility, they way things coordinate can be important for how 
smooth the upgrade becomes for the users. I wanted to just ask about it 
to see if there is improvements to be done.


For the moment, I don't have 4.2.8p10 available in my version of distro 
(Debian testing). Packaging is important to many, so this is to 
illustrate possible improvements.


MVH
Magnus

On 03/24/2017 09:30 AM, Harlan Stenn wrote:

Hal,

Thanks - we're going over the lists and processes to improve things.

H
--
Hal Murray writes:


Harlan said:

We're open to doing an even better job of telling folks about things like
this.


I think a message should go out to (almost?) all lists when security fixes
are available to the general public.

The first mail on questions was David Taylor's announcement of the
availability of Windows binaries.  There was no mention of a security release
.

I just checked the archives for announce.  Nothing since April 2015.

The hackers list has only 3 messages in March.  None was an announcement.


If the mailing list traffic has moved to other lists and/or venues, then
please make an official announcement and disable the old lists.  (but please
save the archives)


--
These are my opinions.  I hate spam.





___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-24 Thread Harlan Stenn
Hal,

Thanks - we're going over the lists and processes to improve things.

H
--
Hal Murray writes:
> 
> Harlan said:
> > We're open to doing an even better job of telling folks about things like
> > this. 
> 
> I think a message should go out to (almost?) all lists when security fixes 
> are available to the general public.
> 
> The first mail on questions was David Taylor's announcement of the 
> availability of Windows binaries.  There was no mention of a security release
> .
> 
> I just checked the archives for announce.  Nothing since April 2015.
> 
> The hackers list has only 3 messages in March.  None was an announcement.
> 
> 
> If the mailing list traffic has moved to other lists and/or venues, then 
> please make an official announcement and disable the old lists.  (but please 
> save the archives)
> 
> 
> -- 
> These are my opinions.  I hate spam.
> 
> 
> 
> 
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Hal Murray

Harlan said:
> We're open to doing an even better job of telling folks about things like
> this. 

I think a message should go out to (almost?) all lists when security fixes 
are available to the general public.

The first mail on questions was David Taylor's announcement of the 
availability of Windows binaries.  There was no mention of a security release.

I just checked the archives for announce.  Nothing since April 2015.

The hackers list has only 3 messages in March.  None was an announcement.


If the mailing list traffic has moved to other lists and/or venues, then 
please make an official announcement and disable the old lists.  (but please 
save the archives)


-- 
These are my opinions.  I hate spam.



___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Harlan Stenn
Martin Burnicki writes:
> Dan Geist wrote:
> > I don't disagree, but along with membership in the consortium comes
> > additional benefits like that.
> > 
> > I'm guessing Suse, FreeBSD, and Debian were all had the opportunity
> > to be working on patched versions a couple weeks ago when the NTF
> > folks sent out the original messaging: 
> > http://nwtime.org/current-members-donors/
> > 
> > I believe even individual members would have gotten access to the
> > code pre public-release. NTF isn't "for profit" but it needs to keep
> > the lights on somehow...
> 
> True.
> 
> However, I'm not sure if every NTF member gets early notification about
> security issues that need to be fixed. I also think this does not
> necessarily be the case.

All institutional members get notification of upcoming security patches.

Premier- and Partner-level members (which includes opensource projects
that sign an NDA for access to pre-release security patches) get the
actual patches.

Most individual members do not get early access, but trusted project
developers who have signed the Volunteer agreement (which has an NDA)
get early access as well.
-- 
Harlan Stenn 
http://networktimefoundation.org - be a member!
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Martin Burnicki
Dan Geist wrote:
> I don't disagree, but along with membership in the consortium comes
> additional benefits like that.
> 
> I'm guessing Suse, FreeBSD, and Debian were all had the opportunity
> to be working on patched versions a couple weeks ago when the NTF
> folks sent out the original messaging: 
> http://nwtime.org/current-members-donors/
> 
> I believe even individual members would have gotten access to the
> code pre public-release. NTF isn't "for profit" but it needs to keep
> the lights on somehow...

True.

However, I'm not sure if every NTF member gets early notification about
security issues that need to be fixed. I also think this does not
necessarily be the case.

Martin

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Martin Burnicki
Magnus Danielson wrote:
> Hi,
> 
> On 03/23/2017 05:12 PM, Martin Burnicki wrote:
>> Magnus Danielson schrieb:
>>> Hi Martin,
>>>
>>> On 03/23/2017 03:25 PM, Martin Burnicki wrote:
 Hi Magnus,

 Magnus Danielson wrote:
> Hi,
>
> On 03/22/2017 02:27 PM, David Taylor wrote:
>> NTP 4.2.8p10 released
>>
>> Windows binaries working on Windows-XP SP3 & later - download:
>> http://www.satsignal.eu/ntp/x86/index.html
>>
>> Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz
>>
>
> Is bugs generated in distros?
> Debian for instance.

 What do you mean? I don't understand your question.
>>>
>>> In particular for security updates it would be good to do coordinated
>>> filing of a tracking bug for various Linux distributions, such that
>>> they upgrade their packaging quickly. Exactly who does what may vary,
>>> but with some form of orchestrated handling upgrading may become
>>> quicker.
>>
>> The folks who are in the security group knew about the upcoming security
>> release, but I agree an email should have been sent on the normal NTP
>> announce mailing list as soon as the new version became available..
> 
> It took some time to find:
> 
> https://packages.qa.debian.org/n/ntp.html
> 
> 4.2.8p10 now in unstable. Hope it ripples out to the others soon.

AFAIK some Linux distros prefer not to provide updated versions, but
instead try to backport batches themselves.

Martin

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Harlan Stenn
Magnus Danielson writes:
> Hi,
> 
> On 03/23/2017 05:12 PM, Martin Burnicki wrote:
> > Magnus Danielson schrieb:
> >> Hi Martin,
> >>
> >> On 03/23/2017 03:25 PM, Martin Burnicki wrote:
> >>> Hi Magnus,
> >>>
> >>> Magnus Danielson wrote:
>  Hi,
> 
>  On 03/22/2017 02:27 PM, David Taylor wrote:
> > NTP 4.2.8p10 released
> >
> > Windows binaries working on Windows-XP SP3 & later - download:
> > http://www.satsignal.eu/ntp/x86/index.html
> >
> > Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz
> >
> 
>  Is bugs generated in distros?
>  Debian for instance.
> >>>
> >>> What do you mean? I don't understand your question.
> >>
> >> In particular for security updates it would be good to do coordinated
> >> filing of a tracking bug for various Linux distributions, such that
> >> they upgrade their packaging quickly. Exactly who does what may vary,
> >> but with some form of orchestrated handling upgrading may become
> >> quicker.
> >
> > The folks who are in the security group knew about the upcoming security
> > release, but I agree an email should have been sent on the normal NTP
> > announce mailing list as soon as the new version became available..
> 
> It took some time to find:
> 
> https://packages.qa.debian.org/n/ntp.html
> 
> 4.2.8p10 now in unstable. Hope it ripples out to the others soon.
> 
> My point here is that we like to make sure the progress is there and 
> easy to evaluate when an update is possible.

For certainly more than 5 years' time we've been offering early security
patch access to OS vendors and other folks who include or embed NTP in
their products.

We've put this offer in all of our CERT announcements, which go out at
least a week before the public release of any security release.

We've listed access to advance security patches at:

 http://nwtime.org/membership/benefits/

since the launch of the NTF website, and this access was also listed on
a similar page for several years' time before that when I set up the NTP
Forum at ISC.

We're open to doing an even better job of telling folks about things
like this.

Recommendations welcome.
-- 
Harlan Stenn 
http://networktimefoundation.org - be a member!


___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Magnus Danielson

Hi,

On 03/23/2017 05:12 PM, Martin Burnicki wrote:

Magnus Danielson schrieb:

Hi Martin,

On 03/23/2017 03:25 PM, Martin Burnicki wrote:

Hi Magnus,

Magnus Danielson wrote:

Hi,

On 03/22/2017 02:27 PM, David Taylor wrote:

NTP 4.2.8p10 released

Windows binaries working on Windows-XP SP3 & later - download:
http://www.satsignal.eu/ntp/x86/index.html

Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz



Is bugs generated in distros?
Debian for instance.


What do you mean? I don't understand your question.


In particular for security updates it would be good to do coordinated
filing of a tracking bug for various Linux distributions, such that
they upgrade their packaging quickly. Exactly who does what may vary,
but with some form of orchestrated handling upgrading may become
quicker.


The folks who are in the security group knew about the upcoming security
release, but I agree an email should have been sent on the normal NTP
announce mailing list as soon as the new version became available..


It took some time to find:

https://packages.qa.debian.org/n/ntp.html

4.2.8p10 now in unstable. Hope it ripples out to the others soon.

My point here is that we like to make sure the progress is there and 
easy to evaluate when an update is possible.


Cheers,
Magnus
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Martin Burnicki
Magnus Danielson schrieb:
> Hi Martin,
> 
> On 03/23/2017 03:25 PM, Martin Burnicki wrote:
>> Hi Magnus,
>>
>> Magnus Danielson wrote:
>>> Hi,
>>>
>>> On 03/22/2017 02:27 PM, David Taylor wrote:
 NTP 4.2.8p10 released

 Windows binaries working on Windows-XP SP3 & later - download:
 http://www.satsignal.eu/ntp/x86/index.html

 Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz

>>>
>>> Is bugs generated in distros?
>>> Debian for instance.
>>
>> What do you mean? I don't understand your question.
> 
> In particular for security updates it would be good to do coordinated
> filing of a tracking bug for various Linux distributions, such that
> they upgrade their packaging quickly. Exactly who does what may vary,
> but with some form of orchestrated handling upgrading may become
> quicker.

The folks who are in the security group knew about the upcoming security
release, but I agree an email should have been sent on the normal NTP
announce mailing list as soon as the new version became available..

Martin

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Martin Burnicki
David Taylor wrote:
> NTP 4.2.8p10 released
> 
> Windows binaries working on Windows-XP SP3 & later - download:
> http://www.satsignal.eu/ntp/x86/index.html
> 
> Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz

And a full-featured installer including the current openSSL DLL is now
available at
https://www.meinbergglobal.com/english/sw/ntp.htm#ntp_stable

Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Magnus Danielson

Hi Martin,

On 03/23/2017 03:25 PM, Martin Burnicki wrote:

Hi Magnus,

Magnus Danielson wrote:

Hi,

On 03/22/2017 02:27 PM, David Taylor wrote:

NTP 4.2.8p10 released

Windows binaries working on Windows-XP SP3 & later - download:
http://www.satsignal.eu/ntp/x86/index.html

Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz



Is bugs generated in distros?
Debian for instance.


What do you mean? I don't understand your question.


In particular for security updates it would be good to do coordinated 
filing of a tracking bug for various Linux distributions, such that they 
upgrade their packaging quickly. Exactly who does what may vary, but 
with some form of orchestrated handling upgrading may become quicker.


Cheers,
Magnus
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Martin Burnicki
Hi Magnus,

Magnus Danielson wrote:
> Hi,
> 
> On 03/22/2017 02:27 PM, David Taylor wrote:
>> NTP 4.2.8p10 released
>>
>> Windows binaries working on Windows-XP SP3 & later - download:
>> http://www.satsignal.eu/ntp/x86/index.html
>>
>> Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz
>>
> 
> Is bugs generated in distros?
> Debian for instance.

What do you mean? I don't understand your question.

Martin

___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions


Re: [ntp:questions] NTP 4.2.8p10 released

2017-03-23 Thread Magnus Danielson

Hi,

On 03/22/2017 02:27 PM, David Taylor wrote:

NTP 4.2.8p10 released

Windows binaries working on Windows-XP SP3 & later - download:
http://www.satsignal.eu/ntp/x86/index.html

Source: http://archive.ntp.org/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz



Is bugs generated in distros?
Debian for instance.

Cheers,
Magnus
___
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions