4 ms·
A very nice and well-built tool. Excellent use of sequence numbers for stateless send/receive (SYN cookies): https://github.com/robertdavidgraham/masscan/blob/m
by wfn 5y ago
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/main.c#L526-L534 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 ssh-keyscan on them to extract and analyze some ~15m ssh banners and public keys (a bunch of them broken, through debianized PRNG etc.) I think most of the scanning + extraction was done overnight, via ~13 VPS rented hourly (whole thing cost < $10, and very few complaints). Fun times :) I should write it up some time, and do it again.
- dosshell 5y agoWhat is "22m" ? 22 meter? 22 millies of something. I do not follow?
- howenterprisey 5y ago22 million.
- sigg3 5y ago22 million meters of IP.
- RobRivera 5y agoat the cost of a rod per hogshead
- peakaboo 5y agoThe irony of saving 6 characters in the word million, but people don't understand his post and use many more keystrokes asking what he means.
- jodrellblank 5y agoWhat is “22 million”? I don’t understand. Is it length? Thousandths? An ion grinder? An exotic big cat? A tiny On? “People don’t understand”, none of those were at all plausible even without the context of scanning the entire IPv4 address space.
- rburhum 5y ago22 cats. Go with cats.
- pineaux 5y agoIs that an abstraction of 22m meaning 22 mice, resulting in 22 cats? Clever. Very clever.
- RedNifre 5y agoThe OP clearly states that it's about 22m responding internet protocols.
- Leparamour 5y agoThat surely is a lot of protocols.
- jasonwatkinspdx 5y ago"mm" is a common abbreviation for million in the context of accounting. It refers back to the latin "mille mille" which means "thousand thousand" literally. "Mille" is still used for thousand in French and Italian. The abbreviation is reasonably common in english, though I also would not be surprised by anyone not having run into it before.
- herpderperator 5y agoThe Latin numeral M denotes thousands. Thus, MM is the same as writing "M multiplied by M," which is equal to "1,000 times 1,000", which equals 1,000,000 (one million). So, we should refrain from using lowercase m for this.
- btown 5y agoInternet pipe!
- Leparamour 5y agoInternet pipe version 6 is clearly superior with its larger throughput.
- DLA 5y ago"A very nice and well-built tool. .... (very well-documented source too, a pleasure to read)" Could not agree more. This code is really nicely organized and commented. Such a pleasure to read and learn about how this tool works. I wish more codebases had comments like this! Great work and thank you @ErrataRob.