this post was submitted on 08 Jun 2024
1 points (100.0% liked)

Memes

45724 readers
55 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] aldalire@lemmy.dbzer0.com 0 points 5 months ago

Oh boi i didn’t know ipv6 was this spicy

[–] aldalire@lemmy.dbzer0.com 0 points 5 months ago (4 children)
[–] mako@discuss.tchncs.de 0 points 5 months ago

Usually the NAT is at home in the router and every customer has their own IPv4 address. NAT at the ISP means several customers share an IPv4 address. If the authorities are now investigating the activities of an IPv4 address, it is difficult to say which customer it was because multiple of them shared the IP address.

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

IP addresses ran out, IPv6 adds more addresses than we may need, ISPs decide to take away the user's ability to host servers (more or less (more less than more)) rather than upgrading the infrastructure

[–] uid0gid0@lemmy.world 0 points 5 months ago

My take is they had to upgrade the infrastructure for CGNAT, why not just implement IPv6.

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

There is IPv4, it's an internet address that points to a specific computer, or at least it's supposed to. IPv4 supports up to 4294967296 addresses, which might seem like a lot until you realize how many devices are connected to the internet. Almost the entire IPv4 range is full, and ISPs have resorted to letting 1 IP point to multiple computers also known as NAT. It's what your router does, and why your laptop and phone all connect to the internet using your routers' IP address. Carrier Grade NAT takes it one step further and allows hundreds or more home networks to connect from a single IP address.

CGNAT kind of sucks because you can't run servers behind them because it doesn't know which of the hundreds of computer traffic has to go to. IPv6 would solve this entire mess, but ISP's won't invest in it because they don't want to spend the money and just delay the inevitable until they have to.

True ELI5: We ran out of signs for house numbers and instead of getting new ones we started giving everyone in a street the same house number

[–] aldalire@lemmy.dbzer0.com 0 points 5 months ago (3 children)

Thank you. So in a way if the carriers upgrade their infrastructure there would be a decrease in privacy because then it’s a one-to-one correspondence between IP address and customer, but then the customer would have the ability to host servers? The one scenario where the industry dragging their heels on upgrading is actually good for the consumer (in some respects) lol

Adding commas to that number: 4,294,967,296 addresses. More humans that IP address seems like a huge miscalculation in the internet infrastructure

[–] harry315@feddit.de 0 points 5 months ago (1 children)

Who could've thought in 1981 that more than a few thosand universities would ever like to connect to the then 250 machines big ARPANET. With 4 billion addresses, there was plenty of headroom at the time.

In 50 years, when the last ISP finally switches to IPv6, we'll be wondering how short sighted we were as now every pencil has an IP address in the interplanetary compu-global-hyper-meganet.

[–] confusedbytheBasics@lemmy.world 0 points 5 months ago

We planned for that. We should be fine at least until we are an interstellar species. We could assign an IPV6 address to EVERY ATOM ON THE SURFACE OF THE EARTH, and still have enough addresses left to do another 100+ earths. It isn’t remotely likely that we’ll run out of IPV6 addresses at any time in the future.

[–] sep@lemmy.world 0 points 5 months ago (1 children)

Goverments (depending on juristiction) have laws requiering isp's to keep track of cgnat port combos. So not only is there no privacy from ipv4 cgnat. Now the isp must also spend a lot of money on the nat state tracking database.
If you need that kind of privacy, use a vpn and the tor onion network.

[–] aldalire@lemmy.dbzer0.com 0 points 5 months ago

Ah of course i was gonna say even with a cgnat they would have some way of identifying the traffic.

[–] frezik@midwest.social 0 points 5 months ago

It's a bit more complicated than that. Governments still spy on an IPv4 address, but because that address is shared, it's spying on everyone behind it. At least with IPv6, it'd be targeted.

[–] ChillPill@lemmy.world 0 points 5 months ago

I know very little about ipv6, but CGNAT is Carrier Grade Network Address Translation.

NAT (Network Address Translation) is how your home router takes your one public IP address and is able to simultaneously allow your phone, your PlayStation, and your smart fridge use the internet.

CGNAT is basically the same thing expect on a much larger scale and controlled by you ISP.

[–] davel@lemmy.ml 0 points 5 months ago* (last edited 5 months ago) (1 children)

As Snowden, Assange, and other whistleblowers have shown, in The Land of the Free™ the carriers are in bed with the government. I doubt it’s all that different in other Five/Nine/Fourteen Eyes countries.

[–] Kusimulkku@lemm.ee 0 points 5 months ago* (last edited 5 months ago)

I'd imagine it's more or less the same all over, as long as the government can put pressure (or directly owns) the ISP.

[–] Meowie_Gamer@lemmy.world 0 points 5 months ago

I still dont have ipv6, WHY NOT?! What’s my ISP doing?!

[–] RecallMadness@lemmy.nz 0 points 5 months ago (2 children)

CGNAT is good. One more layer of obfuscation between me and the internet.

Sucks for those wanting to run services from home I guess.

[–] confusedbytheBasics@lemmy.world 0 points 5 months ago

CGNAT sucks any time you want a reliable link to anyone else behind a NAT. Multiplayer games, p2p sharing, video calls all are less reliable.

[–] frezik@midwest.social 0 points 5 months ago

What is actually happening is that governments still spy, but it's on everyone behind that address.

People really need to stop pretending IPv4's flaws are good things.

[–] Blaster_M@lemmy.world 0 points 5 months ago (2 children)

It's amazing how many internet providers still won't enable IPv6, even though it is hugely beneficial to their own networks (more efficient routing = less router overhead = more bandwodth and less power usage = SAVE MONEY).

IPv6 was pernanently turned on for the Internet in 2011. That's THIRTEEN YEARS AGO.

All consumer and enterprise equipment made in the last 10+ years natively support IPv6. There is no excuse anymore.

IPv6 has the 2000::/3 range for internet traffic. That''s 2^125 ip addresses possible. We're not running out of those anytime soon.

IPv6 Prefix Delegation works like DHCP but for IPv6. It's not indecipherable magic runes.

Router asks for a v6 range -> ISP router gives the range -> Router then either further subdivides into subnets, or uses DHCPv6 to give out v6 addresses. Simple.

But of course, nobody wants to do it the simple way... AT&T and your strange subnetting spec-breaking routers.

In addition, every device also has its own link-local ipv6 (fe80::/16) that is not routed, but can be called directly and it normally doesn't change. Need to connect your printer by ip address? Use the link local v6 and stop having to play the DHCP or static IP charade.

[–] Melody@lemmy.one 0 points 5 months ago

I get a free /64 and /48 directly from Hurricane Electric using their TunnelBroker and use PFSense to deploy that v6 locally on my LAN. Everything in the house has a v6 and is protected by the necessary firewalling too.

[–] r00ty@kbin.life 0 points 5 months ago (2 children)

I've seen a few isps here in the UK doing some weird pointless stuff with ipv6. Like dynamic prefixes. Why? What's the point?

But you can get good ones. I've had the same /48 prefix for 10 years now.

[–] sep@lemmy.world 0 points 5 months ago (1 children)

I am 50/50 between incompetence. Or so they can keep on charging extra for a static ip.

[–] r00ty@kbin.life 0 points 5 months ago

I'm fairly sure it must take extra work to make dynamic prefixes. I've heard some weird justifications about localised routing. But modern ISPs generally don't work that way at all. For example, my ISP has endpoints in multiple cities, and can fail over to another city if need be. All my static IPv4 and IPv6 instantly move with me in that event.

[–] henfredemars@infosec.pub 0 points 5 months ago

Oh my God disgusting. My ISP uses dynamic prefixes also, which reflects a lack of understanding of the most basic IPv6 fundamentals.

[–] henfredemars@infosec.pub 0 points 5 months ago* (last edited 5 months ago) (8 children)

All consumer and enterprise equipment made in the last 10+ years natively support IPv6.

I object to this statement. You can buy name brand routers today on Amazon that don’t implement it properly. Sure, they route packets, but they have broken stateless auto configuration or don’t respect DHCPv6 options correctly.

God help you if you need a firewall where you can open ports on v6. Three years ago I bought one that doesn’t even properly firewall IPv6.

I even tested a top-of-the-line Netgear router to find that it doesn’t support opening ports and once again doesn’t correctly support forwarded IP DHCPv6, which even if that works correctly, your android clients can’t use it 🫠

The state of IPv6 on consumer hardware is absolute garbage. You have to guess how your ISP implements it if at all, and even then you’re at the mercy of your limited implementation. if you’re lucky it just works with your ISP router. If you’re not, it’s a PITA.

[–] riodoro1@lemmy.world 0 points 5 months ago

This. Ipv6 on all house routers are for scrolling facebook only. Want to do anything more? Switch back to ipv4

[–] Melody@lemmy.one 0 points 5 months ago* (last edited 5 months ago) (1 children)

This is why I use PFSense and Hurricane Electric as a v6 tunnelbroker. I have working functional IPv6 with SLAAC and DHCPv6 and full Routing Advertisements on my LAN running side-by-side so that no matter which the device implements how poorly; it gets an IPv6 address and it works and is protected by the firewall.

[–] henfredemars@infosec.pub 0 points 5 months ago* (last edited 5 months ago) (2 children)

That sounds awesome.

I really like stateless, but it bugs me that the router has to snoop on traffic if you want a list of devices. The good ones will actually do this, but most are blind to how your network is being used with IPv6.

And it really bothers me that Android just refuses to support DHCPv6 in any capacity. Seems like a weird hill to die on. There are too many legitimate use cases.

[–] Melody@lemmy.one 0 points 5 months ago (2 children)

I run both because of this; and because SLAAC enables features in Desktop OSes that offer some level of additional privacy.

For example; Windows can do "Temporary IPv6 Addressing" that it will hand out to various applications and browsers. That IPv6 address rotates on a periodic basis; once every 24 hours by default; and can be configured to behave differently depending on your needs via registry keys.

This could for example, allow you to quickly spin up a small application server for something; like a gaming session; and let you use/bind that IPv6 address for it. Once the application stops using it and the time period has elapsed; Windows drops the IP address and statelessly configures itself a new one.

load more comments (2 replies)
[–] Blaster_M@lemmy.world 0 points 5 months ago

It is a weird hill to die on for sure.

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

Omg...I thought I was doing it wrong. I was trying to map ports on my router and it just wouldn't do it properly.

Networking is not my strong suit so I assumed I was being an idiot and reverted back to IPv4.

[–] henfredemars@infosec.pub 0 points 5 months ago* (last edited 5 months ago) (1 children)

The problem is mainly that IPv4 port forwarding is network address translation, but on IPv6 it’s instead IP forwarding with a firewall rule.

The latter is conceptually simpler, but it’s a different mechanism and one that most home routers don’t bother to implement. This is quite ironic because IPv6 was intended to restore end to end connectivity principles.

Don’t get me wrong; I’m quite happy with the standard. They are very few good implementations of that standard, and given the momentum of its predecessor, implementers just don’t care.

[–] CosmicTurtle0@lemmy.dbzer0.com 0 points 5 months ago* (last edited 5 months ago) (1 children)

I absolutely hate how dependent we've gotten to IPv4. To the point that Amazon is charging almost $4 a month per IP. It used to be free. These assholes are buying IPv4 addresses so fast that they are literally driving up the price.

Is there a resource that you can recommend on learning IPv6 based on my knowledge on IPv4? A lot of resources I've seen are way over engineered for my feeble brain.

Like I know what IP addresses are and what port numbers are. I don't understand the difference between how IPv6 addresses are assigned (both locally and generally speaking) and what makes it different from IPv4.

I know it's not DHCP.

[–] henfredemars@infosec.pub 0 points 5 months ago

It absolutely can be DHCP. There’s two main ways to do it: stateless auto configuration, and DHCP. Super briefly, you can assign IP addresses the same way you used to if you want, or you can let devices pick their own.

I’m afraid I can’t recommend a great resource, but I really like the Wikipedia article because it’s very precise in its terminology. I appreciate that with learning a new subject. I’m not even that precise here. For example, I use the term IP forwarding more liberally than what it actually means.

[–] Blaster_M@lemmy.world 0 points 5 months ago

IPv6 does not do NAT - you allow the ports for a device instead in the firewall.

[–] Blaster_M@lemmy.world 0 points 5 months ago (1 children)

You shouldn't be forwarding anything - lan devices are directly accessible from the internet with ipv6. The router's job now is to firewall inbound ipv6 packets. You should be able to simply open the inbound port for that device in particular.

[–] henfredemars@infosec.pub 0 points 5 months ago* (last edited 5 months ago) (1 children)

Right, that’s how it should work. Unfortunately that’s not how it actually works most of the time in consumer.

Many devices don’t provide an option in the UI to open an inbound port on IPv6. For example, the latest and most expensive Linksys gaming router blocks all inbound connections and there are no options for different behavior. It doesn’t support opening any ports for v6.

The most recent TP link device I tested for my dad doesn’t even have a firewall. If you know the global IP, you can connect to any port you want.

[–] Blaster_M@lemmy.world 0 points 5 months ago

And that's why I abandoned cheap consumer routers many years ago... closest devices to implement ipv6 port management firewalling even half good was/is the ASUS devices. I got fed up and went pfsense and/or unifi one day and never looked back.

UDM handles ipv6 real good, and pfsense can even get /64 subs from an ATT router for all its lan interfaces.

load more comments (4 replies)
[–] pingveno@lemmy.ml 0 points 5 months ago (1 children)

My university is still mostly on IPv4 for our infrastructure. We got in early on the IPv4 address gold rush, so we got a full /16 block. Not quite MIT's 18.0.0.0/8 block, but enough so there's little pressure to move. It can be a little embarrassing, feeling like an institution that should be breaking ground is instead trailing behind. At the same time, our IT department is chronically understaffed, so I can understand not doing the switch. It's not as simple as just flipping a switch, there are many ramifications of IPv6 that aren't immediately obvious.

[–] r00ty@kbin.life 0 points 5 months ago (1 children)

There's literally nothing stopping a moderately skilled IT team from integrating ipv6. You can run any site easily using both. The exceptions are few and even those aren't that hard to deal with.

Source: been running dual ipv4/ipv6 Web servers for over 10 years (maybe 15 would need to check) . Likewise had ipv6 dual stack at home for a similar amount of time, initially using tunnels and then native.

Almost every server provider will give you ipv6 for free. There's really no excuse these days not to run your services on both protocols now.

[–] jrgd@lemm.ee 0 points 5 months ago (1 children)

The worst gotchas and limitations I have seen building my own self-host stack with ipv6 in mind has been individual support by bespoke projects more so system infrastructure. As soon as you get into containerized environments, things can get difficult. Podman has been a pain point with networking and ipv6, though newer versions have become more manageable. The most problems I have seen is dealing with various OCI containers and their subpar implementations of ipv6 support.

You'd think with how long ipv6 has been around, we'd see better adoption from container maintainers, but I suppose the existence of ipv6 in a world originally built on ipv4 is a similar issue of adoption likewise to Linux and Windows as a workstation. Ultimately, if self-rolling everything in your network stack down to the servers, ipv6 is easy to integrate. The more one offloads in the setup to preconfigured and/or specialized tools, the more I have seen ipv6 support fall to the wayside, at least in terms of software.

Not to mention hardware support and networking capabilities provided by an ISP. My current residential ISP only provides ipv4 behind cgnat to the consumer. To even test my services on ipv6, I need to run a VPN connection tunneling ipv6 traffic to an endpoint beyond my ISP.

[–] r00ty@kbin.life 0 points 5 months ago

You can get non VPN tunnels. I used both Hurricane electric (https://tunnelbroker.net) and sixxs (https://www.sixxs.net). I believe sixxs stopped offering services in 2017 though.

I'm lucky that I have a choice of multiple ISPs all offering service on gigabit symmetric fibre. I've managed to keep my old setup of a /29 IPv4 allocation and /48 IPv6 allocation. But before IPv6 was available, I used tunnels at the point of the router with no problem. As such, the internal network doesn't need to know there's a tunnel and gets native IPv6.

[–] Railison@aussie.zone 0 points 5 months ago (1 children)

Wasn’t the point of IPv6 to remove the need for GCNAT?

load more comments (1 replies)
[–] frezik@midwest.social 0 points 5 months ago (1 children)

I tried an IPv6 AWS Lightsail instance recently. It had a private IPv4 address, but it's not behind NAT and won't route outside the network.

Which would be fine if all the software packages you need can access things over IPv6 on their servers. One that doesn't is WordPress, because of course it doesn't. That means no plugins or updates except by manual downloads.

But hey, who would ever want to run WordPress on a cheap Lightsail instance?

[–] Kangie@lemmy.srcfiles.zip 0 points 5 months ago (1 children)

Pay them for a public ipv4.

[–] frezik@midwest.social 0 points 5 months ago

Sure, that's what you have to do. You shouldn't have to at this point.

[–] Sam_Bass@lemmy.ml 0 points 5 months ago

Pardon if i dont cry about it

[–] umbrella@lemmy.ml 0 points 5 months ago (4 children)
load more comments (4 replies)
[–] DontRedditMyLemmy@lemmy.world 0 points 5 months ago

Now the ISPs can charge us if we want a public IP, so really this is a win for big ISP... not sure why you guys aren't appreciating that! /s

load more comments
view more: next ›