Configure Scan Options

Learn how to configure scan settings, define allowed network ranges, choose discovery protocols, set TCP ports, and control scan limits before running AssetLoom Network Scanner.

Configure Scan Options

Open the Configuration File

After creating a config.json, you need to open it with a text editor on your device. Because the file is owned by the designated system user, opening it without admin permissions will result in a permission error.

  • For macOS and Linux, open the configuration file with Nano and use sudo:

sudo nano ./config.json

Open The Configuration File - macOS and Linux

  • For Windows, open the configuration file with Notepad:

notepad .\config.json

Once you have opened the file, you can view the default settings as shown here.

View the default settings

In this example, the scanner can scan local private IPv4 networks connected to your computer. Routed and public networks are not allowed.

Limit Scanning to a Specific Network

Next, you need to decide which network or IP range the scanner is allowed to scan.

approved_ranges defines the network ranges that the scanner is permitted to scan. You can use it to set a clear boundary so the scanner only accepts targets within the networks you have authorized.

To authorize a network for scanning, add the target IP range to approved_ranges in CIDR format:

"approved_ranges": ["cidr"]

For example, if you want to scan the IP range 192.168.1.0/24, use:

"approved_ranges": ["192.168.1.0/24"]

If you do not want to set any network restrictions, leave it as null, which is the default:

"approved_ranges": null

Allow Routed Private Networks

allow_routed controls whether the scanner can scan private networks that are not directly connected to your computer, such as networks reached through a router or VPN.

You can set allow_routed to true or false to enable or disable it.

"allow_routed": true

Allow Routed Private Networks

  • true — allows scanning of routed private networks.
  • false — limits scanning to directly connected private networks.

Allow Public Ranges

allow_public controls whether the scanner can scan public IP ranges.

Use true only when you have explicit authorization to scan that public range. If public scanning is not needed, keep it disabled.

"allow_public": false

Allow Public Ranges

Tip

For better control, you can also add the specific public range to approved_ranges. This limits the scanner to only the addresses you intend to scan.

Aggregate Host Limit

max_aggregate_hosts controls the maximum number of IP addresses the scanner can include in a single scan.

Aggregate Host Limit

By default, the value of 0 uses the scanner’s built-in default limit of 65,536 hosts.

"max_aggregate_hosts": 0

If you need to run a larger approved scan, you can increase the value.

The maximum supported value is 1,048,576 hosts. Values above this limit are automatically reduced to the maximum.

Customize Discovery Methods/Protocols

By default, AssetLoom Network Scanner uses four network discovery methods:

ProtocolPurposeWhen to use
icmpChecks whether a device responds to ping and collects RTT/TTL information.Use it to quickly check whether devices are online and responding to ping.
arpDiscovers MAC addresses on the local Layer 2 network.Use it when devices on your local network are missing from ping results, or you need MAC addresses for identification.
tcpChecks configured TCP ports to find reachable devices and open services.Use it when ping does not find a device, or you need additional network evidence to help identify the device or the services it provides.
dns_ptrPerforms reverse DNS lookups to resolve IP addresses to hostnames.Use it when scan results contain unfamiliar IP addresses and hostnames would make devices easier to recognize.
snmpQueries SNMP-enabled devices for information such as device name, model, interface details, and system data.Use it when scanning managed network infrastructure such as switches, routers, printers, access points, or other SNMP-enabled devices.
winrmConnects to Windows devices through Windows Remote Management to retrieve system and device information.Use it when you need richer inventory data from managed Windows endpoints and WinRM is available in your environment.
wmiRetrieves Windows system information through Windows Management Instrumentation.Use it when you need deeper details about Windows computers, especially for inventory verification or asset audits.
mdnsDiscovers hostnames and devices on the local network using Multicast DNS without requiring a traditional DNS server.Use it when scanning environments with Macs, printers, smart devices, or other devices that may advertise themselves locally.
mdns_sdDiscovers services advertised through DNS Service Discovery over mDNS.Use it when you want more context about an unknown device based on the services it advertises.
netbiosRetrieves Windows or SMB-related device names and network information using NetBIOS services.Use it when identifying Windows or SMB devices that cannot be clearly recognized through DNS or other discovery methods.

The default configuration enables all four protocols. If you do not want to use a discovery method, remove it from the scan.protocols list.

Customize Discovery Methods/Protocols

Validation rule

Unknown protocol names that do not match the currently available protocols will cause configuration validation to fail. This prevents silent misconfiguration.

Enable Inventory Collectors

Discovery tells AssetLoom which devices are there. Inventory collectors determine how much additional information AssetLoom retrieves from those devices after they are discovered.

This is why some names, such as dns_ptr, snmp, winrm, and mdns, also appear in the discovery configuration. The same underlying protocol may participate in discovery, while its collector performs a separate enrichment step after a device has been found.

For example:

  • tcp may help AssetLoom determine that a Windows device is reachable.
  • A winrm collector can then connect to that device and retrieve its operating system, hardware, interfaces, and other inventory details.
  • snmp may help identify a network device during discovery, while the SNMP collector can query it for richer system and hardware data.

Collectors fall into two groups:

  • Credential-free collectors look up hostnames and advertised services. They work right away.
  • Credentialed collectors read inventory directly from the device. They only run when you add a credential that covers the device.

By default, only dns_ptr is enabled. Every other collector is opt-in.

CollectorNeeds a credentialPortWhat it adds
dns_ptrNoOS resolverHostname from reverse DNS
mdnsNoUDP 5353Hostname from devices on your local link
mdns_sdNoUDP 5353Advertised services and hostname
netbiosNoUDP 137Hostname, workgroup, and adapter MAC
snmpSNMP community stringUDP 161OS, hardware, interfaces, and hostname
winrmWindows accountTCP 5986 (HTTPS)OS, hardware, interfaces, hostname, and hypervisor
wmiSame Windows accountTCP 135 + DCOMSame as winrm, used as a fallback

Customize TCP Ports

The scanner checks a predefined list of TCP ports to help identify common devices and services, including web servers, Windows devices, printers, SSH servers, and other network-connected systems.

By default, AssetLoom scans the following ports:

PortCommon Use
22SSH, commonly used for remote access to Linux/Unix systems
23Telnet remote access
53DNS, used for domain name and hostname resolution
80HTTP web services
135Microsoft RPC Endpoint Mapper, commonly used by Windows systems and services
443HTTPS secure web services
445SMB file and printer sharing, commonly seen on Windows devices
554RTSP (Real-Time Streaming Protocol), commonly used for video streaming, IP cameras, and surveillance devices
631IPP (Internet Printing Protocol), commonly used by network printers and print servers
902VMware ESXi/vSphere communication, commonly used for host management and related VMware services
1883MQTT messaging, commonly used by IoT devices
3389Remote Desktop Protocol (RDP), commonly used for Windows remote access
5000Web-based services; commonly used by applications and NAS devices such as Synology DSM over HTTP
5060SIP (Session Initiation Protocol), commonly used for VoIP calls and IP phone systems
5900VNC / Remote Framebuffer remote desktop services
8006Proxmox VE web management interface, used for managing virtual machines and containers
8080Alternative HTTP or web application services
8443Alternative HTTPS or secure web application services
9100Network printer/print data services
48899Vendor-specific or IoT device services; usage varies by device

You can remove or add other ports to the tcp_ports list to focus on a specific scan.

Customize TCP Ports

Validation rule

When you customize tcp_ports, the scanner checks the values before running:

  • Valid range: TCP ports must be between 1 and 65535.
  • Duplicate ports: Duplicate values are automatically removed.
  • Invalid ports: Values outside the valid range are ignored.
  • No valid ports: If all configured ports are invalid, the scan stops and returns an error instead of using the default port list.
Note

You can explore other advanced scan options such as timeout, concurrency, and ping limit in the Configuration Reference.

Save & Close the Text Editor

After updating your scan settings, save the config.json file before continuing. The steps depend on the text editor you are using.

In Nano:

  • Ctrl + O = Write Out, which means save the file
  • Enter = confirm the filename
  • Ctrl + X = exit Nano

In Windows Notepad:

  • Ctrl + S = save the file
  • You can then close Notepad normally

Save & Close the Text Editor

Once the file is saved, your scanner settings are ready for the next step: Run a Dry Run.


What’s Next?