如何完全禁用LLMNR?


9

默认情况下,在中LLMNR=yes设置为/etc/systemd/resolved.conf,以下是端口绑定(使用netstat -l -p -a -n):

tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN      8214/systemd-resolv
tcp6       0      0 :::5355                 :::*                    LISTEN      8214/systemd-resolv
udp        0      0 0.0.0.0:5355            0.0.0.0:*                           8214/systemd-resolv
udp6       0      0 :::5355                 :::*                                8214/systemd-resolv

LLMNR=no中设置时/etc/systemd/resolved.conf,我仍然具有以下绑定:

udp        0      0 0.0.0.0:5355            0.0.0.0:*                           8214/systemd-resolv
udp6       0      0 :::5355                 :::*                                8214/systemd-resolv

如何完全解除对所有LLMNR端口绑定的绑定?


系统:Ubuntu服务器15.04

Answers:


8

在/etc/systemd/resolved.conf中设置LLMNR = no之后,您是否尝试通过发出以下命令来重启systemd解析服务?

systemctl restart systemd-resolved.service

这可以按需工作。
二进制异常
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.