HN Hall of Fame Weekly email

Masscan: TCP port scanner, scanning entire Internet in under 5 minutes

github.com Software & code Source code Security & privacy Class of 2021-09 Hall of Fame
Screenshot of github.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 5 calendar years, with breakout response in 3 of them.

submissions
5
submitters
5
observed span
2013–2021
peak thread · 130 comments
468 pts
latest 20+ return · 2021-09-28
468 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

A very nice and well-built tool. Excellent use of sequence numbers for stateless send/receive (SYN cookies): https://github.com/robertdavidgraham/masscan/blob/master/src... (very well-documented source too, a pleasure to read). I once (2016) used it to scan port 22 on the whole ipv4 (had to experiment with rate limits to not trigger alarms and get complaints forwarded by my VPS provider; the clever ip+port randomization technique helps a lot with that). Then took the ~22m (iirc) IPs which responded and ran…

wfn·468-point thread·

Note: your ISP and third-parties probably won't like this very much.

What's impressive about this or zmap? they do not magically invent bandwidth. Zmap requires a 1 Gbps connection or more, this will require 10X the bandwidth. Those projects are basically dumb packet generators, what I find really impressive is the Internet routing infrastructure that can accept those outputs.

aortega·138-point thread·

Don't get me wrong, I think this is some great coding, but I'm just wondering... what might be a legal/ethical use this? I'm thinking that most companies own at most a couple thousand machines, so something more traditional like nmap might do just fine.

rocgf·61-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
3

100+ points or 50+ comments

Total points
817

reference only — not used in Hall rules or ranking

Total comments
222

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2013-09-16Masscan: scan the entire Internet in under 6 minutes, 10 million packets/secondFirst breakoutnvk13830
2014-12-27Masscan: Scan the entire Internet in under 5 minutespmoriarty14729
2016-08-10MASSCAN: Mass IP port scannerntumlin6133
2018-09-26TCP port scanner, scanning entire Internet in under 5 minutesmagnetised30
2021-09-28Masscan: TCP port scanner, scanning entire Internet in under 5 minutesHall induction · Best thread · Latest 20+ point returnducktective468130