this post was submitted on 15 Nov 2023
1012 points (95.7% liked)

Programmer Humor

19721 readers
78 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
1012
GoOn (programming.dev)
submitted 1 year ago by mac to c/programmer_humor
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 27 points 1 year ago* (last edited 1 year ago) (1 children)

This reminds me of something I saw online maybe 20 years ago now. Someone created a torrent with a name like "every IP address ever (hacking tool)" and uploaded it to Suprnova, which ended up having thousands of people seeding it. It was just a text file with every IPv4 from 0.0.0.0 to 255.255.255.255 ๐Ÿ˜‚

[โ€“] coloredgrayscale 6 points 1 year ago (2 children)

Heard about that too! Is there an updated version for ipv6?

[โ€“] [email protected] 10 points 1 year ago* (last edited 1 year ago)

That file would be ungodly large. There are 2^128 possible addresses, each weighing in at 128 bits, 16 bytes. 16 bytes times 340 trillion trillion trillion. That puts us around 5.44 trillion Zettabytes. The estimates I've seen for worldwide data storage sit aroun 60-70 zettabytes.

[โ€“] [email protected] 5 points 1 year ago* (last edited 1 year ago)

IPv6 version is just a Python script that generates random 128-bit integers. Eventually you'll hit a valid IPv6 address!