←back to thread

296 points jmillikin | 10 comments | | HN request time: 1.522s | source | bottom
1. JimDabell ◴[] No.44411556[source]
One thing I appreciate about Apple’s App Store rules is that they require all apps to work on IPv6-only networks. They’ve had that rule in place for many years. It’s a little surprising as a developer the first time you run into it, but I’m glad it’s there as a user.
replies(2): >>44411559 #>>44411868 #
2. Gigachad ◴[] No.44411559[source]
Is github accessible by v6 as long as you use the app?
replies(3): >>44411612 #>>44411629 #>>44411786 #
3. Sesse__ ◴[] No.44411612[source]
”v6-only” in this context generally means ”with NAT64”, so only kind of.
4. neilalexander ◴[] No.44411629[source]
No, their policy is that you have to use IPv6-capable sockets and APIs, not that the remote endpoints are accessible over IPv6.
replies(1): >>44420050 #
5. xvilka ◴[] No.44411786[source]
GitHub doesn't support IPv6 yet[1]. Ridiculous but true.

[1] https://github.com/orgs/community/discussions/10539

6. the_mitsuhiko ◴[] No.44411868[source]
Yes, but it does not require your server to have an IPv6 address.
7. lostmsu ◴[] No.44420050{3}[source]
That's, effectively, a non-policy.
replies(1): >>44425097 #
8. WorldMaker ◴[] No.44425097{4}[source]
It does more than you think it does. GitHub may not support IPv6 and Apple can't force them, too, but the GitHub App on iOS is in most cases using DNS64 to get an IPv6 address to a NAT64 gateway to the GitHub IPv4 addresses, and all that just works today, in part because Apple forced apps to support "I'm always going to give you an IPv6 address, even if you know your own service isn't going to naturally return one".
replies(1): >>44427063 #
9. lostmsu ◴[] No.44427063{5}[source]
I was not proficient enough to understand that on my own. ELI5 is that this requirement forces apps to support running on IPv6-only networks where DNS calls return special IPv6 addresses for IPv4 hosts and ISP (usually mobile) does IPv6 to IPv4 NAT. That does sound useful.
replies(1): >>44427762 #
10. WorldMaker ◴[] No.44427762{6}[source]
Right. It's useful to point out too that for some of our day-to-day mobile networks this is the present state and not just a hypothetical future. Mobile and cell networks have been a driving force for IPv6 adoption [1] and several of them went IPv6-only infrastructure years ago (hand in hand with 5G rollouts in many cases). Both iOS and Androids efforts in making sure that IPv6-only was standard and worked in all App Store/Play Store apps were critical to getting us here.

[1] IPv6 makes hand-offs between radio towers (cells) a lot easier if the towers don't also have to manage scarce IPv4 addresses/NAT44 configurations and complicated DHCPv4 handshakes to setup/change IP addresses regularly; plus mobile networks in general have a lot of devices today, some have way more than other types of ISPs so IPv4 scarcity was something they could feel directly on their corporate bottom lines.