From Newsgroup: comp.protocols.time.ntp
--000000000000aeb22f06325dfd5b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Wed, Apr 9, 2025 at 5:42=E2=80=AFPM Marco Moock <
mm@dorfdsl.de> wrote:
Hello!
I've a FreeBSD machine that should sync the time with and NTP server,
but shouldn't provide an NTP server.
How can I configure it to only sync the time, but not provide the
listener on udp/123?
In ntp.conf:
nic listen ::1
nic listen 127.0.0.1
nic ignore all
It might also be adequate for your case to instead invoke ntpd with "-I ::1=
"
on the command line. ntpq defaults to using ::1 (IPv6 localhost) on most systems. Either way, ntpd startup logging will tell you which addresses
it's opening and whether it's actually processing incoming packets or just reading and dropping them (wierd, I know).
Cheers,
Dave Hart
--000000000000aeb22f06325dfd5b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr"><div><div class=3D"gmail_default" style= =3D"font-family:"trebuchet ms",sans-serif"></div></div></div><br>= <div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"= gmail_attr">On Wed, Apr 9, 2025 at 5:42=E2=80=AFPM Marco Moock <<a href= =3D"mailto:
mm@dorfdsl.de">
mm@dorfdsl.de</a>> wrote:<br></div><blockquote=
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so= lid rgb(204,204,204);padding-left:1ex">Hello!<br>
I've a FreeBSD machine that should sync the time with and NTP server,<b=
but shouldn't provide an NTP server.<br>
How can I configure it to only sync the time, but not provide the<br>
listener on udp/123?<br>
<span class=3D"gmail_default" style=3D"font-family:"trebuchet ms"= ,sans-serif"></span><br>
</blockquote><div><br></div><div><div class=3D"gmail_default" style=3D"font= -family:"trebuchet ms",sans-serif">In ntp.conf:</div><div class= =3D"gmail_default" style=3D"font-family:"trebuchet ms",sans-serif= "><br></div><div class=3D"gmail_default" style=3D"font-family:"trebuch=
et ms",sans-serif">nic listen ::1</div><div class=3D"gmail_default" st= yle=3D"font-family:"trebuchet ms",sans-serif">nic listen 127.0.0.= 1</div><div class=3D"gmail_default" style=3D"font-family:"trebuchet ms= ",sans-serif">nic ignore all</div><br class=3D"gmail-Apple-interchange= -newline"><div class=3D"gmail_default" style=3D""><span style=3D"font-famil= y:"trebuchet ms",sans-serif">It might also be adequate for your c= ase to instead invoke ntpd with "</span><font face=3D"monospace">-I ::= 1</font><font face=3D"trebuchet ms, sans-serif">" on the command line.= =C2=A0 ntpq defaults to using ::1 (IPv6 localhost) on most systems.=C2=A0 E= ither way, ntpd startup logging will tell you which addresses it's open= ing and whether it's actually processing incoming packets or just readi=
ng and dropping them (wierd, I know).</font></div><br clear=3D"all"></div><= div><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><font = face=3D"tahoma, sans-serif" color=3D"#666666"><br></font></div><font face= =3D"tahoma, sans-serif" color=3D"#666666">Cheers,<br>Dave Hart</font></div>= </div></div><br class=3D"gmail-Apple-interchange-newline"></div></div>
--000000000000aeb22f06325dfd5b--
--- Synchronet 3.20c-Linux NewsLink 1.2