Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  


Welcome to Hurricane Electric's forums!

Author Topic: Script to find closest HE tunnel server  (Read 1227 times)

  • Newbie
  • *
  • Posts: 1
Script to find closest HE tunnel server
« on: August 10, 2014, 05:45:19 AM »


Before creating a tunnel, I wanted to know which tunnel server was closest (ping-wise) to my endpoint.
I couldn't find any existing solution to do that automatically, so I wrote a small bash script that pings all tunnel servers (as of 2014-08-06) and displays them sorted by their average ping times:

Pinging all servers is probably overkill, but I've had some unexpected results (e.g. a German cable ISP with lower ping times to Amsterdam and Zürich than to Frankfurt and Berlin), so I decided to check all of them at once.