[no subject]

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


#Allow NTP client access from local network.
#DC Servers
allow 10.40.21.0/28
allow fc00:18f:11ab:4021::/64
allow 10.40.61.0/28
allow fc00:18f:11ab:4061::/64

odin@swntp01:~$ sudo chronyc clients
Hostname                      NTP   Drop Int IntL Last     Cmd   Drop Int  =
Last
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
10.40.21.12                     1      0   -   -   329       0      0   -  =
   -
10.40.21.13                     1      0   -   -   173       0      0   -  =
   -
10.40.21.11                     1      0   -   -    78       0      0   -  =
   -

If I change the /etc/chrony/chrony.conf to allow All
#Allow NTP client access from local network.
#DC Servers
allow

odin@swntp01:~$ sudo chronyc clients
Hostname                      NTP   Drop Int IntL Last     Cmd   Drop Int  =
Last
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
10.40.61.11                    49      0   5   -    33       0      0   -  =
   -
fc00:18f:11ab:4061::11         50      0   6   -     9       0      0   -  =
   -
10.40.21.12                     1      0   -   -   434       0      0   -  =
   -
10.40.21.13                     1      0   -   -   278       0      0   -  =
   -
10.40.21.11                     1      0   -   -   183       0      0   -  =
   -


So what do I do wrong or have misunderstood?

Regards
Henning

--_000_5ABC601D16A6044981773D154D5C9F7102F46366F8XMailDAG1ener_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"; xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
..MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"DA" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:bre=
ak-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I have a<span lang=3D"EN-AU"> strange</span> problem=
..<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">It looks like only the first al=
low command will be read.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">I am using version 4.0 on Ubunt=
u 20.04.3 installed with &#8220;sudo apt-get install Chrony&#8221;<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">From my /etc/chrony/chrony.conf=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#Allow NTP client access from l=
ocal network.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#DC Servers<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">allow 10.40.21.0/28<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">allow fc00:18f:11ab:4021::/64<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">allow 10.40.61.0/28<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">allow fc00:18f:11ab:4061::/64<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">odin@swntp01:~$ sudo chronyc cl=
ients<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Hostname&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; NTP&nbsp;&nbsp; Drop Int IntL Last&nbsp;&nbsp;=
&nbsp;&nbsp; Cmd&nbsp;&nbsp; Drop Int&nbsp; Last<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">10.40.21.12&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&n=
bsp;&nbsp; -&nbsp;&nbsp; 329&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; -<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">10.40.21.13&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&n=
bsp;&nbsp; -&nbsp;&nbsp; 173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp; &nbsp;&nbsp;&nbsp;-<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">10.40.21.11&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&n=
bsp;&nbsp; -&nbsp;&nbsp;&nbsp; 78&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; -<o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">If I change the /etc/chrony/chr=
ony.conf to allow All<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#Allow NTP client access from l=
ocal network.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">#DC Servers<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">allow<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">odin@swntp01:~$ sudo chronyc cl=
ients<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Hostname&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; NTP&nbsp;&nbsp; Drop Int IntL Last&nbsp;&nbsp;=
&nbsp;&nbsp; Cmd&nbsp;&nbsp; Drop Int&nbsp; Last<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">10.40.61.11&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; 49&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 5&nbsp;&=
nbsp; -&nbsp;&nbsp;&nbsp; 33&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; -<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">fc00:18f:11ab:4061::11&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 50&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&=
nbsp;&nbsp; 6&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;&=
nbsp;&nbsp; -<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">10.40.21.12&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&n=
bsp;&nbsp; -&nbsp;&nbsp; 434&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 0&nbsp; &nbsp;-&nbsp;&nbsp;&nbsp;&nbsp; -<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">10.40.21.13&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&n=
bsp;&nbsp; -&nbsp;&nbsp; 278&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; -<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">10.40.21.11&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&n=
bsp;&nbsp; -&nbsp;&nbsp; 183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; -<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">So what do I do wrong or have m=
isunderstood?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Regards<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Henning<o:p></o:p></span></p>
</div>
</body>
</html>

--_000_5ABC601D16A6044981773D154D5C9F7102F46366F8XMailDAG1ener_--

-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/