TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Did iOS 9 set millions of iPhone clocks to the wrong time?

23 pointsby jameswilstermanover 9 years ago

6 comments

PhantomGremlinover 9 years ago
I monitor ntp activity from the computers and iPhones on my home network, so I have a good understanding of how Apple does this, at least on OS X and iOS 8.4, at least when WiFi is available.<p>It&#x27;s simple ntp. The computers ask DNS for time.apple.com, while the iOS devices ask for a similar domain, time-ios.apple.com. From that point both types of devices make ntp requests. What I do on my firewall is redirect those requests to my local ntp server, this saves on external ntp traffic.<p>time.apple.com resolves to 12 different IP addresses, all on Apple&#x27;s 17.0.0.0&#x2F;8 network. It&#x27;s easy to see, just issue the following command and you&#x27;ll see all of them:<p><pre><code> ntpdate -quv time.apple.com </code></pre> These servers are pretty darn good, they&#x27;re stratum 1, they&#x27;re distributed all over the world. Time from them seems to agree to within milliseconds of each other. The iOS address only seems to resolve to 3 places, but those also agree to milliseconds of each other.<p>Given that, I can think of at least 3 different error scenarios:<p>1) Apple broke something in actual ntp implementation in iOS 9.<p>2) One of the iOS ntp servers is goofing up. Unlikely since I&#x27;m sure Apple doubtlessly has lots of monitoring for errors like that.<p>3) Without WiFi available, iOS relies on the cell carrier for time services. Of course, the operation of the cell network depends on all phones knowing the exact time, but that probably doesn&#x27;t carry over to something ancillary like ntp. Perhaps a carrier&#x27;s ntp server is borked?<p>To resolve this it would be interesting to know and try:<p><pre><code> does the problem happen only on WiFi? does the problem happen only on cellular? does the problem only happen with a specific carrier? if WiFi, use something like tcpdump to monitor the actual packets to see if any obviously bad time is being served </code></pre> Why would anyone update to 9.0.0 anyway? New software always has teething problems.
评论 #10263229 未加载
评论 #10263097 未加载
mrks_over 9 years ago
Easier way to check if your phone is affected: <a href="http:&#x2F;&#x2F;time.is" rel="nofollow">http:&#x2F;&#x2F;time.is</a><p>My iPhone running iOS 9 (updated launch day) is 17 seconds ahead!
评论 #10262717 未加载
评论 #10262650 未加载
评论 #10262471 未加载
sigmarover 9 years ago
Any idea why the time is incorrect? Does forcing a synchronization of the clock in the settings fix it? (Don&#x27;t have an iphone, so I&#x27;m unsure if such an option exists)
评论 #10262618 未加载
joezydecoover 9 years ago
I have a little desktop clock that synchronizes to WWV every night. My iphone5S is about 6 seconds fast.
raspasovover 9 years ago
Mine is 5.5 seconds ahead!
mookieover 9 years ago
Mine is 35 seconds fast! iPhone 6 on verizon