108 points · by Sami_Lehtinen · 5y ago · 118 comments
Software that still does not work because it uses hardcoded ipv4 addresses or sockets: Steam, WoW (probably many other Games too), node/npm (before version 17), but for the most part it works! The offenders can also mostly be fixed using clatd.
[Edited to clarify: Blizzard broke it, not my ISP]
I had not heard of https://github.com/toreanderson/clatd before, might be new to others as well:
" It allows an IPv6-only host to have IPv4 connectivity that is translated to IPv6 before being routed to an upstream PLAT (which is typically a Stateful NAT64 operated by the ISP) and there translated back to IPv4 before being routed to the IPv4 internet. "
Is there something in the spec that makes this hard to do. It's been 20 years.
So apparently it depends very much on the ISP. Some are doing a better job than others.
I can then trivially
* put some devices on a VLAN (ie, a VOIP phone) and it will have a public IP, globally routable.
This works well in my experience, latency is super annoying on VoIP and for some reason behind a NAT sometimes it seems to route media through a third party server!
For a small business you can put a PBX on the VLAN and folks can remote register to it trivially (ie, phone.companyZ.com) - with COVID this is great.
You can VPN terminate more easily with a static ip block.
At home I can do a game server on the static IP block or I can host some of the simultaneous music composition stuff (trivially).
My question is simple - how do I get a static IPv6 block so I can do all this if I want to on IPv6.
I get IPv4 is outdated, but how do I do some of this stuff in the fancy IPv6?
You are telling me IPv6 means I don't need any public static IPs and can use some private IPv6 space (10.x was already plenty for that for me in ipv4) with a dynamic public IPv6.
Fine, how does this work. Seriously, what VPN endpoint am I configuring? How does my VOIP / SIP play with this? Do I need to go back to poking weird holes in a NAT? My OWN experience was this all doesn't play well together. Firewalls seem not to play well with dynamic prefixes - and that's just the start. Devices pick up the wrong IP's internally (SIP etc).
In short - 20 years into this, when I try to do something simple -> stick my VoIP phone on a static public IP and VLAN -> its a total pain.
At a small biz, if I try and put a PBX on a static public IPv6 - it's a total pain (and BTW - the SIP IPv6 support in most hardware and softphones is terrible).
This should be the winning use case. Phone calls / person to person audio would benefit TREMENDOUSLY from direct peering connections without any NAT!
But despite an insane number if IPv6 addresses at least in the US they won't assign you a block of even 20.
If some dodgy site gets a visitor from a Comcast netblock they would know that, should they ever de-anonymise the address, the John at the other end has zero plausible deniability to fall back on.
That being said, there’s no excuse for Comcast to at least give you the option of a static /48. I see that they themselves have a /20. That alone is enough for a /48 for each of 268 million customers (8x their current userbase) who would each be able to route 65k broadcast domains (/64 subjects.)
I've got a /60 with multiple VLAN's running without issues.
Comcast's IPv6 behavior varies depending on where you live.
If you wish to keep track, I believe this is where pfSense is working on this:
I won't hold my breath!
It would make a worthy challenge, the struggle would be legendary etc 8)
You just assign a ULA address to an interface and that's it. There is no "struggle."
Edit: This is for a business modem owned by Comcast, needed because of a static IP config.
Could be worse. The CenturyLink CPE I had would crash and reboot if a fragmented ipv6 packet touched it. The replacement didn't do that, but had some trigger that ended up with massive extra latency.
I think we need to start judging how good a standard is by how easy it is to implement for its intended purpose.
The purpose of IPv6 was to superscede IPv4. 25 years later, only 1/4 of the top sites from this link are IPv6 enabled. That's... well, at some point you have to stop blaming lazy sysadmins or stubborn vendors and start considering that it's genuinely just a bad and hard to understand standard.
In 2050 we'll still be on IPv4. That's how bad I think IPv6 is. Technically impressive? Sure. Viable as an understandable network paradigm and designed for widespread real-life use? Looking like no.
32bit IPv4 gives us 4.2 billion IP addresses (although there are fewer usable addresses due to reservations etc.). If we would have just tacked on another byte we'd have 1 trillion (theoretical) IP addresses. Two extra bytes and we'd have some number I don't even know the name of (~2.7e14).
Changing from 213.113.223.023 to 142.213.113.223.023 is a lot less invasive, both for users and implementations (although increasing the address space isn't necessarily easy, it doesn't require an entire new stack).
Now, these other IPv6 changes aren't necessarily bad and also address real problems as well, but it seems IPv6 changes too much in one step for its own good. In this regard, it's not that dissimilar to Python 3 (except even worse!)
Also: one think that struck me about that list is that sites who do implement IPv6 are all Western, and that none of the Asian (mostly Chinese) sites implement IPv6. You'd expect it to be the other way round because Asian/Chinese would benefit a lot more from IPv6 since they have fewer allocated addresses, and their infrastructure also tends to be newer so legacy hardware is less of a concern. I don't know what this means or why this is the case though.
What is the sales pitch you would bring to the CEO of a Fortune 500?
When you buy or merge companies, and they both have RFC 1918 addresses, you'll probably have a conflict between the two entities. You'll probably have to implement NAT with-in your own network and hope the two sides don't have to talk to each other that much. (Or you completely re-IP the acquisition.)
With IPv6, either the companies will be using their own PI IPv6 space and/or they will be using unique ULA prefixes, so the chance of conflicts will be very small.
This at least was one of the business cases for Wells Fargo, "the fourth largest bank in the United States by total assets and is one of the largest as ranked by bank deposits and market capitalization":
If an internet service needs to distinguish users by IP address, say for spam fighting reasons, then IPv6 will provide finer granularity because the addresses are not shared by multiple users. Depending on how the ISP implements CGNAT, IPv6 may also improve performance and geolocation accuracy.
(They'd also be doing those ISPs a favor, because offloading traffic to IPv6 lowers the operating costs of CGNAT.)
I love IPv6 btw. I just don't think you'll see anything meaningful happen until FAANG drop IPv4 support. Imagine that. People would convert pretty quick if Google couldn't crawl your site or you couldn't buy an iPhone without IPv6...
mDNS helps since you can use hostname.local without having to set up a DNS server. I was going to make a joke blog post about using ipv4 addresses as hostnames so you can "keep using ipv4" while actually using ipv6, but I found you can't have "." in hostnames, so maybe instead use "-".
[Unit]
Description=DNS-SD Proxy
After=network.target network.service
[Service]
Type=simple
DynamicUser=yes
ExecStart=/usr/local/bin/mdns-discovery-proxy.py home.arpa 35353
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
And the bind9 configuration to forward the zone is (in /etc/bind/named.conf.local): zone "home.arpa" {
type forward;
forward only;
forwarders { 127.0.0.1 port 35353; };
};
[0] https://github.com/nybble41/mdns-discovery-proxyThis system works great. Comcast down? No worries, failover to ATT (and visa versa). Everything works through the NAT, failover is seamless.
I've spent a bit of time naively trying to get ipv6 to work as smoothly. The way IPv6 addresses are handed out, auto-change, are typed etc. It's just no where near as smooth.
We needed IPv5 - I basic extension to address range - that's it. Just add another 0-255 at the beginning or end of things and be done.
My other complaint. Desite supposedly having more ipv6 addresses, my ISP WILL NOT give me a static block / prefix etc.
In other words, there are enough IPv4 addresses that I can get a block of 5 static IPv4 addresses, but CANNOT pay for a static IPv6 block. What's the limit / issue with giving me a static IP prefix if I'm willing to pay? Seriously...
I feel like proponents of Ipv6 have not actually tried to use it at the consumer / prosumer / small business level.
I gave up on some SIP/VOIP stuff because this (and other protocols) generate lag etc when you are going device > NAT > server > NAT > device route, vs device to device.
I just need ONE prefix, but a group of 5 or 8 would be amazing (then you could use the default IPv6 scheme for addressing things).
Maybe there is hope, the US lags in some of this a fair bit. There should be enough space it would seem.
> I feel like proponents of Ipv6 have not actually tried to use it at the consumer / prosumer / small business level.
Have the same issues. I solely blame my ISP for it, not IPv6. They still think IPv6 is like v4, but with extra addresses.
A little bit off topic (but might be an option if you are a really dedicated prosumer guy or a business it sysadmin) but you can get static IPv6 Prefixes from Internet Registries and announce them yourself over BGP. You can buy prefixes from Securebit.ch, for example.
My shitty ISP gives me a static v6, but only a single subnet (/64 Prefix). I even tried getting the business package, but even then they would only give me a /60 prefix, which isn't enough for me.
Now I have a whole /44, of which i will never even use 5% of.
Interesting trivia: The experimental Inter Streaming Protocol (ST) used version 5 in the IP header, though it was never officially known as IPv5. Consequently, IPv6 is so numbered to avoid confusion.
What is "baroque" about it? It probably takes less infrastructure than IPv4.
In fact there are standards in the embedded space that use the auto-config features to reduce the infrastructure needed to work:
* https://en.wikipedia.org/wiki/NMEA_OneNet
* https://en.wikipedia.org/wiki/ISO_15118 (EV charging)
2. DHCPv6 (optional)
Which is the same as IPv4: 169.254.0.0/16 and DHCPv4. Except 169.254.0.0/16 can't get you universal connectivity, only link-local.
As for disabling autoconfiguration, high end network hardware has always supported disabling router advertisements. Consumer devices should have this option, there is no reason not to. A generic workaround in any case is to configure the local subnet with a prefix length other than /64.
And of course they don't necessarily work with each other.
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.
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.
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.
Right, but that only works if the other end has an address, and they're increasingly scarce/expensive.
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.
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.
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.
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.
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.
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.
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)
i.e. if your business depends on something that is working now, don't risk changing it unless absolutely neccesary.
My pihole indicates it's about 3x ipv4 for each 2x ipv6 resolved.
This list suggest much weaker stats...and that's in the top sites that can afford techies to sort it out?
I too like NAT and am not sure why everyone is so keen to get rid of it.
With IPv6, all my home machines could be naked on the internet and individually addressable. But no one honestly wants that.
So there will be a home firewall. And instead of port forwarding there will be punching holes in the firewall.
And because regular home consumers won't want to do this manually for every service on every device, there will be a UPNP equivalent, however terrible that already is.
I recall hearing stories of ISP's trying to limit how many devices could use a given Internet connection and how retarding (IE as in actually limiting progress) that was.
I don't need my ISP trying to bill me per machine connected.
Some part of me wants IPv6. I know I don't want ISP level CGNAT. I know I don't truly understand IPv6.
The cost/benefit ratio hasn't motivated me to look closely at IPv6 yet. I am hoping that by the time I am so motivated, there will be plentiful standard patterns of home use, easily readable (please not more tutorial videos...) for me to learn and to point family and friends at.
It is new small companies that will want you to use IPv6, since they will be the ones that will be fighting over the scraps of IPv4 space left by the giants.