News for hackers. Stuff that matters.
Re:Android’s IPv6 Is Still Broken by avian on Tuesday May 26, 2020 @06:47AM (#23309466)
Is it just me or did we actually start regressing in terms of moving things off IPv4? A couple of years ago I had a working IPv6 connection at home with a static /64 delegation. I had full IPv6 connectivity at work. Since I had IPv6 connectivity on my laptop ~90% of the time I actually moved a lot of my own private services to be IPv6 only, since that helped a lot with the usual background of port scans and other random annoyances.

Now I'm forced to move these things back to IPv4. My home ISP has first moved off static delegations in favor of dynamic ones via DHCPv6, and then broke IPv6 routing completely [1] and after a few weeks of me complaining still seemingly has no interest in fixing it. The place I work for now has no IPv6 connectivity and has no plans for it in the future. Many people I talk with don't believe that IPv6 is the future and I commonly hear that they have forcibly disabled it on their computers due to this or that random problem.

[1] https://www.tablix.org/~avian/blog/archives/2020/05/on_missi...

Re:Android’s IPv6 Is Still Broken by 1_player on Tuesday May 26, 2020 @06:55AM (#23309517)
I'm not sure about regressing, but I think we've almost reached peak IPv6: everyone who planned to support IPv6 have upgraded their software and infrastructure, those that were sceptical, lazy or downright opposed to IPv6 have no plans to support it, now or ever.

Having an "ipv6" configuration option in your software, which defaults to false, falls into the latter group. (Hello, Docker!)

Re:Android’s IPv6 Is Still Broken by citrin_ru on Tuesday May 26, 2020 @08:24AM (#23310226)
Having IPv6 turned off by default is not the only Docker problem with IPv6. When I tried to use IPv6 in Docker couple of years ago I found it to be unusable for my use case. I don't remember details, but remember finding tickets in github issue tracker with long discussions which went nowhere.
Re:Android’s IPv6 Is Still Broken by rleigh on Tuesday May 26, 2020 @04:50PM (#23316232)
No, I think it's slowly increasing in the background. Look at https://www.google.com/intl/en/ipv6/statistics.html

It's been a steady linear increase for the past three years, now over 30%.

Interestingly, zoom in to 2020, and you'll see the effect of the coronavirus lockdown--all those home workers and people in self-isolation on IPv6 rather than on IPv4-only work networks.

With the increase in dependence upon cloud computing and containers, I believe that one of the big blockers today is the poor support for IPv6 by cloud providers and by docker and other virtualisation/container systems. Their lack of IPv6 support is what precludes wider adoption on client systems and internally in companies. Pervasive IPv6 support would be reason to use it, but right now it's a hindrance.

Re:Android’s IPv6 Is Still Broken by magicalhippo on Tuesday May 26, 2020 @06:54AM (#23309510)
My ISP had a page about IPv6, but they've since removed it and when asked now say IPv6 is only supported by their own router box. They do DHCPv6 as well, with a single /64. Which makes IPv6 a PITA.

Of course it doesn't help that a lot of software (hello pfSense) is written around the idea that everybody will get a static /56 or similar that'll never ever change. Which is a pretty silly assumption IMHO.

Re:Android’s IPv6 Is Still Broken by thequux on Tuesday May 26, 2020 @07:37PM (#23317717)
My ISP (Telenet in Belgium) may just be unusually good, but, while there's fairly sparse documentation on IPv6 and their DHCPv6 only gave me a /64 by default, all I needed to do to get more was to configure my router's DHCP client to request a larger delegation. I didn't need to even contact their support line.

At the moment I'm only asking for a /60, because that's all I need, but I strongly suspect that a /56 or even larger is easily available.

Re:Android’s IPv6 Is Still Broken by corty on Tuesday May 26, 2020 @06:58AM (#23309536)
I do blame "Happy Eyeballs". Broken IPv6 has become invisible and therefore unimportant for ISPs.

Disabling IPv6 because of some -maybe imagined- problem is akin to disabling every new tech because it might be to blame. Tech will just progress one admin funeral at a time here.

Re:Android’s IPv6 Is Still Broken by magicalhippo on Tuesday May 26, 2020 @07:14AM (#23309657)
> Disabling IPv6 because of some -maybe imagined- problem

I've had very real IPv6 problems at home, which has caused me to disable it for long stretches. I turn it back on every now and then to see if life has improved though.

Most of my issues have been down to my ISP only handing out a dynamic /64 prefix. Apparently that's not how you do it and the software side doesn't seem to want to accommodate that, but that's what I got so...

Re:Android’s IPv6 Is Still Broken by avian on Tuesday May 26, 2020 @07:24AM (#23309731)
> Most of my issues have been down to my ISP only handing out a dynamic /64 prefix.

Yes, this is my biggest issue with the move to dynamic prefix delegation as well. Delegated prefix change seems to be handled very badly in the stack. It basically breaks all your IPv6 connectivity until LAN hosts get to renew their DHCPv6 leases and/or SLAAC autoconfiguration. Even connectivity between hosts on the LAN will break, since their addresses will slowly change while they update.

The funny part is that I now have a static IPv4 and a dynamic IPv6 - a situation I would never imagine could happen.

Re:Android’s IPv6 Is Still Broken by corty on Tuesday May 26, 2020 @08:14AM (#23310141)
Agreed. ISPs only handing out /64 is very aggravating, because one can not subdivide them without breaking SLAAC. One can hand out smaller subnets with DHCPv6, but that is broken in a lot of clients that assume /64 subnets blindly somewhere.
Re:Android’s IPv6 Is Still Broken by magicalhippo on Tuesday May 26, 2020 @07:29AM (#23309758)
> It basically breaks all your IPv6 connectivity

For me it basically breaks all connectivity, because pfSense tells LAN clients to use the public IPv6 address for DNS. So when the prefix changes pfSense updates its public IP, but LAN clients still try to use the old address for DNS resolution.

I've tried to get pfSense to only use IPv4 for DNS address, but I've so far been unsuccessful.

There's also the issue of updating firewall rules.

Re:Android’s IPv6 Is Still Broken by amaccuish on Tuesday May 26, 2020 @07:43AM (#23309876)
I'd recommend using ULA addresses for things like local dns servers.

When I was with my old ISP, we'd have our prefix dynamically delegated so I gave important servers ULA addresses. I then used some iptables scripts to allow traffic to my IPv6 services by looking only at the host part of the address, so if the prefix changed, the firewall rules would still be valid and allow access. That coupled with dynamic dns made it possible to still have a reasonably good network.

Since my new ISP gives us static everything, it's all so much easier. I really don't get the point of PD for IPv6. Or atleast, do PD but always assign the same prefix.

Re:Android’s IPv6 Is Still Broken by vetinari on Tuesday May 26, 2020 @08:48AM (#23310434)
> I really don't get the point of PD for IPv6. Or atleast, do PD but always assign the same prefix.

IPv6 allocation rules. They wanted to avoid the situation that happened with IPv4, so the address block are licensed for use and renewed on regular basis, so they can change. There's no such thing as fixed or static IPv6 address, it is dynamic, turtles all the way down. Hence DHCP-PD.

See also "Address space not to be considered property" (section 4.1) in the "IPv6 Address Allocation and Assignment Policy" (https://www.ripe.net/publications/docs/ripe-552#property)

Re:Android’s IPv6 Is Still Broken by everdrive on Tuesday May 26, 2020 @11:48AM (#23312632)
> They wanted to avoid the situation that happened with IPv4,

This is directly contrary to what I've heard. Maybe my information is bad, or out of date, but I had thought that IPv6 addresses were meant to be static. I thought one of the selling points was that we couldn't run out of IPv6 addresses, as they were so numerous. If we're going to keep them dynamic, why even force this monstrous 128-bit number on us?

Re:Android’s IPv6 Is Still Broken by corty on Tuesday May 26, 2020 @01:35PM (#23314047)
As far as I've understood, they wanted a little of everything.

IPv6 addresses should be more static short to medium term, because you don't have to reassign. Your local pool is basically infinite, so e.g. a client logging off the WiFi doesn't mean you immediately have to recycle the address. The local part (the latter 64 bits) is enough for everything and everyone.

Now, the first 64 bits should be used for routing, which should preferably be more hierarchical than with IPv4. The idea was that a customer/company/small ISP would get a prefix assigned that was below the hierarchy of the upstream ISP (with IPv4, that hierarchy isn't possible because there aren't enough address bits, and lots of lower-tier customers got their own subnets). So a large ISP might be assigned 2345::/16, assign 2345:6789::/32 to a smaller ISP who might assign 2345:6789:abcd::/48 to a customer (who then will do more subnetting with that). That keeps the global and local routing table small, since everyone just needs to look at the address prefix to know where to route to. If the customer now moves to another ISP, he is assigned a new prefix (e.g. 4711:f0f0:666::/48) by the new ISP and needs to renumber, meaning that all the customers addresses keep their suffix but change their prefix. Protocols like SLAAC where designed as stateless to support (among other things) quick and easy renumbering. Just announce the new prefix, wait a TTL and you are done. Clients automatically switch over to the new addresses, in an ideal world this is mostly transparent to the end user.

In the new millenium, especially after Snowden, the argument of privacy got stronger, meaning that randomised local /64 suffixes are now en vogue, as opposed to the earlier MAC-based static suffixes.

Therefore everything is more dynamic and also more static ;)

Re:Android’s IPv6 Is Still Broken by mmm_grayons on Tuesday May 26, 2020 @09:18AM (#23310735)
Yeah I looked at setting up v6 on all my home boxes a few years ago, and the situation sucked. I basically can't get a static IPv6, in spite of the fact that though I technically have a dynamic IPv4 from my ISP, it never changes. So now I'd have to go setup dynamic DNS and a bunch of other stuff to get it working. With the size of IPv6 address space, I figure ISPs should have no problem handing out static IPv6 addresses.
Re:Android’s IPv6 Is Still Broken by icedchai on Tuesday May 26, 2020 @04:31PM (#23316052)
You might be better off with an Hurricane Electric IPv6 tunnel. I've been using one for years.
Re:Android’s IPv6 Is Still Broken by toast0 on Tuesday May 26, 2020 @12:13PM (#23312963)
I don't think we're regressing as a whole, but current penetration is fairly low, so odds of moving to a company with IPv6 is low, and if you moved from a company with IPv6, you're likely to lose it.

Some ISPs consider it critical, but most don't. If they have enough IPv4 addresses, given that there's no high profile IPv6 only things, and that Happy Eyeballs is fairly well implemented, only a couple people are going to notice. Also, given the success some large networks are having with deploying IPv6, there's less pressure on IPv4 resources.

Happy Eyeballs itself is a compromise --- it hides broken configurations, so people who could fix things might not notice / be told IPv6 is broken, but it also hides broken configurations so people who can't fix things don't just turn off IPv6 forever, which leads to higher use when it does work.

Re:Android’s IPv6 Is Still Broken by pwdisswordfish2 on Tuesday May 26, 2020 @09:35AM (#23310893)
"Many people I talk with don't believe that IPv6 is the future and I commonly hear that they have forcibly disabled it on their computers due to this or that random problem."

It is their choice to make not anyone else's. They could be right. It might not be the future. I am one of those non-believers. I would love an improved protocol but I do not see IPv6 as the right fit. I think it is no coincidence that the providers are having problems with offering it to customers. Networking is complex and error-prone enough without IPv6. It is less so with IPv6? We know what the IPv6 zealots will say. Beware of "analyses" that focus solely on benefits without considering costs.

Re:Android’s IPv6 Is Still Broken by black_puppydog on Tuesday May 26, 2020 @09:52AM (#23311101)
I think GP was criticizing that this might be the correct choice for them, given that the rest of the world seems to randomly break v6 and somehow it's acceptable.
Re:Android’s IPv6 Is Still Broken by Dagger2 on Wednesday May 27, 2020 @03:59AM (#23320572)
That also means that you should beware of "analyses" that ignore the costs of staying on v4 and not doing v6.

NAT, split DNS, VPNs, RFC1918 clashes and renumbering... this stuff isn't free, and most of it is totally unnecessary when you have enough address space.

Re:Android’s IPv6 Is Still Broken by ipv6fix on Wednesday May 27, 2020 @08:09AM (#23322015)
While the above are real costs, beware of promises that IPv6 will remove, reduce or even lower the cost of doing NAT. As long as there is an IPv4 Internet, NAT will be an integral part of any IPv6 deployment.
Re:Android’s IPv6 Is Still Broken by Dagger2 on Wednesday May 27, 2020 @10:09AM (#23323504)
It will do all of those things in the right circumstances though.

Dual-stacked eyeball ISPs see over 50% of their traffic go via native v6. If they're CGNATing then that corresponds to a substantial drop in the amount of traffic that needs to be CGNATed, and therefore also a corresponding drop in the cost of the hardware needed to do it.

Re:Android’s IPv6 Is Still Broken by vetinari on Tuesday May 26, 2020 @08:55AM (#23310495)
Last time I moved, my options were:

a) DS Lite, with /64 prefix (no /56, no PCP), with mandatory ISP provided crapbox as the router;

b) public static IPv4, no IPv6 at all, with any router I want.

It is obvious which option I took.

Re:Android’s IPv6 Is Still Broken by edoceo on Tuesday May 26, 2020 @11:53AM (#23312718)
b) right?
Re:Android’s IPv6 Is Still Broken by vetinari on Wednesday May 27, 2020 @11:50AM (#23325081)
Right.
Re:Android’s IPv6 Is Still Broken by everdrive on Tuesday May 26, 2020 @10:53AM (#23311916)
I had similar problems. I decided to take the dive to IPv6, but it turned out I was getting regularly-changing dynamic IPv6 addresses. I wasn't succeeding in getting ULAs to work, and it was starting to look like IPv6 was a lot of headache with no benefit that I could identify.
Re:Android’s IPv6 Is Still Broken by m-p-3 on Tuesday May 26, 2020 @07:40AM (#23309841)
The frustrating thing is that they mostly believe IP 4 can be salvaged and stretched to the limit using NAT, but they often forget that we're running out of IPv4 addresses and that's just gonna make thing even more painful over time.
Re:Android’s IPv6 Is Still Broken by sp332 on Tuesday May 26, 2020 @08:19AM (#23310184)
Doesn't NAT decrease the pressure on IPv4 address space?
Re:Android’s IPv6 Is Still Broken by corty on Tuesday May 26, 2020 @08:41AM (#23310361)
Current state of the art is already "multiple layers of NAT". So yes, but only to a certain point.
Re:Android’s IPv6 Is Still Broken by zlynx on Tuesday May 26, 2020 @08:47AM (#23310424)
It does and did, yes. Now we're running out of IPv4 even with NAT.
Re:Android’s IPv6 Is Still Broken by cptskippy on Tuesday May 26, 2020 @01:53PM (#23314270)
> Is it just me or did we actually start regressing in terms of moving things off IPv4?

To my knowledge, nothing was ever moved off IPv4. IPv6 was setup in parallel, but IPv4 was never removed.

Re:Android’s IPv6 Is Still Broken by msh on Tuesday May 26, 2020 @08:18AM (#23310178)
yeah. My ISP actually have a deccent IPv6 implementation (but uses CGNAT unless you pay extra for a fixed IP) but their default router is crappy so I replaced it with a ubiquity ampliFI which is great on IPv4, can more or less fill my gigabit fiber, but on IPv6 it maxes out at 250 megabits. So I get better performance disabling IPv6 :( The isp router have no such issue, just bad WIFI and bad NAT performance for IPv4.