Hi,

at least with ntp package I can now restrict ntp into listening on only
one interface.

lindi@censorius:~$ grep -v "^#" /etc/ntp.conf|grep -v "^$"
driftfile /var/lib/ntp/ntp.drift
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server 10.7.4.7
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
restrict ::1
interface listen vlan5
interface ignore ipv6
interface ignore wildcard
lindi@censorius:~$ sudo netstat -alpn|grep ntp
udp        0      0 10.8.8.254:123          0.0.0.0:*                           
4063/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:*                           
4063/ntpd
unix  2      [ ]         DGRAM                    14494    4063/ntpd
lindi@censorius:~$ sudo ls -l /proc/4063/exe
lrwxrwxrwx 1 root root 0 Feb 14 14:22 /proc/4063/exe -> /usr/sbin/ntpd
lindi@censorius:~$ dpkg -S /usr/sbin/ntpd
ntp: /usr/sbin/ntpd
lindi@censorius:~$ dpkg-query -W ntp
ntp     1:4.2.6.p2+dfsg-1+b1

-Timo



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to