68 points · by jesprenj · 3y ago · 182 comments
It's also incredible that, despite putting all their users behind CGNAT, they don't provide IPv6.
I mean technically they are no _worse_ than their major competition here (Virgin Media which has failed to move on IPv6 for 20 years, why start now). But it's baffling that a _new_ network would be built without IPv6 provision!
More specifically, T-Mobile US only assigns IPv6 addresses to devices, and to reach the IPv4 world you have to go through a translation mechanism.
Presentations from T-Mobile at NANOG and Rocky Mountain IPv6 Taskforce:
FWIW Verizon FWA does NOT use CGNAT for IPv4.
I’ve seen Comcast business also use CGNAT.
Yes, ideally, an infrastructure provider should not dictate what kind of IP packets the commercial ISP can use, and there are dozens of technologies that would allow them to provide transports that don't care about the routing layer, but in practice, these providers (that we never really hear about as end-users) often make very bizarre choices, for example setting up a complex DHCP interception schemes that feed both the OLT to "open the port" and a BGP route server to announce connected clients at the collection point, of course not supporting IPv6.
In one of the ISPs I work for, we literally have /48s assigned to all of our clients, but the infrastructure provider's doesn't route them to us : IPv6 traffic is rejected at both ends of the transport. The ticket has been open for years (IPv6 was supposed to be part of the network they were commissioned to build), and insiders told me that they had difficulties adapting their transport system for IPv6.
We may end up having to tunnel IPv6 through IPv4 to our clients, but we try to fight against that so that the infrastructure provider doesn't declare the problem "fixed" and decide that the proper way for ISPs to provide IPv6 is to tunnel it through IPv4 so that they don't have to change anything.
IPv6 Transition/Co-existence Security Considerations, https://datatracker.ietf.org/doc/rfc4942/
Operational Security Considerations for IPv6 Networks, https://datatracker.ietf.org/doc/rfc9099/
2 Gb (but it only performs to 1.1 Gb) is $100 USD (£81).
Still a great deal, except for needing to pay £5 extra pcm for a routable static IPv4 address.
I think the biggest pain point with IPv6 adoption is probably the large number of customers with a little netgear router that doesn’t know how to pass IPv6 through it. I also think local administrators that still purchase stuff that doesn’t support IPv6 are just shooting themselves in the foot. After all, the writing has been on the wall for over two decades.
That IPv6 has been around so long and is still not ubiquitous means that writing is faded and partially obscured by graffiti.
> the underlying need hasn’t gone away
That's 100% true. I think almost everyone sees the problem that IPv6 is addressing.
The current state of support and adoption is frankly abysmal. The attack surface is non-negligable. And there is no end in sight.
The idea of deploying a new version of the internet protocol (which lacks backwards compatibility for reasons) in parallel to the existing version should never have left the drafting table.
Outside of the world of smartphones, though, adoption is awful.
For home IoT, Matter uses IPv6, and may start picking up this year. (I worked on some IPv6-related things for it for my then-employer.)
Your ISP should give your router a /56 prefix via PD, which you can divvy up into 256 networks internally. Alternatively, if you don’t need globally-routable addresses, just pick a ULA prefix and have your router advertise it internally.
Given that the IPv6 standard was written by enterprise network people with no thought how it would get deployed to the masses, lots of software is still a PITA to work with if you got an ISP like mine.
Thankfully, contrary to GP's claim, you can just use smaller subnets to mitigate on links where this might be a problem.
If that's everything IPv6 has going for it it's no wonder its adoption is still so low.
IPv6 has numerous things going for it. But it also has numerous downsides. I suspect that's why the adoption is so slow.
Edit: don't know why I'm being downvoted, I guess the network gurus here don't research
But then you need NAT piercing everywhere for even "basic use". How is not being able to connect to things "usable"?
By that same metric, you also get a bare minimum, naive count of of 144 bits of IPv6 address with 2 layers of link-local address + all ports.
144 is much larger that 96.
Even the naive 64 bits "just use one layer of link-local" is still larger that the entire current 32-bits of IPv4.
Also, that sentence continues in the article with: "[…] but the pragmatic question is how much of this space can be exploited in a cost-effective manner such that the marginal cost of exploitation is lower than the cost of an IPv6 deployment."
I hope I can ignore it up to the point where I can make a complete switch, use only IPv6 and stop supporting IPv4 everywhere.
I wouldn't be surprised if that point never comes and I can be a happy "IPv4 only infrastructure" person forever.
Or IPv7 comes out before running an IPv4-only infrastructure becomes a problem.
I think the mistake of IPv6 was to not be a superset of IPv4.
Every firewall I've come across has a default deny rule for incoming IPv6 traffic, giving the firewall the same properties as any IPv4 network. Host firewalls are the same; anything ranging from Windows Firewall to UFW and firewalld have presets to block all traffic except for the applications you've whitelisted. Once you get to huge enterprise routers managing routable IPv4 addresses and IPv6 addresses the situation may become different, but it's still not that much overhead.
The biggest problem with securing IPv6 seems to be ignoring it assuming that makes it disappear. If you configure your firewall to drop all IPv4 traffic not on a whitelist but somehow manage to forget to add the same rule for IPv6, you should re-evaluate your networking knowledge and maybe get up to speed with how the internet has changed since 2015.
Its also all kinds of code that interacts with the internet in all kinds of ways. Extending all that code to two kinds of IPs, writing tests, setting up two types of IPs in development, staging and production, monitoring real life implications ... that would be a huge cost with no benefit at all.
In my experience, IPv6 Just Works (tm) with modern software. There are some mid 00's frameworks for blacklisting abusive hosts that can't parse IPv6 addresses, or don't understand the /64 subnet you need to treat as a single IP address, but that's all I've ever run into. If anything, that gave me an excuse to finally get rid of an old Perl network filter running on my server.
I'm not sure how many tests the average piece of software needs that deals with the type of address family connecting. I suppose it matters if you want to test your rate limiting middleware or your logging library? That should only matter for the vendored code of course because modern libraries all have those tests themselves already. It's not like you need to run and write every test twice, only one or two very specific subcomponents if any.
If you're writing firewalls or kernels or router firmware then yeah you'll have your hands full with this stuff, but that's far from the standard developer experience. In those cases, IPv6 is a reality as much as TCP and UDP are.
So now you’re getting a record with multiple ip addresses, some of which are ipv6, but ipv6 is blocked… there you go with random connection delays and possibly timeouts.
Ipv6 exists and it’s getting more and more adoption, no matter if some people keep their head under the sand…
Internet facing IPv6 infrastructure is usually much cheaper that their equivalent IPv4 enabled peers.
So supporting IPv4 can be the huge cost with no benefit at all, if all your clients/peers can use IPv6
In fairness, neither of those things would be unreasonable stances, given those conditions.
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1
The only issue I have is the same issue found in the article, but in reverse: now that I have a securely configured ipv6 network, how can I ensure that my hosts are fully prevented from communicating over a rogue ipv4 net?
And the example revolves exactly around filtering and firewalls -- on IPv4 they drop outgoing packets whose source address isn't a part of their subnet -- they prevent source spoofing of other addresses.
But on IPv6 they do not do that. I noticed this when their router somehow lost the prefix route to me -- I was informed that their DHCP server adds router dynamically to routers -- and I could still send packets. But I couldn't just send packets from my prefix, but also from any other address, including stuff like 2000::.
for the curious, that's (in most cases) DHCPv6-PD relay agent operation, https://www.rfc-editor.org/rfc/rfc8987.html#name-general "Delegating relay":
Delegating relay:
A delegating relay acts as an intermediate device, forwarding
DHCPv6 messages containing IA_PD and IAPREFIX options between the
client and server. The delegating relay does not implement a
DHCPv6 server function. The delegating relay is also responsible
for routing traffic for the delegated prefixes.
It's generally done by having the relay be a passive observer of the DHCPv6-PD packets it is relaying between client and server, installing and updating routes for prefixes as needed.That RFC also goes into detail on problems with these setups. What you experienced was probably the loss of state described in section 3.2.
Perhaps the good network engineer that got IPv4 working right left before they could implement IPv6? Or maybe they don't provide enough of a training budget for their engineers to stay up to date on networking technology?
Either way, if their core business is doing networking, I'd expect them to be better at this!
0: https://packetpushers.net/podcast/ipv6-buzz-123-why-you-need...
Let me guess, you live in and/or operate setups in the US?
Yeah, the US has disproportionately many IPv4 addresses.
Meanwhile if one of our services doesn't need IPv4, it doesn't get IPv4. And if it does need IPv4, it's increasingly common to be IPv6 behind an IPv4 reverse proxy.
And as a result, due to the extra reverse proxy, you'll increasingly just get worse performance on IPv4 than native IPv6.
..if only. :(
[1]: https://utcc.utoronto.ca/~cks/space/blog/tech/UniversityMone...
There's a lot of requirements that apply to institutions as a whole to clean up their acts and mature a lot of their security processes to even be eligible for grants. A lot of the wild west days are coming to an end, and I've seen a push in several institutions to wrangle unit-level IT groups into one massive IT organization for their entire campuses. Not only is there a lot of security vulnerability there, but it's also a huge cost center that can be squeezed to flatten the curve of tuition, but not have to reduce the salary of three dozen associate deans
* https://bgp.he.net/AS239#_prefixes6
It's just that particular department may not have bothered.
I don't think we could possibly be anywhere near the top of the things harming the transition when we regularly encounter people actively encouraging others not to use IPv6 for either security or convenience reasons!
A miserably common human behavior pattern.
Anyone have a copy of the DSM-5 handy, to tell us the technical name for it?
2) When was the last time you fixed networking issues by turning off IPv6?
For me, the answer to 1) remains "never", the answer to 2) is currently "Late winter"
I've used IPv6 to help users behind CGNAT; enabling IPv6 for client -> server often means those clients no longer go through carrier stateful firewalls and their sometimes tragically low idle timeouts (I've seen timeouts as low as 10 seconds).
I've also used IPv6 to help in a proxy config when I couldn't get the upstream servers configured for more listening ports; it's super easy to get extra v6 source addresses for the proxy servers and harder to get v4 addresses. With high volumes and low session times, you run into port reuse issues at around 10k-20k sessions per {source ip, dest ip, dest port} tuple; theoretically you can get to 64k, but TIME_WAIT takes time to clear and you don't want to be too aggressive.
Probably less going forward, but v6 and v4 often have different routed paths, and sometimes you want to get off of one path and onto another. If you're using a tunneled v6 connection, you almost certainly have a different path for most destinations.
> 2) When was the last time you fixed networking issues by turning off IPv6?
My previous DSL modem would crash when receiving fragmented IPv6 packets. My current one doesn't crash, but adds a lot of internal latency. Temporarily fixed by disabling IPv6; permanently fixed by using the modem in bridge mode and doing PPPoE on my own personal equipment (at great cost to my own sanity, PPPoE is gross, and I built a multi-node redundancy setup, so PPPoE sessions can be transferred between my redundant routers, bleh)
About a year ago, when I noticed wikipedia still doesn't have IPv6 reachable DNS resolvers.
4) When was the last time you fixed networking issues by turning off IPv4?
A few weeks ago, IPv4 was just slow for some reason I couldn't quite determine.
In 2017. The problem was that file copying via scp was very slow between the servers (one in Germany, one in China). I set up a he.net tunnel in China, got an IPv6 address, and it went much faster via IPv6.
2. Never, because altering my network in a way that I'm no longer able to reach my own servers isn't really a "solution".
2) 20 years ago? Late 00's
2) Never
This blog implies that IPv6 might simply happen and that is bad. If it does "happen" for a particular site then it will "happen" in the same way as IPv4 does already. Routers generally fail safe and so do PCs. In general a router will by default block inbound and allow outbound, regardless of IP flavour.
Yes it is a bit of a pain to maintain two lots of firewall rules but when you think about it you already have to worry about protocols too so IPv6 simply adds one more dimension to the already considerable combinations. A firewall rule generally worries about inbound/outbound IP/port/protocol. All IPv6 adds is IP version.
You'll also be surprised how quickly you can become accustomed to the stupidly long addresses. You may have forgotten how long it took you to get to grips with dotted quads when you first encountered IP(v4).
IPv6 does just work - it does have issues with multi ISP and that is a major issue that was never considered at the initial design stage. There are workarounds but they are shit unless you do full on BGP which is hardly a home user solution. It is what it is.
I imagine this may be a problem for other providers.
Thankfully no CGNAT, so I have a couple VLANS that use he.net in the meantime.
Sure, we'd save a little bit of time from the extra features, but I don't see how anyone's deployment approach would be different.
But if you've changed things so radically that it discourages moving to the replacement protocol, isn't that a problem?
> The changes made with IPv6 actually simplified deployment compared to IPv4.
Perhaps, but they also make transitioning from IPv4 to IPv6 orders of magnitude more difficult.
Maybe.
> If I could go back in time to 1995 I would kick some people at IETF meetings.
Sure.
But how is any of that relevant enough to bring up today? Now, IPv6 is what we have, and the standards are what they are, flaws and all.
The only reason I can think of is psychological: People don’t want to learn new things, so they find reasons to dislike the new thing to be able to pretend they don’t need to learn it.
I am not opposed to IPv6 in any way, but I'm also delaying changing my home network to IPv6 for as long as possible.
It's not from fear of change or not wanting to learn new things at all (I know IPv6 as well as I know IPv4). It's just that making that change is a whole lot of work, and IPv6 doesn't bring any benefit to me that I care about. I'll put in that effort when the situation changes and I get some benefit from it.
Yet IPv6 is very complex with tons of moving parts compared to IPv4, and a lot of it works very differently so I can't rely on my existing IPv4 knowledge. In fact it frequently a hinderance.
Which IPv6 does pretty well even if you aren't a network engineer. More than 40% of all requests to google are from IPv6 and the vast majority of those connections are from people that never heard of IPv6.
> I can't rely on my existing IPv4 knowledge.
So you are a network engineer, but you just don’t want to move with the times?
(An octet is a byte btw, so it'd be an increase from 4 to 8.)
If I had a time machine and had to take a relatively naive crack at the problem, I'd make IPv6 really really simple: it'd just be IP-in-IP.
On the internet you're routed with an outer address, and the local router forwards it using the inner address. Speaking v6 over v4 is free because v4 routers ignore the inner packet. Speaking v4 over v6 just doesn't include the inner packet. Other local hosts are just contacted through v4.