{"id":18359513,"url":"https://github.com/zfdang/visual-geolocation-traceroute","last_synced_at":"2026-01-22T02:04:23.933Z","repository":{"id":150497706,"uuid":"474824927","full_name":"zfdang/visual-geolocation-traceroute","owner":"zfdang","description":"Traceroute with Geolocation","archived":false,"fork":false,"pushed_at":"2024-11-19T05:34:07.000Z","size":2842,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T04:16:48.251Z","etag":null,"topics":["geo","geolocation","ip","maps","mtr","traceroute","visual"],"latest_commit_sha":null,"homepage":"https://traceroute.zfdang.com/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zfdang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-28T02:57:53.000Z","updated_at":"2024-11-19T05:34:10.000Z","dependencies_parsed_at":"2024-12-23T22:41:52.217Z","dependency_job_id":"6471e1ec-775b-4910-8d8f-bd2403064cce","html_url":"https://github.com/zfdang/visual-geolocation-traceroute","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"9265b188a374008021c78957efebf0f36ad9b72f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zfdang/visual-geolocation-traceroute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfdang%2Fvisual-geolocation-traceroute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfdang%2Fvisual-geolocation-traceroute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfdang%2Fvisual-geolocation-traceroute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfdang%2Fvisual-geolocation-traceroute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zfdang","download_url":"https://codeload.github.com/zfdang/visual-geolocation-traceroute/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfdang%2Fvisual-geolocation-traceroute/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28650631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geo","geolocation","ip","maps","mtr","traceroute","visual"],"created_at":"2024-11-05T22:23:06.451Z","updated_at":"2026-01-22T02:04:23.916Z","avatar_url":"https://github.com/zfdang.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# visual geolocation traceroute\n\n\n## MTR\n\nWhat is My Traceroute (MTR)?\nMy Traceroute (MTR) is a tool that combines traceroute and ping, which is another common method for testing network connectivity and speed. In addition to the hops along the network path, MTR shows constantly updating information about the latency and packet loss along the route to the destination. This helps in troubleshooting network issues by allowing you to see what’s happening along the path in real-time.\n\nMTR works by discovering the network path in a similar manner to traceroute, and then regularly sending packets to continue collecting information to provide an updated view into the network’s health and speed.\n\nLike traceroute, MTR can use ICMP or UDP for outgoing packets but relies on ICMP for return (Type 11: Time Exceeded) packets.\n\n## Install MRT in MacOS\n\nTo install mtr, run the command\n\n\tbrew install mtr\n\n\nOnce MTR is insstalled, simply open your Terminal app and run this command:\n\n\tsudo /opt/homebrew/Cellar/mtr/0.95/sbin/mtr -n -r w2.zfdang.com\n\t\nThen you will get report like:\n\n```Start: 2022-03-28T11:19:08+0800\nHOST: zfdang-mac                  Loss%   Snt   Last   Avg  Best  Wrst StDev\n  1.|-- 111.203.139.66             0.0%    10    3.5   4.3   2.6   6.3   1.3\n  2.|-- 61.148.68.5                0.0%    10    3.7   5.2   3.1  11.5   2.5\n  3.|-- 123.126.7.209              0.0%    10    3.4   5.7   3.4   9.2   1.8\n  4.|-- ???                       100.0    10    0.0   0.0   0.0   0.0   0.0\n  5.|-- 202.96.12.113             20.0%    10    8.7  12.6   5.1  52.6  16.2\n  6.|-- 219.158.5.146              0.0%    10   13.8  11.1   8.4  14.1   2.2\n  7.|-- 219.158.3.134              0.0%    10    7.6  10.1   7.0  13.8   2.1\n  8.|-- 219.158.96.42              0.0%    10  180.4 180.3 176.2 182.3   1.9\n  9.|-- 12.246.229.121            10.0%    10  324.2 423.2 324.2 502.4  65.1\n 10.|-- 12.123.242.22              0.0%    10  324.8 423.4 310.4 510.6  72.6\n 11.|-- 12.122.163.37              0.0%    10  327.6 432.8 322.3 518.7  71.9\n 12.|-- 12.122.1.90                0.0%    10  312.2 424.0 312.2 500.3  66.6\n 13.|-- 12.123.206.249            10.0%    10  310.6 419.6 310.6 510.1  64.7\n 14.|-- 140.91.194.237             0.0%    10  168.1 168.9 167.3 173.0   1.7\n 15.|-- 129.153.75.169             0.0%    10  165.3 166.1 164.6 170.3   1.7\n```\n## Run script to get geolocation\n\n\tsudo python geo-traceroute.py -h w1.zfdang.com -c 10\n\t\nNOTE: You might have to modify the path to mtr in the script:\n\n\tmtr_cmd = \"/usr/local/Cellar/mtr/0.95/sbin/mtr\"\n\nThe output is something like:\n\n```\nShow traceroute information for host (w1.zfdang.com)\nUse mtr command to generate traceroute informations, please wait ...\nParse geolocation from ip-api.com ...\n  1.|-- 111.203.139.66 (China Unicom Beijing Province Network; Beijing; Beijing; China)             0.0%    10    4.2   4.1   2.4   6.7   1.1\n  2.|-- 61.148.68.5 (China Unicom Beijing Province Network; Beijing; Beijing; China)                0.0%    10    3.2   4.6   2.8   7.4   1.7\n  3.|-- 123.126.7.229 (China Unicom Beijing Province Network; Xicheng District; Beijing; China)              0.0%    10    3.7   4.6   3.4  10.0   2.0\n  4.|-- 61.51.169.69 (China Unicom Beijing Province Network; Beijing; Beijing; China)              80.0%    10    3.2   9.1   3.2  15.1   8.4\n  5.|-- 125.33.186.77 (China Unicom Beijing Province Network; Beijing; Beijing; China)             80.0%    10    8.0   6.9   5.8   8.0   1.5\n  6.|-- 219.158.6.198 (China Unicom China169 Network; Jinrongjie; Beijing; China)              0.0%    10   24.8  26.9  24.8  30.6   1.7\n  7.|-- 219.158.7.126 (China Unicom China169 Network; Jinrongjie; Beijing; China)              0.0%    10   30.6  31.3  25.8  42.4   4.8\n  8.|-- 219.158.8.186 (China Unicom China169 Network; Jinrongjie; Beijing; China)              0.0%    10   31.8  30.4  25.4  36.1   3.8\n  9.|-- 219.158.112.246 (CNC group; China Unicom IP Network; Guangzhou; Guangdong; China)            0.0%    10   50.8  51.6  49.1  56.6   2.2\n 10.|-- 202.77.22.33 (China Unicom Global; Wanchai; Wan Chai; Hong Kong)               0.0%    10   54.0  53.8  51.7  56.4   1.8\n 12.|-- 162.245.124.181 (Unicom; China Unicom (Hong Kong) Operations Limited; Wanchai; Wan Chai; Hong Kong)            0.0%    10  103.7 104.3 102.8 106.3   1.2\n 13.|-- 203.160.70.130 (China Unicom (Hong Kong) Operations Limited; China Unicom APAC; Wanchai; Wan Chai; Hong Kong)            20.0%    10   78.1  89.0  75.4 155.7  27.1\n 14.|-- 140.91.214.14 (Oracle Public Cloud; Oracle Corporation; Seoul; Seoul; South Korea)              0.0%    10   65.0  72.9  64.6 130.7  20.4\n 15.|-- 152.70.248.50 (Oracle Cloud Infrastructure (ap-seoul-1); Oracle Corporation; Seoul; Seoul; South Korea)             10.0%    10   65.1  65.9  64.9  67.5   1.0\n```\n\n## Open google-maps.html in browser\n\nThis file will be opened automatically. If don't, please open google-maps.html manually. \n\nYou will see visual traceroute information like:\n\n![](demo.png)\n\n.end.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfdang%2Fvisual-geolocation-traceroute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzfdang%2Fvisual-geolocation-traceroute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfdang%2Fvisual-geolocation-traceroute/lists"}