Show HN: Faster-than-light ping (April Fools')
A server that replies to your pings faster than ever! Now with IPv6 support. Give it a minute and the response time will go down tremendously:
ping ftlping.net
On Windows, add an option not to stop after 4 pings: ping -t ftlping.net
Works best on MacOS and FreeBSD. Not impressive on Windows but you can see something interesting if you run a packet analyser.Report issues here: https://github.com/plingbang/ftlping/issues The code may be published when my future self passes it to me.
16 comments
[ 3.8 ms ] story [ 30.8 ms ] threadRequest timed out.
And on linux:
ping: Warning: time of day goes back (-173217us), taking countermeasures 64 bytes from [redacted]: icmp_seq=31 ttl=55 time=0.000 ms
I can imagine how it works on the server side, but what's really fascinating is that my client (macOS) can handle negative response times at all.
Does anybody know how that's possible? Do ICMP sockets just queue incoming "responses" until there is a pending matching request?
Or does the ping command take complete ICMP "ownership" over... something? more than a socket? while it runs, and this is an implementation quirk of that userspace tool's synchronization/threading/event handling mechanisms?
Now, by rights, you've shown that I shouldn't trust anything I receive from anybody.
There are never ending debates on what happened while observing A, but I dislike calling it “quantum teleportation” as it only further confuses people as if any information was teleported during observation. My theory is that A and B are totally independent until both observations reach a middleman C, and it’s at this point that the entanglement starts to matter.