所以我有一个以太网点对点连接,从我的PC到在UDP端口123上运行NTP的设备。 这是nmap显示的内容:
Comparator<MyClass> COMPARATOR_BY_PRIORITY =
Comparator.nullsFirst(
Comparator.comparing(c -> c.isEmpty() ? null : -c.getPriority())
);
Comparator<MyClass> COMPARATOR_BY_PRICE =
Comparator.nullsFirst(
Comparator.comparing(c -> c.isEmpty() ? null : c.getPrice())
);
Comparator<MyClass> COMBINED_COMPARATOR =
COMPARATOR_BY_PRIORITY.thenComparing(COMPARATOR_BY_FARE);
现在有了Wireshk,我可以看到往返于此主机的传入和传出NTP数据包。
到目前为止,我的PC和设备之间似乎存在NTP通信。
但是,当我尝试ntp查询设备时:
root@kali:~# nmap -sU mydevice
PORT STATE SERVICE
123/udp open|filtered ntp
当我的Wireshk清楚地向我表明我正在与设备进行自动通信时,为什么不能手动查询时间服务器?