{"id":37207582,"url":"https://github.com/wisdomatom/go-mtr","last_synced_at":"2026-01-14T23:52:18.237Z","repository":{"id":143371962,"uuid":"613670756","full_name":"wisdomatom/go-mtr","owner":"wisdomatom","description":"golang implementation of mtr","archived":false,"fork":false,"pushed_at":"2023-08-25T03:55:23.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T02:11:08.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wisdomatom.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":"2023-03-14T03:07:50.000Z","updated_at":"2023-04-01T13:02:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"81a739a5-d3a6-4341-9a78-8e140159b3e1","html_url":"https://github.com/wisdomatom/go-mtr","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/wisdomatom/go-mtr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomatom%2Fgo-mtr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomatom%2Fgo-mtr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomatom%2Fgo-mtr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomatom%2Fgo-mtr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisdomatom","download_url":"https://codeload.github.com/wisdomatom/go-mtr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisdomatom%2Fgo-mtr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28439568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-14T23:52:17.674Z","updated_at":"2026-01-14T23:52:18.231Z","avatar_url":"https://github.com/wisdomatom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Mtr\n\nGo implementation of mtr.\nmtr combines the functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool.\n\nAs mtr starts, it investigates the network connection between the host mtr runs on and a user-specified destination host. After it determines the address of each network hop between the machines, it sends a sequence of ICMP ECHO requests to each one to determine the quality of the link to each machine. As it does this, it prints running statistics about each machine.\n\n## Getting started\n\n- command use case\n```\ncd ./cmd\ngo run root.go --help\n```\n- code use case\n```\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/wisdomatom/go-mtr\"\n\t\"time\"\n)\n\nfunc main() {\n\ttracer, err := go_mtr.NewTrace(go_mtr.Config{\n\t\tICMP:        true,\n\t\tUDP:         false,\n\t\tMaxUnReply:  8,\n\t\tNextHopWait: time.Millisecond * 200,\n\t})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tt, err := go_mtr.GetTrace(\u0026go_mtr.Trace{\n\t\tSrcAddr: go_mtr.GetOutbondIP(),\n\t\tDstAddr: \"8.8.8.8\",\n\t\tSrcPort: 65533,\n\t\tDstPort: 65535,\n\t\tMaxTTL:  30,\n\t\tRetry:   2,\n\t})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tres := tracer.BatchTrace([]go_mtr.Trace{*t}, 1)\n\tfor _, r := range res {\n\t\tfmt.Println(r.Marshal())\n\t\tfmt.Println(r.MarshalAggregate())\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisdomatom%2Fgo-mtr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisdomatom%2Fgo-mtr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisdomatom%2Fgo-mtr/lists"}