Date: Tue, 10 Jul 2018 08:52:45 -0400 From: "James B. Byrne" <byrnejb@harte-lyne.ca> To: freebsd-questions@freebsd.org Subject: ntpd binds to all ldefined loopback addresses Message-ID: <5e53aa0720bba3538f6c3e27ae368e6f.squirrel@webmail.harte-lyne.ca>
next in thread | raw e-mail | index | archive | help
I have encountered an issue with ntp on FreeBSD-11. This may be either a design feature or a bug; or just a misunderstanding on my part. The host in question has server jails running on it. None of these are running ntpd. However, the host is and is configured to listen on specific addresses: # grep -i listen /etc/ntp.conf ### Set the listening addresses to avoid collisions with jails interface listen 192.168.216.18 interface listen 216.185.71.18 However, when I do a sockstat I see this: # sockstat -l | grep ntp root ntpd 11391 20 udp4 216.185.71.18:123 *:* root ntpd 11391 21 udp4 192.168.216.18:123 *:* root ntpd 11391 22 udp6 ::1:123 *:* root ntpd 11391 23 udp4 127.0.0.1:123 *:* root ntpd 11391 24 udp4 127.0.31.1:123 *:* root ntpd 11391 25 udp4 127.0.32.1:123 *:* root ntpd 11391 26 udp4 127.0.84.1:123 *:* Despite being instructed to only listen on two addresses ntpd has glommed every available loopback address. Is this intentional? if not then how does one configure ntp to only listen on a specific lo address? I have already tried specifying 'listen 127.0.0.1' and this produced no change in ntpd's observed behaviour. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5e53aa0720bba3538f6c3e27ae368e6f.squirrel>