Device type

Instead of “the first rule that matches wins”, Netlens weighs every clue: strong discovery hints (mDNS printer services, UPnP gateway), words in the device’s name, nmap’s own class of the matched operating system (webcam, printer, media device, game console…), product words in nmap’s OS name (Vimtag CP3 PTZ camera, Silicondust HDHomeRun), the manufacturer, open ports and the operating system family. A printer called hp-laserjet stays a printer even when nmap guesses Android, and a camera whose OS name says camera is not a server because SSH is open. nmap’s product-style guesses (its device class and names like “HP LaserJet”) only count when nmap is at least 90 % sure, because below that they are often wrong (TP-Link switches matched as a TV tuner). nmap’s class is now remembered between scans, so a quick scan classifies a device the same way as the deep scan did. There are new types besides router, switch, access point, server, computer, phone, printer, IoT, camera, NAS and virtual machine: tablet, TV / media, speaker, game console and appliance. A type you set by hand always wins. After an update, Netlens re-applies its rules to the devices it already knows, so the effect shows at once.