<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:#000066;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:#000066;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:#000066;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:#000066;
        mso-fareast-language:EN-US;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Supratim,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">No crash! So I imagine I just have to use ‘pool’ correctly to the Europe ntp pool probably. Thanks for your help. I was beginning to doubt SIMH, especially with my problems with unzip’ing from various DECUS sources.
 I even removed some… erm… termination dates… just in case a VMS restart resulted in an inconvenient clock time.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Keith<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-GB"> owner-hecnet@Update.UU.SE [mailto:owner-hecnet@Update.UU.SE]
<b>On Behalf Of </b>Supratim Sanyal<br>
<b>Sent:</b> 23 June 2019 17:26<br>
<b>To:</b> hecnet@Update.UU.SE<br>
<b>Subject:</b> Re: [HECnet] Multinet 5.5 issues on VMS 7.3 (VAX) under SIMH<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Keith,<br>
<br>
I pasted your NTP.CONF file in and got the exact same crash as you. Then I tried the generic NIST servers (time-a-g.nist.gov,time-b-g.nist.gov,time-c-g.nist.gov,time-d-g.nist.gov) and also got the same crash. BUT the following works - can you try it?<br>
<br>
If it works, my guess is Multinet's NTPD has a problem with servers that forward to other servers but are not pool servers. Weird, I didn't expect this.<br>
<br>
driftfile MULTINET:NTP.DRIFT<br>
statistics loopstats peerstats clockstats<br>
filegen loopstats file loopstats type day enable<br>
filegen peerstats file peerstats type day enable<br>
filegen clockstats file clockstats type day enable<br>
server tick.usno.navy.mil iburst prefer<br>
server tock.usno.navy.mil iburst prefer<br>
restrict -4 default kod notrap nomodify nopeer noquery limited<br>
restrict -6 default kod notrap nomodify nopeer noquery limited<br>
restrict 127.0.0.1<br>
restrict ::1<br>
restrict source notrap nomodify noquery<br>
<br>
<br>
<br>
<br>
On 06/23/2019 10:29 AM, Keith Halewood wrote:<span style="font-size:12.0pt;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1F497D">Hi Supratim,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I just added server entries to google so my ntp.conf is initially:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">driftfile MULTINET:NTP.DRIFT</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">statistics loopstats peerstats clockstats</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">filegen loopstats file loopstats type day enable</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">filegen peerstats file peerstats type day enable</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">filegen clockstats file clockstats type day enable</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">server time1.google.com burst iburst prefer</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">server time2.google.com burst iburst prefer</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">server time3.google.com burst iburst prefer</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">server time4.google.com burst iburst prefer</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">restrict -4 default kod notrap nomodify nopeer noquery limited</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">restrict -6 default kod notrap nomodify nopeer noquery limited</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">restrict 127.0.0.1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">restrict ::1</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">restrict source notrap nomodify noquery</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">When I start NTP, I eventually see this in the logfile:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">$ Set NoOn</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">23 Jun 15:24:02 [multinet[537]: ntpdc
<a href="mailto:4.2.8p4@1.3265-o">4.2.8p4@1.3265-o</a> Mon Nov  2 19:53:28 UTC 2</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">015 (1): Starting</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">23 Jun 15:24:02 [multinet[537]: Command line: ix$dua0:[multinet.ix.syscommon.][m</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">ultinet]ntpd.exe;2</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">23 Jun 15:24:08 [multinet[537]: proto: precision = 10000.000 usec (-7)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">23 Jun 15:24:08 [multinet[537]: proto: fuzz beneath 140.845 usec</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">23 Jun 15:24:08 [multinet[537]: Listen and drop on 0 v6wildcard [::]:123</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">23 Jun 15:24:08 [multinet[537]: Listen and drop on 1 v4wildcard 0.0.0.0:123</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">23 Jun 15:24:08 [multinet[537]: Listen normally on 2 se0 192.168.2.36:123</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">23 Jun 15:24:08 [multinet[537]: Listen normally on 3 lo0 127.0.0.1:123</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">The command ‘multinet ntpq –p’ gives me:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">$ multinet ntpq -p</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">     remote           refid      st t when poll reach   delay   offset  jitter</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">==============================================================================</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">DISK$MULTINETBLD:[MULTINET-SRC.MULTINET.NTP4.LIBNTP]DECODENETNUM.C;2:78: INSIST(</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">ai->ai_addrlen <= sizeof(*netnum)) failed.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">%SYSTEM-F-OPCCUS, opcode reserved to customer fault at PC=000856D9, PSL=03C00000</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">  Improperly handled condition, image exit forced.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">….and a signal, stack and register dump.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">So… I’m a bit stuck still. Any pointers (preferably not null ones
</span><span style="font-family:Wingdings;color:#1F497D">J</span><span style="color:#1F497D"> ) gratefully received.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Keith</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-GB">
<a href="mailto:owner-hecnet@Update.UU.SE">owner-hecnet@Update.UU.SE</a> [<a href="mailto:owner-hecnet@Update.UU.SE">mailto:owner-hecnet@Update.UU.SE</a>]
<b>On Behalf Of </b>Supratim Sanyal<br>
<b>Sent:</b> 23 June 2019 12:56<br>
<b>To:</b> <a href="mailto:hecnet@Update.UU.SE">hecnet@Update.UU.SE</a><br>
<b>Subject:</b> Re: [HECnet] Multinet 5.5 issues on VMS 7.3 (VAX) under SIMH</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Hi Keith,<br>
<br>
On 06/23/2019 05:46 AM, Keith Halewood wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Is anybody running the NPTD functionality in Multinet 5.5 on VAX VMS 7.3 (under SIMH)? If so, how did you get it to work. I switched it on with a simple NTP.CONF and tried to query it. The logfile doesn’t change much and I/O counts go up
 slowly. My attempts to query it usually result in a traceback. I’m a bit concerned by the lack of an NTPDATE command mentioned in the documentation, despite having done a full install. The timezone facility is a bit primitive too.<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
Works okay on multiple SIMH OpenVMS/VAX 7.3 instances. Here is what I get:<br>
<br>
$ multinet ntpq -p<br>
     remote           refid      st t when poll reach   delay   offset  jitter<br>
==============================================================================<br>
*104.167.106.93  128.233.150.93   2 u   11   64    1   49.723  267.931   7.813<br>
 pool.ntp.org    .POOL.          16 p    -   64    0    0.000    0.000   7.813<br>
+sanyalnet-cloud 45.73.0.50       2 u   15   64    5   39.625   18.945  12.511<br>
+sanyalnet-cloud 198.166.1.59     2 u   83   64    6   39.535   60.975  51.664<br>
+sanyalnet-cloud 142.3.100.2      2 u  141   64    4   43.671   40.799  23.688<br>
+vps5.ctyme.com  216.218.254.202  2 u   10   64    7  119.906  -27.318  46.828<br>
+tick.eoni.com   216.228.192.53   2 u    7   64    7   79.618   34.703  28.908<br>
+horp-bsd01.horp 146.186.222.14   2 u    8   64    7   29.949   23.332  36.004<br>
+meanwhile.clfs. 200.98.196.212   2 u   12   64    7   20.000   -3.831  43.376<br>
<br>
And here is my MULTINET:NTP.CONF; 10.42.0.0/24, 10.100.0.0/24 and 10.200.0.0/24 entries are my local subnets with unrestricted access. Also I run my own public NTP servers, but any good public servers should work. You can just have the pool entry if you want.<br>
<br>
$ type multinet:ntp.conf<br>
driftfile MULTINET:NTP.DRIFT<br>
statistics loopstats peerstats clockstats<br>
filegen loopstats file loopstats type day enable<br>
filegen peerstats file peerstats type day enable<br>
filegen clockstats file clockstats type day enable<br>
server sanyalnet-cloud-vps.freeddns.org burst iburst prefer<br>
server sanyalnet-cloud-vps2.freeddns.org burst iburst prefer<br>
server sanyalnet-cloud-vps3.freeddns.org burst iburst prefer<br>
server sanyalnet-cloud-vps4.duckdns.org burst iburst prefer<br>
pool pool.ntp.org iburst<br>
restrict -4 default kod notrap nomodify nopeer noquery limited<br>
restrict -6 default kod notrap nomodify nopeer noquery limited<br>
restrict 127.0.0.1<br>
restrict ::1<br>
restrict source notrap nomodify noquery<br>
restrict 10.42.2.0 mask 255.255.255.0 notrust<br>
restrict 10.100.0.0 mask 255.255.255.0 notrust<br>
restrict 10.200.0.0 mask 255.255.255.0 notrust<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I’m thinking of giving up with it. I have local TCP services on the machines hosting SIMH instances. One of them returns a local time string in VMS format, so I may make use of that in an RDATE-like fashion.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Keith<o:p></o:p></p>
</blockquote>
<p>Hope this is of some help.<o:p></o:p></p>
<p>Best,<o:p></o:p></p>
<p>Supratim<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Sent via Thunderbird/MX-Linux on an overheated Compaq Presario CQ61<o:p></o:p></pre>
</blockquote>
<p><o:p> </o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Sent via Thunderbird/MX-Linux on an overheated Compaq Presario CQ61<o:p></o:p></pre>
</div>
</body>
</html>