News for hackers. Stuff that matters.
Re:IPv6 Progress Top Sites 2021 by TekMol on Thursday October 28, 2021 @04:41PM (#29031644)
Was IPv6 needed at all?

What problems would occur if we were just nat-ing everyone behind those 4 billion IPv4 addresses?

I run a popular website and I have never heard anyone being unable to use it because it is IPv4 only.

I just tried test-ipv6.com and it gives me a score of 0/10, saying "You appear to be able to browse the IPv4 Internet only.". I basically live in the internet. And I am not aware of any problems this causes me.

Re:IPv6 Progress Top Sites 2021 by throw0101a on Thursday October 28, 2021 @06:12PM (#29032706)
> What problems would occur if we were just nat-ing everyone behind those 4 billion IPv4 addresses?

Because we're running out of IPs even with NAT, so entire ISPs have to implement it:

* https://en.wikipedia.org/wiki/Carrier-grade_NAT

There are entire swaths of IPv4 addresses (100.64.0.0/10) reserved just for ISPs to assign to their customers' WAN interface which will not interfere with the RFC 1918 addresses people use on their home networks:

* https://datatracker.ietf.org/doc/html/rfc6598

We're doing NAT-upon-NAT.

Good luck doing hole punching on your personal firewall to allow connections in for games or VoIP.

Re:IPv6 Progress Top Sites 2021 by Gigachad on Thursday October 28, 2021 @10:42PM (#29034600)
The easiest and most reliable way to expose a computer on the internet now is those services which work something like a VPN where they have an ip address and route everything sent to it over to you via WireGuard or similar.

That way you don't have to worry about dynamic addresses, ISP blocked ports, buggy router firmware. It all just works. Things like ngrok can do it really easily for http traffic.

Re:IPv6 Progress Top Sites 2021 by lmm on Friday October 29, 2021 @03:47AM (#29036239)
> The easiest and most reliable way to expose a computer on the internet now is those services which work something like a VPN where they have an ip address and route everything sent to it over to you via WireGuard or similar.

Right, but that only works if the other end has an address, and they're increasingly scarce/expensive.

Re:IPv6 Progress Top Sites 2021 by throw0101a on Friday October 29, 2021 @07:04AM (#29037195)
> […] something like a VPN where they have an ip address and route everything sent to it over to you via WireGuard or similar.

You can implement one of those kludges. Or you can make the effort to restore the end-to-end principal originally envisioned for the Internet.

I'd prefer if people try to work towards the latter over the long term.

Re:IPv6 Progress Top Sites 2021 by Gigachad on Friday October 29, 2021 @06:34PM (#29044286)
You can prefer it but it will never happen. Most home ISPs have some kind of restrictions on incoming connections and the majority of home routers have buggy or incomplete firmware which make hosting at home difficult.

The benefit of the VPN option is that it requires cooperation from no one and rips right through all the obstructions the ISP and routers put in the way. People hosting at home are an extreme minority so there is basically no chance we will go back to when every single computer was directly connectable.

Re:IPv6 Progress Top Sites 2021 by AnIdiotOnTheNet on Friday October 29, 2021 @08:24AM (#29037612)
> We're doing NAT-upon-NAT

Perhaps, much like many of the other standards we've settled on despite the existence of technically superior alternatives, this solution is good-enough, and it was easier to implement, and it was here first. Sort of like how we still use UNIX instead of Inferno.

Re:IPv6 Progress Top Sites 2021 by mishafb on Thursday October 28, 2021 @04:54PM (#29031850)
With IPv6, you don't have CG-NAT, or double NATting, at the ISP level. If both sides are behind CG-NAT, then direct peer-to-peer communication is impossible or at least unstable to establish.
Re:IPv6 Progress Top Sites 2021 by TacticalCoder on Thursday October 28, 2021 @04:54PM (#29031860)
> What problems would occur if we were just nat-ing everyone behind those 4 billion IPv4 addresses?

Even with NAT'ing we're running out of IPv4 addresses.

Now I NAT on IPv4 at home, even though my router/ISP supports IPv6. First thing I do on any Linux install at home is get rid of IPv6. I don't see where the problem is. I really don't see why my home machines should have an IPv6 IP: the outside world sees my router's IP and that's it. Now I'm certainly misunderstanding all the benefits and security that IPv6 would bring me at home but meanwhile I'll stay on IPv4 and I really don't see what the problem is either.

Re:IPv6 Progress Top Sites 2021 by tadfisher on Thursday October 28, 2021 @05:18PM (#29032149)
Not a networking expert by any means, but having built out a home network, my understanding is as follows:

Benefits-wise, your devices are addressable on the Internet, so it becomes simpler to create peer-to-peer connections, firewall traffic, and create segregated subnets.

Security-wise, your devices are addressable on the Internet, so all the workarounds to punch through NAT with terrible security implications aren't needed (I'm thinking UPnP mostly, but STUN/TURN/ICE are easy to get wrong). Essentially, under IPv4+NAT, your devices are already "addressable" via a combination of your router's IP and some form of session token, but securing such traffic depends on the successful implementation of a NAT-traversal protocol by a third party.

Re:IPv6 Progress Top Sites 2021 by throw0101a on Thursday October 28, 2021 @06:15PM (#29032743)
> Security-wise, your devices are addressable on the Internet

Nope. By default home routers (e.g., Asus) will block incoming connections just like with IPv4. It may allow pings (ICMP) in, but that's usually it.

You have to manually go in and tell the router to allow new connections in (either generally, or per service/port), just like the "DMZ" functionality with IPv4 many routers have.

Re:IPv6 Progress Top Sites 2021 by spookthesunset on Thursday October 28, 2021 @07:14PM (#29033274)
And to open up those incoming connections on IPv6, we'll invent some other variant of UPnP so users don't have to manually go punch holes into their firewall to allow peer to peer connections.

IPv6 doesn't solve the problem of everything in the internal network being unable to accept incoming connections. With a NAT you need to set up port forwarding. With IPv6 you need to punch a hole into your firewall. Either way, home users will not be doing it by hand... we'll invent some protocol to do it and that protocol will have security issues.

Re:IPv6 Progress Top Sites 2021 by viraptor on Thursday October 28, 2021 @07:50PM (#29033564)
> we'll invent some other variant of UPnP

We don't have to. UPnP works just fine with ipv6 already. (upnp v1.1, appendix A)

Re:IPv6 Progress Top Sites 2021 by throw0101a on Thursday October 28, 2021 @09:33PM (#29034216)
"UPnP Device Architecture V1.0 Annex A – IP Version 6 Support":

* http://upnp.org/specs/arch/UPnP-arch-AnnexAIPv6-v1.pdf

Re:IPv6 Progress Top Sites 2021 by lokedhs on Friday October 29, 2021 @07:11AM (#29037217)
> It may allow pings (ICMP) in, but that's usually it.

I sure hope it does. Blocking ICMP can cause TCP connections to hang due to inability to do MTU size detection.

With IPv4 this is usually not as visible, but with IPv6 if you block ICMP your connections will block as soon as you try to transfer a large block of data.

Re:IPv6 Progress Top Sites 2021 by lmm on Friday October 29, 2021 @03:56AM (#29036294)
If it's working for you then great. NAT adds latency, makes the router more complex, and breaks peer-to-peer stuff (e.g. there's a game I like to play where you can have games on a LAN or over the internet, but what you can't do is have a game between two people who are behind a single IP address and other people on the internet, which became a problem when two of my friends moved in together); even in systems that have workarounds for NAT those workarounds generally add latency (e.g. your video chats might have to be routed through a central server rather than directly to friends). As IPv4 addresses become more scarce, you'll probably get put behind CGNAT (or have to pay extra to avoid it) which again adds more latency and cost. But sure the reality is that using IPv4 from behind NAT is tolerable for most people, so there's not a huge impetus to migrate.
Re:IPv6 Progress Top Sites 2021 by p1mrx on Thursday October 28, 2021 @07:08PM (#29033230)
> the outside world sees my router's IP and that's it.

At some point, that will go away due to CGNAT. A lot of people have to share their public IPv4 address these days, which means no inbound port forwarding, and potentially getting banned from services if their "neighbors" misbehave.

On the other hand, CGNAT does improve privacy to some extent.

Re:IPv6 Progress Top Sites 2021 by viraptor on Thursday October 28, 2021 @07:54PM (#29033589)
> What problems would occur if we were just nat-ing everyone behind those 4 billion IPv4 addresses?

1. Extra latency in voice/video calls which have to go through the TURN-like endpoint rather than directly between the callers.

2. Extra cost of hosting your services, because even on the hosting side we're running out of cheap addresses.

3. P2P networks dying - which means we'd be stuck with centralised providers. (Or at most "effectively federated" networks)