Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

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

n.st

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

Hi,

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:
https://gist.github.com/n-st/93d695af455d071c218c

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.
Logged