Removing LLMNR from Dragonboard 410c

Hello!

I am attempting to remove LLMNR from my dragonboard but I cant seem to find out what is serving it. The only reason I would like to remove it from my yocto build is that it leaves a port open that I want closed

when I do nmap I get this

PORT     STATE SERVICE
22/tcp   open  ssh
53/tcp   open  domain
5355/tcp open  llmnr

Do I need this service? I tried to remove it by removing zero conf and avahi but nothing. Any ideas?

As a temporary solution I changed the /etc/systemd/resolved.conf file to have this line

LLMNR=no

but I would prefer to build a yocto image without it!

on the target you can use sudo netstat -taup to determine which program use connections. In your case, systemd-resolveduses LLMNR port. systemd-resolved service provides network name resolution and LLMNR is used for link-local name resolution, if you don’t need it you can certainly disable it as you already done.

Alternatively, you can try to remove systemd-resolved package at OE build, simply remove resolved from PACKAGECONFIG_append in ./meta-linaro/meta-linaro-integration/recipes-core/systemd/systemd_%.bbappend, networkmanager should take over name resolution,

1 Like