Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 10:31:11 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   Why is ntp listening on IP address 127.0.31.1
Message-ID:  <bc3e1386c16510aba47cf604c479ea38.squirrel@webmail.harte-lyne.ca>

next in thread | raw e-mail | index | archive | help
I have a FreeBSD Bhyve guest that has in its /etc/rc.conf file the
following:

. . .
cloned_interfaces="lo1 lo2"
ipv4_addrs_lo1="127.0.31.1/32"
ipv4_addrs_lo2="127.0.32.1/32"
. . .

On the same host I have /etc/ntp.conf configured to listen on specific
addresses:

interface ignore wildcard
interface listen 127.0.0.1
interface listen 192.168.216.18

But following a reboot I discovered this using netstat:

udp4       0      0 127.0.0.1.123          *.*
udp4       0      0 127.0.31.1.123         *.*
udp4       0      0 127.0.32.1.123         *.*
udp4       0      0 192.168.216.18.123     *.*
udp4       0      0 216.185.71.18.123      *.*

Why is ntpd listening on the cloned loopback interfaces?


-- 
***          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?bc3e1386c16510aba47cf604c479ea38.squirrel>