
在我的伺服器上,應該獲取時間。不應提供給其他伺服器。我稱之為客戶。
但它表明 NTP 預設以伺服器模式運行,因為它正在開啟連接埠並偵聽(等待套件)。
foohost:~ # netstat -tulpen| grep ntp
udp 0 0 10.172.19.11:123 0.0.0.0:* 0 17756202 28508/ntpd
udp 0 0 30.251.32.11:123 0.0.0.0:* 0 17756200 28508/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 0 17756198 28508/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 0 17756194 28508/ntpd
udp 0 0 fe80::250:56ff:fe30:123 :::* 0 17756206 28508/ntpd
udp 0 0 ::1:123 :::* 0 17756204 28508/ntpd
udp 0 0 :::123 :::* 0 17756191 28508/ntpd
如何停止ntp開啟連接埠和監聽?
Linux版本:SUSE Linux Enterprise Server 12 SP3
NTPD版本:ntp-4.2.8p10-63.3.x86_64