this post was submitted on 03 Aug 2025
437 points (99.8% liked)

Programmer Humor

25448 readers
1082 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] LaggyKar@programming.dev 21 points 22 hours ago (1 children)

I know this is humor, but for the record this wouldn't work. Each simultaneous TCP connection needs a unique four-tuple (source address, source port, destination address, destination port). If a lot the people behind the NAT try to connect to the same place (destination address and port) at the same time (something popular like Google, YouTube or Netflix), and their source address is the same, the source port needs to be different for each connection. So after at most 65535 connections within a short time the NAT would run out of ports and no one behind the same NAT would be able to open new connections to the same place until the NAT mapping expiries.

So you could have at most tens of thousands of people behind the same NAT, maybe even fewer to make it reliable.

[–] Fred@programming.dev 10 points 18 hours ago (2 children)

Don't forget the tech giants are all IPv6 enabled. Google Netflix Apple xhamster Facebook Microsoft are all reachable over v6.

[–] LaggyKar@programming.dev 7 points 15 hours ago* (last edited 15 hours ago) (1 children)

OK, bad examples. On the other hand e.g. X, GitHub, Pornhub, PSN, Steam or Discord do not support IPv6.

[–] Bane_Killgrind@lemmy.dbzer0.com 2 points 4 hours ago

Guess I should start using xhamster over PH for tech puritism reasons

[–] FEIN@lemmy.world 9 points 17 hours ago (1 children)

I think one of these tech giants sounds wrong? It's Meta not Facebook

[–] bss03@infosec.pub 2 points 5 hours ago

It's Alphabet not Google, yeah?