Masscan vs RustScan
Masscan
github.comRustScan
github.comSide by side
| Figure | Masscan | RustScan |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Android | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 2 | 1 |
| Spec score · Port Scanner Software | 8.7 (#2) | 7.7 (#15) |
| License | Masscan is free software under the GNU Affero General Public License version 3, with no warranty stated in the license notice. | The repository identifies GPL-3.0 as the project license. |
| Purpose | Masscan is an Internet-scale TCP port scanner designed for wide-range scanning of many machines. | RustScan is a modern port scanner that finds open ports quickly. |
| Speed | The project says Masscan can transmit 10 million packets per second from a single machine. | The README says RustScan can scan all 65,000 ports in 3 seconds. |
Plans
In their own words
Masscan
Masscan is a free command-line TCP port scanner for scanning many machines across wide address ranges. The project says one machine can transmit 10 million packets per second. It supports asynchronous transmission, arbitrary port and address ranges, and scanning IPv4 and IPv6 together without a separate IPv6 mode. Banner checks cover protocols and services including FTP, HTTP, IMAP4, memcached, POP3, SMTP, SSH, SSL, SMBv1, SMBv2, Telnet, RDP and VNC. Results can be saved as XML, binary, grepable, JSON or list output. Its usage and output are intended to be familiar to Nmap users, with some Nmap-compatible options. Masscan runs on Linux, macOS and Windows and is available for self-hosting. The project describes PF_RING DNA support for high-speed transmission and says it can use PF_RING ZC when the adapter name indicates it. It is free software under the GNU Affero General Public License version 3, whose notice states there is no warranty. Users must specify ports and target IP addresses or simple ranges; DNS names are not accepted. The README warns that its custom TCP/IP stack can conflict with the local stack and describes using a separate source IP or firewalling its source port.
RustScan
RustScan is a free command-line port scanner for finding open network ports. The project says it can scan all 65,000 ports in three seconds, and discovered ports can be passed automatically to Nmap for further analysis. It supports IPv6, CIDR ranges and file input, with scripting in Python, Lua and Shell. Listed capabilities include service detection, operating-system detection and greppable-text output. RustScan describes adaptive learning that uses information about the scan environment and usage to improve over time. The project also says its continuous integration checks whether the scanner becomes significantly slower than the previous version and aims to ensure accessibility. Cargo is the only officially supported installation method, although releases and package-manager options are also listed. The installation guide recommends Docker and says its image works across systems, including Windows, which is not officially supported. The maintainer says RustScan has been tested only on Linux and that macOS or Windows may have issues; the guide also notes macOS's low open-file limit can significantly affect scanning. The project is licensed under GPL-3.0.