News for hackers. Stuff that matters.
Re:India is leading IPv6 migration with 61.67% adoption by tialaramex on Sunday August 15, 2021 @03:54PM (#28191938)
On some people's phones IPv4 addresses can't be reached. Their carrier doesn't bother moving IPv4 over a network that doesn't need IPv4. It does translation at the edge, and the iPhone is OK with that.

Apple's requirement is that even though you know your server is definitely 10.20.30.40† on the public network, and you hate IPv6 you must not hard code 10.20.30.40 inside the app and ship that to the App Store.

Once you reluctantly change it to a DNS name ten-twenty-thirty-forty.fuck-off-apple.example that resolves to 10.20.30.40 - Apple allows that.

Because now when your app is used on some IPv6-only carrier network, the carrier goes "ten-twenty-thirty-forty.fuck-off-apple.example ?" and it gets 10.20.30.40 and it says that's an IPv4 address, don't use those around here, and it adds a translator step, it gives the phone an IPv6 address for ten-twenty-thirty-forty.fuck-off-apple.example and the phone connects to that address, which is a translator that connects to 10.20.30.40 on the IPv4 Internet.

This stuff happens all the time and you don't notice. But if Apple allowed app vendors to just scribble IPv4 addresses inside their app software it would break.

† No that isn't a public IP address. It's an example.

Re:India is leading IPv6 migration with 61.67% adoption by teddyh on Monday August 16, 2021 @08:19AM (#28197198)
> † No that isn't a public IP address. It's an example.

“The blocks 192.0.2.0/24 (TEST-NET-1), 198.51.100.0/24 (TEST-NET-2), and 203.0.113.0/24 (TEST-NET-3) are provided for use in documentation.”

— RFC 5737, IPv4 Address Blocks Reserved for Documentation https://www.rfc-editor.org/rfc/rfc5737.html

Re:India is leading IPv6 migration with 61.67% adoption by tialaramex on Monday August 16, 2021 @11:51AM (#28199469)
Noted, but 10.20.30.40 kinda trips off the tongue.
Re:India is leading IPv6 migration with 61.67% adoption by teddyh on Monday August 16, 2021 @02:23PM (#28201167)
So did 1.1.1.1, which led to a lot of trouble when it started being widely used.
Re:India is leading IPv6 migration with 61.67% adoption by tialaramex on Monday August 16, 2021 @04:07PM (#28202265)
Unlike 1.1.1.1, 10.20.30.40 is reserved in RFC1918, you mustn't use it on the Network. So I don't have to care

(No I don't use RFC1918 addressing at home; Yes, every machine in my home has public IPv4 and/or IPv6 addresses; No that doesn't make it "really easy to break in" because having an address is not the same thing as being accessible)