8 ms·
iOS 10 and MacOS Sierra: Networking for the Modern Internet
- scrollaway 10y ago"IPv6-only cell service is coming soon, get your apps ready" And yet, AWS itself doesn't natively support IPv6 - you have to create a gateway for it. Grr. (Sorry for the off-topic rant) I'm curious, how does Apple detect apps which don't support IPv6?
- dalbin 10y agoIn the App Review, they test the app on a IPv6 only network, if they have any network-related error, the app will be rejected.
- ikawe 10y agosource?
- gtufano 10y agoThe (new?) Review Guidelines https://developer.apple.com/app-store/review/guidelines/#software-requirements https://developer.apple.com/app-store/review/guidelines/#sof... punto 2.5.5 "We will be reviewing on an IPv6 network, so if your app isn’t compatible with the IPv6 addressing, it may fail during review".
- wiml 10y agoreally easy to google up a source, e.g.: https://developer.apple.com/news/?id=08282015a https://developer.apple.com/news/?id=08282015a > At WWDC 2015 we announced that iOS 9 will support IPv6-only network services. All apps submitted to the App Store must support IPv6 starting in early 2016.
- chrisdroukas 10y agoWithout going into tremendous detail, this is roughly how: https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html https://developer.apple.com/library/ios/documentation/Networ...
- toomuchtodo 10y ago> And yet, AWS itself doesn't natively support IPv6 Public ELBs support it. And even if you're only using one instance behind the ELB, its $14/month for that ELB. No one needs IPv6 on backend instances if they're only talking to the outside world through ELBs. EDIT: I'm wrong. > Load balancers in a VPC support IPv4 addresses only. http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-internet-facing-load-balancers.html http://docs.aws.amazon.com/ElasticLoadBalancing/latest/Devel...
- scrollaway 10y agoBig if. ELBs are entirely optional. Using them just to be ipv6-compatible is a hack.
- toomuchtodo 10y agoAre you serving production traffic with a single instance?
- scrollaway 10y agoYes, actually. We're using lambdas for all the heavy lifting, so we don't need much at all for the app server. AWS is also used by plenty of smaller players who won't ever need more than one instance for everything. Or just devs who want a remote server to play with. Not everyone needs ELBs.
- sandstrom 10y agoOnly in Ec2 classic which isn't available to most AWS users. VPCs don't have it. So in practice AWS has almost zero IPv6 support.
- toomuchtodo 10y agoThanks for pointing out my mistake! I've corrected my comment.
- gumby 10y agoI am surprised, given the age of AWS, that they didn't go completely V6 internally from the get go.
- jlarocco 10y ago> I'm curious, how does Apple detect apps which don't support IPv6? If their network is entirely IPv6 then they may not do anything special to test it. If an app fails with IPv4/IPv6 related errors then it doesn't support IPv6 properly.
- terinjokes 10y agoAnd mind you, this means that your app needs to support IPv6 addressing. Your backend server doesn't need to support IPv6, since you can route to IPv4 addresses on IPv6-only networks. If you're using the correct APIs with IPv4 addresses, you're fine.
- FireBeyond 10y agoIt may be seen as complexity, but it's something I loved in Windows. The ability to flag any connection as metered. - I used it for my AT&T LTE USB modem. - I used it in my car, which has a wireless access point connected to LTE. Apple's "solution" seems to be (and I can't recall if it was even directly described as such) "we're moving to a world where cellular data will be the same as Wifi, so..." Except here's a fun fact for you. Did you know the same amount of money will buy you _less than half_ the data package in 2016 from AT&T and Verizon as it would have bought you in 2012? Data is twice as expensive now over cellular, not half.
- sehugg 10y agoAnd the average web page size is double that of 2012 ... at least we have ad blockers in iOS now.
- WA 10y agoIn iOS if device > iPhone 5. My iPhone 5 won't let me install Ad blockers. Which is kind of funny. I can't think of a good reason why this feature depends on the hardware. Also, it makes Apple's statement that they care about their users' privacy quite hypocritical.
- 05 10y agoOff topic, but you can side load ad blockers on iPhone 5 if you can find open source ones. So, it's an artificial restriction.
- WA 10y agoThe first 10 minutes searching didn't yield any results. Needs jailbroken device and then you can fiddle with your device's host file is what a lot of comments say.
- kaolinite 10y agoAdblockers on iOS require the 64 bit A7 SoC which was released with the 5S. I'm not sure if there's a valid reason why they couldn't make it work on 32 bit too, whether it was just extra effort or whether they'd have had to make technical concessions, but the way they implemented ad blocking within Safari is different to other solutions (e.g. the side-loaded ad blockers that 05 mentioned) so it's hard to be sure. For more information on WebKit content blockers: https://webkit.org/blog/3476/content-blockers-first-look/ https://webkit.org/blog/3476/content-blockers-first-look/ Update: performance is the reason that it's 64 bit only https://twitter.com/awfulben/status/638526406805229568 https://twitter.com/awfulben/status/638526406805229568
- coldcode 10y agoBright House (now Charter) still has no plan to support IPV6. So I can't even test at home unless I use my cell connection.
- ec109695 10y agoYou could use a vpn: https://community.openvpn.net/openvpn/wiki/IPv6 https://community.openvpn.net/openvpn/wiki/IPv6
- deleted 10y ago[deleted]
- feld 10y agoYou can use Charter's 6rd service to get a /64 tunnel at home. They're only rolling out IPv6 to fiber business customers right now. Friend who worked there said the last modem rollouts were so they could do step 1: management of modems over v6. So it shouldn't be too far off, but you never know...
- LeoNatan25 10y agoYou can configure a local IPv6-only network with macOS Server for the purpose of testing. You will see it as an access point on your device or simulator.
- ex3ndr 10y agoHow we can connect by IP address? In Telegram and in Actor we have done direct connection by IP because many public networks have very bad DNS servers. Also banning by host name is much easier than by IP address and avoid government censorship we need to use plain IP addresses and have our own IP sync in messaging apps. But NAT64 doesn't allow plain ipv4 conenction? Right?
- p1mrx 10y agoOn Android, if you connect to an IPv4 address, 464XLAT will send it to the NAT64 automatically. iOS doesn't implement 464XLAT, but you can call getaddrinfo("1.2.3.4") instead: https://www.ietf.org/mail-archive/web/v6ops/current/msg23222.html https://www.ietf.org/mail-archive/web/v6ops/current/msg23222...
- kev009 10y agoThe ECN stuff is interesting, any router jockeys here? Do you typically allow ECN through your peers?
- pyvpx 10y agothat would be a middlebox thing, not a BGP peer thing.
- wtallis 10y agoIf your network doesn't do AQM that supports ECN marking, then the only appropriate thing to do is pretend ECN doesn't exist. There's no reason to tamper with those bits or even observe them unless you are going to use them to signal that you are experiencing congestion. The current situation for the other six DiffServ bits is different. The lack of standardized meaning for them means it's common practice to alter or remove the prioritization if you don't agree with how your neighbor networks use those bits.