Handbook · version 1.0.0 beta

NetScan manual

Everything NetScan does, on the Mac, iPhone and iPad. New here? Start with Getting started, then press Scan.

1. Getting started

Use NetScan only on networks you own or are allowed to scan. Port scanning other people's networks can be illegal or against their rules. NetScan is not a vulnerability scanner and has no exploit features.

Install on the Mac

NetScan needs macOS 14 Sonoma or later. It is built and tested on Apple silicon; the Intel part of the universal build is untested. It needs no administrator rights and installs no helper.

  1. Download NetScan from the download section and unpack it if it is a .zip file.
  2. Move NetScan to your Applications folder.
  3. Open it the first time as described below.

The first launch: "NetScan cannot be opened"

The current Mac build is not notarized by Apple. Gatekeeper therefore blocks the first launch with a message that the app cannot be opened or that Apple cannot check it. This is expected; you allow it once:

  1. In the Finder, open the Applications folder.
  2. Right-click (or Control-click) NetScan and choose Open.
  3. In the message that appears, click Open again.
  4. If the message has no Open button (newer macOS versions), click Done or OK, open System Settings > Privacy & Security, scroll down to the note that NetScan was blocked and click Open Anyway. Confirm with your password or Touch ID.

After that NetScan opens normally with a double-click.

Local Network permission. When the window opens, NetScan contacts your router to identify the network, and macOS asks whether NetScan may find devices on your local network. Choose Allow. You can change it later under System Settings > Privacy & Security > Local Network.

Start NetScan from the Finder (or with open), not by running the program file inside the app from a terminal, and not with Xcode's Run button if you build it yourself. In those cases macOS does not give it the network's neighbour table and Bonjour, so MAC addresses, vendors, IPv6 addresses and Bonjour names stay empty.

Install on iPhone and iPad

NetScan for iPhone and iPad needs iOS or iPadOS 17 or later. It is one universal app. It is not in the App Store yet; when it is, the download section will link to it.

Before the first scan, NetScan explains in a short screen why it needs to contact devices in your network. Tap Continue, and iOS asks for Local Network access. Allow it, or NetScan cannot find anything. See iPhone and iPad for what is different from the Mac.

Your first scan

  1. Choose a network in the scope menu next to the Scan button. NetScan lists your active networks (Wi-Fi, Ethernet, VPN) automatically.
  2. Press Scan. Devices appear in the table as they answer and are filled in with names, ports and more while the scan runs.
  3. Select a device to see its details, open ports and copy actions.

2. The main window

This section describes the Mac. The iPad in landscape works much the same way; the iPhone uses a list (see iPhone and iPad).

Toolbar

From left to right: the NetScan name, the Scan button, the scope menu, and at the right end Filter, Export CSV, Clear and Settings.

  • Scan button. A large green button. While a scan runs it turns into a red Cancel button of the same size.
  • Scope menu. Chooses what to scan: one of your networks, or Custom range for addresses you enter (see Custom ranges). A long label is shortened in the middle; hover over it to see the whole text.
  • Filter narrows the table to the devices that match the text you type.
  • Export CSV saves the table as a CSV file.
  • Clear deletes the stored history of this network or of all networks (see History).
  • Settings (the gear) sets how fast and how gently NetScan scans (see Settings).

The device table

One row per device. The default columns are Status, DNS name, IPv4, IPv6, MAC, Vendor and Type. Open ports, Response time, Model and Last seen can be added. Values NetScan could not determine are shown as unavailable, and guesses (type, model) are marked as guesses.

The detail panel

The panel to the right of the table shows the selected device: its names, addresses, MAC and vendor, type and model, the open ports and the deep scan. It adapts its width to the content; drag the line between table and panel to set the width yourself, and double-click it to return to the automatic width.

For a device behind a router (a range outside your local network) the panel notes that its MAC address and vendor cannot be determined there. For an old entry it notes that the device was not found in the latest scan.

The pool occupancy map

Under the table, an optional bar shows the scanned range and how much of it is in use. It is collapsed until you expand it. A header line reads, for example, 192.168.1.0/24 · 27 of 254 addresses in use (11 %) · 3 new · 5 old.

  • Ranges of up to 256 addresses get one cell per address: green for found, teal with a mark for new, grey stripes for old, faint for free. While a scan runs, blue marks devices still being looked up and purple the device of a running deep scan.
  • Larger ranges are drawn as 64 blocks; the height of each block shows how many of its addresses are in use.
  • The selected device gets a ring and a small triangle above its cell; hovering over a cell shows its address and counts at the end of the legend line.

3. Scanning

What happens during a scan

  1. Discover. NetScan sends a ping (ICMP echo) to every address in the range, limited by the requests-per-second and simultaneous-request settings. No root rights are needed. In a local network on the Mac it also reads the system's neighbour table, which gives the MAC address and, from the bundled IEEE list, the vendor. A host that ignores ping is tried on a few TCP ports (22, 80, 443, 445 and 8080; on iPhone and iPad also 62078).
  2. Enrich. As soon as a device is found, NetScan looks up its name by reverse DNS and Bonjour (mDNS), checks common ports with TCP connections, reads service banners and web page titles, and guesses the device type from all of that. On the Mac it also collects IPv6 addresses with one all-nodes ping per local network and the neighbour table.
  3. Deep scan (only when you ask for it): a port scan of a single device, see Deep scan.

The table fills while the scan runs, and progress is shown under the table. Press Cancel at any time; what was found so far is kept.

Custom ranges

Choose Custom range in the scope menu and type one or more IPv4 ranges, separated by commas:

FormExample
Single address192.168.1.20
Subnet (CIDR)192.168.1.0/24
From-to range10.20.0.1-10.20.0.50
Several, separated by commas192.168.1.0/24, 10.0.0.5, 10.0.1.1-10.0.1.9

Quick picks. Under "Private networks (RFC 1918)" the range dialog offers four common home and office subnets: 10.10.1.0/24, 192.168.2.0/24, 192.168.1.0/24 and 192.168.178.0/24. A quick pick only fills the field; you can still edit it.

Large ranges. A /24 takes seconds; ranges up to a /16 (65,536 addresses) start right away. A larger range first asks "Scan a large range?" with the number of addresses and an estimated minimum duration. Choose Start Scan or Cancel.

Deep scan

A deep scan checks the TCP ports of one device. Start it from the Deep scan menu in the detail panel or with a right-click on a row (Start Deep Scan), and choose:

  • 1,000 most used ports: NetScan's curated list of commonly used ports, checked most common first. It is not an official or measured ranking, and the app says so.
  • All ports (65,535).

A confirmation names the number of connections first. A deep scan checks at most 16 ports at a time, so it stays gentle. While it runs, its progress row under the table shows the device, the progress bar, the number of ports checked and a Cancel button; found ports are added to the device's stored ports. Only one deep scan runs at a time.

4. Working with results

Status icons

Each status has its own symbol and colour, so colour is never the only cue. Hover over the icon for its name.

SymbolStatusMeaning
Green check markFoundAnswered in this scan.
Teal plusNewFound by this scan and not in the list stored before it. In the first scan of a network nothing is new.
Grey clockOld entryKnown from an earlier scan, but not found by the latest one. The row is greyed out.
Blue arrowsScanningFound; names and ports are still being looked up.
Purple magnifierDeep scan runningThe device of the running deep scan.

Filter and sort

  • Filter: press ⌘F (Edit > Filter Devices) to jump into the Filter field and type part of a name, address or other value.
  • Sort: click a column header; click again to reverse the order. The Status column sorts by the priority shown above.

Choose and reorder columns

Right-click the table header to show or hide columns. Drag a header to move the column, and drag the edge between headers to resize it. NetScan remembers the arrangement. View > Reset Columns restores the default.

Copy values

  • In the detail panel, IPv4 and IPv6 addresses and the MAC address are buttons: click one to copy exactly that value. A short "Copied" confirmation appears.
  • Right-click a row in the table for Copy IPv4, Copy IPv6 (a submenu if the device has several addresses) and Start Deep Scan.

Port chips

In the detail panel every open port is a chip. When a program fits the port and your Mac has one for it, the chip is a button that opens it:

PortsOpens
22ssh:// in Terminal (or your SSH app), after asking for a user name
80, 631, 5000, 8000, 8008, 8080, 8081, 8888http:// in your browser
443, 5001, 8443https:// in your browser
139, 445 / 548smb:// / afp:// in the Finder
5900–5909vnc:// in Screen Sharing
21, 23, 3389, 554, 8554ftp://, telnet://, rdp://, rtsp:// if a program handles them

The link always uses the device's IPv4 address; a host name or banner never goes into it. NetScan only opens links. It never runs a shell command or script. A chip whose kind of link no installed program handles is plain text.

SSH user name. An SSH chip opens a small "Connect with SSH" sheet with a User name field, prefilled with the name you used last time for that device. Connect (Return) saves the name and opens ssh://user@address; leave it empty to let the SSH program choose. Cancel (Escape) opens nothing.

CSV export

Export CSV in the toolbar saves the visible columns of the table, including old entries, as a CSV file. Text from the network that a spreadsheet could read as a formula is neutralised. The file uses the default column order, even if you rearranged the columns.

5. History

NetScan remembers the devices of every network separately. On the Mac a network is identified by its subnet and its router's MAC address, so two different networks that use the same addresses keep separate histories. Devices from earlier scans stay in the list as old entries until you clear them.

  • Clear > Clear This Network… deletes the stored devices of the selected network.
  • Clear > Clear All Networks… deletes the history of every network.

Both ask first, because stored devices cannot be restored. Clearing also removes the saved SSH user names of the cleared devices. On iPhone and iPad the same commands are in Settings > History.

6. Settings

Open NetScan > Settings (⌘,) or click the gear in the toolbar.

SettingDefaultRangeWhat it does
Simultaneous requests1288–512How many checks may be in progress at the same time.
Requests per second200050–20000How many checks NetScan starts per second at most.
Timeout per request (seconds)10.2–10How long NetScan waits for an answer before it counts a check as unanswered.

Higher values scan faster but put more load on the network and the devices. Lower values scan more gently. Changes apply to the next scan; a running scan or deep scan keeps the values it started with. A value outside the range snaps back to the nearest allowed one.

On iPhone and iPad, the Settings sheet has the same three settings plus History (clear this network or all networks), Privacy (what NetScan sends, and an Open Settings button for the Local Network switch) and About.

7. iPhone and iPad

The iPhone and iPad app shares the scan engine, history and most views with the Mac. It scans your networks and custom ranges with the same quick picks, finds names by reverse DNS and Bonjour, checks ports and services, guesses device types, runs deep scans and keeps a history per network.

What iOS does not allow

  • No MAC addresses, and so no vendor from the MAC. iOS gives apps no access to the neighbour (ARP) table. There is no MAC column; vendor and model come from Bonjour where devices announce them.
  • Silent devices are found differently. A local address that ignores ping is tried on TCP ports 22, 80, 443, 445, 8080 and 62078, and every device that announces itself over Bonjour in the range counts as found. A local /24 therefore takes a little longer than on the Mac (about 11 s against 5–7 s, measured on one home network).
  • IPv6 only from Bonjour. Devices that announce a Bonjour host name get its IPv6 addresses; others show none.
  • History per network is kept per interface and subnet, because the router's MAC address is not available. Two Wi-Fi networks with the same subnet share one history.
  • No background or scheduled scans, no widgets, one window on iPad.

Local Network permission

Before the first scan, a screen titled "Local Network Access" explains that NetScan finds devices by contacting addresses in your network and that iOS will ask for permission. Tap Continue and allow access in the iOS prompt.

If access is denied, a banner says "Local Network access is off for NetScan. Turn it on in Settings to find devices." Its Open Settings button opens NetScan's page in the Settings app, where you switch Local Network on.

Leaving the app during a scan

Scans run in the foreground, and the screen stays on while a scan or deep scan runs. When you switch to another app, iOS allows NetScan only about 30 seconds. NetScan stops the scan about 25 seconds after you leave, keeps and saves everything found so far, and shows a banner when you come back: "The scan was paused because the app moved to the background." Press Scan again to continue.

iPhone (and iPad in narrow windows)

  • The scope menu sits top left; the More menu and the Scan button top right. The search field filters the list.
  • More holds Sort, the pool map switch, Export CSV (the share sheet, which includes Save to Files) and Settings.
  • Swipe a row to the right to copy its IPv4 address, to the left for a deep scan; touch and hold a row for the context menu. Tap a row for the detail screen.

iPad

  • The table with configurable columns (Columns menu, with Reset Columns) and the detail panel as an inspector on the right.
  • One bar along the bottom of the window: scope, Columns, inspector, More, Scan and Filter.
  • A hardware keyboard gets the shortcuts listed under Keyboard shortcuts; hold ⌘ to see them. A trackpad or mouse gets pointer hover and drag.

Port actions on iOS

Web ports open your default browser. ssh, smb, vnc and similar ports open an installed app that handles them. Without such an app, the port offers Copy Link and Copy Address and Port instead of a button that does nothing.

8. Keyboard shortcuts

ActionMaciPad
Scan–⌘R
Cancel scan–⌘.
Filter devices⌘F⌘F
Copy the selected device's IPv4 address–⇧⌘C
Show or hide the inspector–⌘I
Export CSV–⌘E
Settings⌘,⌘,
Confirm a sheet (Connect, Done, Start Scan)Return–
Close a sheet without actionEsc–

On the Mac, use the toolbar for Scan, Export CSV and Clear; the table supports the usual arrow keys to move the selection.

9. Privacy

  • No account, no analytics, no telemetry, no cloud. NetScan talks to the addresses you scan, to your router and local DNS to identify the network and resolve names, and to Bonjour on the local network. Nothing is sent to the developer or anyone else.
  • Your data stays on your device. On the Mac the history is stored in ~/Library/Application Support/info.bastgen.NetScan/NetScan.store; table layout, settings and SSH user names are in the app's preferences. On iPhone and iPad the history lives inside the app, in a folder excluded from device backups.
  • Links open only when you click. Port chips and the Buy Me a Coffee link in the app are opened only by your click, and the support link carries no tracking parameters.
  • Network text is cleaned. Host names, Bonjour names, web page titles and banners come from other devices. Control and invisible formatting characters are removed before they are stored or shown.
  • No root, no helper. NetScan needs no administrator rights.

To delete the device history, use Clear All Networks. On iPhone and iPad, deleting the app removes all of its data. On the Mac, deleting the app leaves the history folder and the preferences behind: to remove them too, quit NetScan, delete the folder ~/Library/Application Support/info.bastgen.NetScan and run defaults delete info.bastgen.NetScan in Terminal.

10. Troubleshooting

No devices are found

  • Check that you are connected to the network and that the right network is selected in the scope menu.
  • Check the Local Network permission (Mac: System Settings > Privacy & Security > Local Network; iPhone and iPad: Settings > NetScan). On the Mac, macOS reports no error when access is denied; after many failed checks NetScan shows the banner "NetScan could not reach devices on your local network. Local Network access may be blocked for NetScan." with a button that opens the right page in System Settings.
  • If you lowered the settings a lot, a short timeout can make slow devices look silent. Try the defaults.

MAC addresses and vendors are empty on the Mac

Devices in another subnet (behind a router or a VPN) never have a MAC address in NetScan, because the neighbour table does not cross routers. In your local network, start NetScan from the Finder: when it is started from Xcode or as a bare program file, macOS does not hand it the neighbour table, and a banner says that MAC addresses could not be read. Devices with a randomised (private) MAC address have no vendor.

VPN and remote ranges

Enter the VPN's subnet as a custom range, for example 10.8.0.0/24. Hosts that ignore ping are tried on TCP ports 22, 80, 443, 445 and 8080. If nothing in the range answers, NetScan says "<range> did not answer. If this range is behind a VPN, check that the VPN is connected." and skips the rest of it.

A device does not answer ping

Many devices and firewalls block ping. NetScan still finds them when they accept a connection on one of the fallback TCP ports, or on the Mac when they appear in the local neighbour table. A device that answers nothing at all cannot be found by any scanner.

Firewalls

A firewall on the scanned device can hide its ports and make a deep scan slow, because every blocked port waits for the timeout. A firewall on your own computer or network can block the checks entirely. If a scan seems too aggressive for your network, lower Simultaneous requests and Requests per second.

"NetScan cannot be opened" on the Mac

The build is not notarized. Follow the steps in Install on the Mac: right-click > Open, or System Settings > Privacy & Security > Open Anyway.

The connection was lost

If the network interface disappears during a scan (Wi-Fi off, cable unplugged), NetScan says "The connection on <interface> was lost." and skips the rest of that network. Devices already found are still filled in.

More answers are in the FAQ.

Back to top