# Masscan

> Mass IP port scanner

Source: https://talira.ai/catalog/masscan-8bs9btc9
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [security / network / scanning](https://talira.ai/categories/security/network/scanning)
- Platforms: linux, windows, macos[^1]
- Licence: AGPL-3.0-only[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source under the AGPL-3.0.
- Free tier: yes[^2]
- Self-hostable: yes[^1]

Masscan is an Internet-scale port scanner: using asynchronous transmission and its own TCP/IP stack, it can send around 10 million packets per second from one machine and scan the whole IPv4 Internet in under five minutes. Its options and output resemble [Nmap](https://talira.ai/catalog/nmap-w2dawxjf.md)'s, it accepts arbitrary address and port ranges with exclude lists, saves and reloads configuration files, grabs banners from FTP, HTTP, IMAP4, memcached, POP3, SMTP and other services, and writes XML, binary, grepable, JSON or list output. It targets Linux first but builds on Windows and macOS. It is free under the AGPL-3.0.

## Links

- GitHub: https://github.com/robertdavidgraham/masscan

## Problems it solves

- scan a huge IP range for open ports quickly
- find every host on the internet with a given port open for research
- do a fast first pass over a large network before detailed Nmap scans
- grab service banners from thousands of hosts
- export port scan results as XML or JSON for other tools

## Features

- asynchronous scanning up to ~10 million packets per second
- Nmap-like parameters and output
- arbitrary address and port ranges with exclude lists
- configuration files that can be dumped and reused
- banner grabbing for FTP, HTTP, IMAP4, memcached, POP3, SMTP and more
- XML, binary, grepable, JSON and list output formats
- rate limiting

## Limitations

- Uses its own TCP/IP stack: anything beyond simple port scans needs a separate source IP or firewalled source ports to avoid conflicts with the host's stack[^1]
- Built for wide scans of many hosts: in-depth scanning of a single machine, as Nmap does, isn't supported[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.20 out of 1.
Signals: backing 0.00, extensibility 0.20.

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [RustScan](https://talira.ai/catalog/rustscan-3c8fgzkw.md): The modern port scanner: find open ports in seconds and pipe them into Nmap
- [Nmap](https://talira.ai/catalog/nmap-w2dawxjf.md): Free and open source utility for network discovery and security auditing

## Sources

[^1]: https://github.com/robertdavidgraham/masscan (checked 23 Nov 2026)
[^2]: https://github.com/robertdavidgraham/masscan/blob/master/LICENSE (checked 23 Nov 2026)
