talira

Mass IP port scanner

open sourceAGPL-3.0-onlyself-hostablefree

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'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.

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 stack1
  • Built for wide scans of many hosts: in-depth scanning of a single machine, as Nmap does, isn't supported1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Masscan does.

  1. RustScan The modern port scanner: find open ports in seconds and pipe them into Nmap
  2. Nmap Free and open source utility for network discovery and security auditing

Compare Masscan with the top 3