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.

Excessive load on NTP servers

354 pointsby BCM43over 8 years ago

15 comments

easytigerover 8 years ago
Wait.. they are saying the app itself is making NTP requests?<p>&gt; <i>Confirmed - starting up the iOS Snapchat app does a lookup to the domains you listed, and then sends NTP to every unique IP. Around 35-60 different IPs.</i><p>Hmm. Is that a fraud prevention thing or something? No way on earth a user app should be getting its own time
评论 #13220909 未加载
评论 #13220088 未加载
评论 #13220912 未加载
评论 #13224275 未加载
评论 #13219992 未加载
评论 #13227398 未加载
sschuellerover 8 years ago
Why on earth would you do that?<p>If you want to prevent users from altering their time use your server and do a time compare with your server.<p>NTP can be easily intercepted and altered so it would make a lot more sense to do this via a encrypted certificate pinned communication path increasing my work load drastically to alter the time.<p>I snapchat going to pay for the DDOS they created?
评论 #13221240 未加载
评论 #13220910 未加载
Declanomousover 8 years ago
For whatever reason, ntppool.org is blocked at my work.<p>And of course, you don&#x27;t get the page that states why when the website is served via https. Not that I need to see the page to know it was either blocked for &quot;hacking&quot; or &quot;entertainment&quot;, and I&#x27;m guessing it&#x27;s not entertainment.<p>Edit: This probably explains why our clocks have been off by 45 minutes since Monday. I guess it will be entertaining to see how long it takes for IT to figure this one out.
评论 #13220271 未加载
评论 #13220631 未加载
评论 #13222017 未加载
评论 #13220186 未加载
acqqover 8 years ago
According to the forum, the pattern matched this third-party library:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jbenet&#x2F;ios-ntp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jbenet&#x2F;ios-ntp</a><p>Specifically, all the servers(!) from here are contacted: <a href="https:&#x2F;&#x2F;github.com&#x2F;jbenet&#x2F;ios-ntp&#x2F;blob&#x2F;master&#x2F;ios-ntp-lib&#x2F;NetworkClock.m#L121" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jbenet&#x2F;ios-ntp&#x2F;blob&#x2F;master&#x2F;ios-ntp-lib&#x2F;Ne...</a><p>Note that the library author wrote:<p>&quot;ios-ntp is often (mostly?) used to make sure someone hasn&#x27;t fiddled with the system clock. The complications involved in using multiple servers and averaging time offsets is overkill for this purpose. The following skeleton code is all that is needed to check the time.&quot;<p>And that &quot;skeleton&quot; contacts just &quot;time.apple.com&quot;<p>But the library really has the default possibility of contacting a lot of the ntp.org servers from a big list (&quot;createAssociations&quot; with no parameters!) and it&#x27;s bad.<p>As we know, the developers like to just &quot;copy-paste&quot; whatever is where. Or use any defaults. &quot;Hey it works.&quot;
评论 #13220202 未加载
评论 #13220356 未加载
评论 #13222238 未加载
colecaover 8 years ago
FWIW my teenage daughter has been complaining about this latest Snapchat update for iOS the past couple days. It constantly crashes and causes the phone to reboot itself. Looking at Twitter, there&#x27;s tons and tons of people reporting the same issue, so it seems pretty widespread. Wonder if it&#x27;s related to this NTP issue.
评论 #13220430 未加载
sateeshover 8 years ago
It is interesting to read through the whole thread in a chronological order starting from the first message: <a href="http:&#x2F;&#x2F;mailman.nanog.org&#x2F;pipermail&#x2F;nanog&#x2F;2016-December&#x2F;089525.html" rel="nofollow">http:&#x2F;&#x2F;mailman.nanog.org&#x2F;pipermail&#x2F;nanog&#x2F;2016-December&#x2F;08952...</a><p>It took 4 days, to zero on the root cause. As is usual in a complex scenario like this there are a few false positives, some suspects abusing the protocol and alas final redemption. Amazing work by a dedicated group of technical folks in coordinating (just via emails, I suppose) and tracing the root cause.
limaover 8 years ago
Worst part is that they did not bother to use a vendor zone.
评论 #13220142 未加载
mark-rover 8 years ago
This happens often enough that Wikipedia has a page devoted to it: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NTP_server_misuse_and_abuse" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NTP_server_misuse_and_abuse</a><p>The first one I had heard of was Netgear vs. UW-Madison.
gbrown_over 8 years ago
For all of Apple&#x27;s App Store vetting one would think this kind of behavior would have thrown up a flag at some point no?
评论 #13220043 未加载
评论 #13220215 未加载
评论 #13220140 未加载
_RPMover 8 years ago
And to think that SC&#x27;s engineering is praised among college kids is laughable.
评论 #13225114 未加载
Faaakover 8 years ago
I wondered why I was seeing so much packet loss on my IP: <a href="http:&#x2F;&#x2F;mrtg.vi-di.fr&#x2F;krootservers.ping.html" rel="nofollow">http:&#x2F;&#x2F;mrtg.vi-di.fr&#x2F;krootservers.ping.html</a><p>Guess I know why now..
thejoshover 8 years ago
Yeah, it&#x27;s been really hit and miss here in AU for a few people I know.
sstevo66over 8 years ago
I do some work for the Network Time Foundation and we were not contacted by snapchat as far as I know. Anyone have a contact there, they probably need our help.
评论 #13241615 未加载
1_2__3over 8 years ago
I for one am shocked - shocked! - that Snapchat would be the kind of company to be cavalier about this kind of thing.
knownover 8 years ago
Captcha should fix it