Hacker News new | ask | show | jobs
by patricklorio 1355 days ago
http://ping.playit.gg/ embeds the request epoch in the TCP sequence number to give you your ping.

  Client SYN => 
             <= Server SYN+ACK \w epoch in sequence
  Client ACK =>
             <= HTTP payload calculating ping with NOW - ACK number
1 comments

Oh snap, that is cool! Does the server use raw sockets to pull that off? Or are regular ole TCP sockets capable of this?
It’s custom software for tunneling (primarily game servers). All the packets are handled directly using AF-XDP. It’s also on an anycast network and this endpoint is used to debug routing issues.