by easytiger · 9y ago · 0 comments
> 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.
Hmm. Is that a fraud prevention thing or something? No way on earth a user app should be getting its own time
See my other post here, and the problems in the (third party) iOS NTP library "features" and its use.
There "createAssociations" in that library without any parameters contacts all the IPs behind the big domain list of the NTP servers!
And according to the forum every IP is contacted -- behind one server name there are 3-4 servers in the DNS in this case, I get 31 server! Real "distributed denial of service" attack.
Ironically, part of an HTTPS handshake involves sharing the server time in a cryptographically-verifiable manner. I am not sure why they don't use that! https://github.com/ioerror/tlsdate
This practice is becoming increasingly common for "time-sensitive applications":
https://github.com/lyft/Kronos/blob/master/Sources/NTPClient...
The third-party library used by Snapchat didn't have any "maximum of servers" (using 30 at once(!)) and defaulted to many in the ntp.org pool, across all the continents!
http://mailman.nanog.org/pipermail/nanog/2016-December/08962...