this post was submitted on 09 Jun 2024
799 points (98.0% liked)

Programmer Humor

18947 readers
822 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
 

Context:

People have been asking for IPv6 Support on GitHub since years (probably a decade by now)

... and someone even got so annoyed that they decided to setup a dedicated website for checking this: https://isgithubipv6.live/

you are viewing a single comment's thread
view the rest of the comments
[–] RecluseRamble@lemmy.dbzer0.com 44 points 2 months ago* (last edited 2 months ago) (5 children)

Why should we care? So address space may run out eventually - that's our ISPs' problem.

Other than that I actually don't like every device to have a globally unique address - makes tracking even easier than fingerprinting.

That's also why my VPN provider recommends to disable IPv6 since they don't support it.

[–] MrRazamataz@lemmy.razbot.xyz 28 points 2 months ago

Because people in countries with ISPs that are unable to provide IPv4 (e.g. too expensive) can't access GitHub easily.

[–] laughterlaughter@lemmy.world 11 points 2 months ago (1 children)

even easier then fingerprinting.

than*

[–] RecluseRamble@lemmy.dbzer0.com 9 points 2 months ago

Auto-"correct". Thanks, fixed.

[–] smileyhead@discuss.tchncs.de 5 points 2 months ago

that’s our ISPs’ problem

If the Internet means for you a way to access Facebook, Netflix, Google and YouTube, yeah.
But if it means a network to send something to another computer then it's a huge problem.

Because ISP won't care if you can accept connections or not. They don't care about decentralization and being able to host stuff yourself. Most consumers just want a pipe to big services and not to their friend's house.

[–] umbrella@lemmy.ml 5 points 2 months ago* (last edited 2 months ago) (2 children)

the only reason i can think of is cgnatting ipv4 because of depleted pool. otherwise yea.

i believe you can NAT ipv6 too, i mean so you use the router's address only?

[–] LordCrom@lemmy.world 5 points 2 months ago
[–] Avatar_of_Self@lemmy.world 3 points 2 months ago (1 children)

You'd better hope that you can NAT ipv6 because if you aren't behind a CGNAT and then your LAN is completely exposed without a NAT you're very likely going to have devices exploited.

NATs on people's boundary has been doing pretty much all of the heavy lifting for everyone's security at home.

[–] orangeboats@lemmy.world 2 points 2 months ago (2 children)

The word you are looking for is firewall not NAT.

NAT does not provide security whatsoever. If the NAT mapped your (internal IP, internal port) to a certain (external IP, external port) and you do not have a firewall enabled, everyone can reach your device by simply connecting to that (external IP, external port).

I haven't seen routers that do not come with IPv6 firewalls enabled by default.

[–] umbrella@lemmy.ml 1 points 2 months ago* (last edited 2 months ago)

everyone can reach your device by simply connecting to that (external IP, external port)

to be fair thats the setup most people run when they open ports.

[–] Avatar_of_Self@lemmy.world 0 points 2 months ago* (last edited 2 months ago) (1 children)

The word you are looking for is firewall not NAT.

No the word I'm looking for is the NAT. It was not designed for security but coincidentally it is doing the heavy lifting for home network security because it is dropping packets from connections originating from outside the network, barring of course, forwarded ports and DMZ hosts because the router has no idea where to route them.

Consumer router firewalls are generally trash, certainly aren't layer 7 firewalls protecting from all the SMB, printer, AD, etc etc vulnerabilities and definitely are not doing the heavy lifting.

By and large automated attacks are not thwarted by the firewall but by the one-way NAT.

[–] orangeboats@lemmy.world 1 points 2 months ago (1 children)

Consumer router firewalls are generally trash

[Citation needed]

They are literally piggybacking on the netfilter module of Linux. I don't see how that's trash

[–] Avatar_of_Self@lemmy.world 1 points 2 months ago* (last edited 2 months ago) (1 children)

They are not layer 7 firewalls for the network which are going to be where most the majority of attacks are concentrated. No citation needed unless you believe they are layer 7 firewalls or using something like Snort.

Added some clarification in my first sentence so it makes a bit of sense.

[–] orangeboats@lemmy.world 1 points 2 months ago (1 children)

Wait, why are we talking about Layer 7 when NAT and firewalls are Layer 4 at best?

[–] Avatar_of_Self@lemmy.world 1 points 2 months ago (1 children)

Because, as I said:

layer 7 firewalls for the network which are going to be where most the majority of attacks are concentrated.

The NAT doesn't have to operate at layer 7 to be effective for this because

coincidentally it is doing the heavy lifting for home network security because it is dropping packets from connections originating from outside the network, barring of course, forwarded ports and DMZ hosts because the router has no idea where to route them.

The point is that the SPI firewalls are not protecting against the majority of the attacks we've seen for decades now from botnets and other arbitrary sources of attacks, except, perhaps targeted DDoSing which isn't the big problems for most home networks. They must worry about having their OS' and software exploited and owned in the background, which doesn't get much of an assist from a router's firewall.

Obviously, this is however true for the NAT since the NAT are going to drop connections originating from outside the network attempting to communicate with that software to exploit it

barring of course, forwarded ports and DMZ hosts because the router has no idea where to route them.

[–] orangeboats@lemmy.world 1 points 2 months ago* (last edited 2 months ago) (1 children)

How is this "dropping packets" not applicable to firewalls, then? You are not just going to casually connect to my IPv6 device as we're speaking. The default-deny firewall in my router does the heavy lifting... just like what NAT did.

Honestly, it just sounds like you need to brush up on networking knowledge. Repeat after me: NAT is not security.

[–] Avatar_of_Self@lemmy.world 1 points 2 months ago* (last edited 2 months ago) (1 children)

Are you saying that everyone's router's firewall drops all packets from connections that originate from outside of their network?

[–] orangeboats@lemmy.world 1 points 2 months ago (1 children)

It's a stateful firewall. It simply drops unsolicited packets.

[–] Avatar_of_Self@lemmy.world 1 points 2 months ago (1 children)

So, really, you were "correcting" me for you and your specific setup at the very beginning because your router's firewall has a deny rule for all inbound connections because I must have been confusing what a NAT and what a firewall is because I must have been talking about your specific configuration on your specific devices.

Holy. Fucking. Shit.

[–] orangeboats@lemmy.world 1 points 2 months ago* (last edited 2 months ago) (1 children)

Oh come on, are you seriously suggesting that default-deny stateful firewall is not the norm??

Holy. Fucking. Shit. Indeed.

You keep on suggesting to me that you really have no idea how networking works. (Which is par on course for people thinking NAT == security, but I digress)

Let me tell you: All. Modern. Routers. include a stateful firewall. If it supports NAT, it must support stateful firewalling. To Linux at least, NAT is just a special kind of firewall rule called masquerade. Disregarding routers, even your computer whether Linux (netfilter) or Windows (Windows Firewall) comes built-in with a stateful firewall.

[–] Avatar_of_Self@lemmy.world 1 points 2 months ago (1 children)

Having a NAT on a consumer router is indeed the norm. I don't even see how you could say it is not.

I never said NAT = security. As a matter of fact, I even said

It was not designed for security but coincidentally blah blah

But hey, strawmanning didn't stop your original comment to me either, so why stop there?

Let me tell you: All. Modern. Routers. include a stateful firewall.

I never even implied the opposite.

To Linux at least, NAT is just a special kind of firewall rule called masquerade.

Right, because masquerade is NAT....specifically Source NAT.

I'm just going to go ahead an unsubscribe from this conversation.

[–] orangeboats@lemmy.world 1 points 2 months ago

Were I really strawmanning you? Is "I never even implied the opposite" really true? Quote:

So, really, you were "correcting" me for you and your specific setup

Yeah, my "specific setup"... which can be found in virtually all routers today.

[–] Aux@lemmy.world 1 points 2 months ago (1 children)

That's the dumbest thing I've read today... Your ISP is fleecing you and you're happy with it.

[–] RecluseRamble@lemmy.dbzer0.com 0 points 2 months ago (1 children)

What the fuck are you talking about? My ISP supports IPv6 just fine, but following my VPN's advice I disable it (on certain devices at least) for privacy concerns. And it makes exactly zero difference in functionality.

[–] Aux@lemmy.world 1 points 2 months ago (1 children)

OK, not your ISP, but your VPN is shit.

[–] RecluseRamble@lemmy.dbzer0.com 2 points 2 months ago* (last edited 2 months ago)

It's Proton VPN. Lack of IPv6 support is a downer but I wouldn't call them shit.

Edit: maybe elaborate why you deem IPv6 so crucial? As I said: everything works just fine without.