instead of importing from paris_traceroute, this should be moved to a common utility script.