Masscan
Very fast asynchronous TCP port scanner built to sweep large address ranges with nmap-like options.
C CLI (Linux, macOS, Windows) · Open source · Infrastructure and domains · github.com
- Takes
- IP
- Pricing
- Free, open source
- Footprint
- Active · contacts the target
- Account
- Not needed
- API
- No public API
- Last verified
- Nov 26, 2026
Very fast asynchronous TCP port scanner built to sweep large address ranges with nmap-like options. It takes IP address. Read the cons before you build a workflow on it.
What it does
Masscan is an open-source port scanner written in C by Robert Graham. It sends SYN packets asynchronously through its own TCP/IP stack, which lets a single machine scan very large address ranges quickly. Its command-line options and output are modelled on nmap, so it is easy to pick up for anyone who knows that tool.
Researchers use it to map which hosts in a network range expose given ports before handing a short list to slower, deeper tools. Because it uses its own network stack, the README recommends setting a separate source IP or source ports and firewalling them from the host system.
Footprint is active: it contacts the target or the services it is checking, which can be logged on the other side. No account is needed. There is no public API.
- +Extremely fast on large ranges
- +Familiar syntax for nmap users
- +No dependencies beyond a C compiler
- +Actively maintained
- −Active scanning that targets will see and may block or report
- −Built for breadth; it does not do deep service or OS detection like nmap
- −Scanning networks without permission may break laws or provider terms
When to use it
- 01Use it when you need to find open ports across a large range you are authorised to scan.
- 02Use it when you want a fast first pass before running nmap on the hosts that answered.
Next steps from this result
Suggested from the inputs Masscan takes- Found a resultConfirm it with a second, independent source before you record itPassive
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
sudo apt-get --assume-yes install git make gcc git clone https://github.com/robertdavidgraham/masscan cd masscan make
Technical details
Listing verified by an editor on Nov 26, 2026- API
- No public API
- Account
- Not needed
- Footprint
- Active · contacts the target
- Pricing
- Free, open source
- Platforms
- C CLI (Linux, macOS, Windows)
- Repository
- robertdavidgraham/masscan 26,185 stars
- Language
- C
- Licence
- AGPL-3.0
- Last commit
- Oct 2026
- Listed
- Nov 26
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used Masscan? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to Masscan
Listed tools that take the same inputs, closest match first.
- BGP RankingFree · Passive · APIWhat it does
CIRCL service that scores autonomous systems by how much malicious activity they host relative to their size.
IPNo ratings yetVerified today - BrowserLeaksFree · PassiveWhat it does
Suite of tests showing what your browser leaks: IP and WebRTC leaks, canvas, WebGL, font and TLS fingerprints.
IPNo ratings yetVerified today - CIDR ReportFree · PassiveWhat it does
Daily report on the global BGP routing table: table growth, AS summaries, possible bogons and aggregation.
IPNo ratings yetVerified today