{"id":13466120,"url":"https://github.com/traviscross/mtr","last_synced_at":"2025-04-29T18:18:13.807Z","repository":{"id":6726538,"uuid":"7972402","full_name":"traviscross/mtr","owner":"traviscross","description":"Official repository for mtr, a network diagnostic tool","archived":false,"fork":false,"pushed_at":"2025-04-23T17:41:08.000Z","size":1562,"stargazers_count":2891,"open_issues_count":179,"forks_count":352,"subscribers_count":99,"default_branch":"master","last_synced_at":"2025-04-29T18:18:09.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.bitwizard.nl/mtr/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/traviscross.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY","support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-02-02T06:01:22.000Z","updated_at":"2025-04-29T07:06:49.000Z","dependencies_parsed_at":"2023-10-15T18:54:53.393Z","dependency_job_id":"3ff9def9-8310-42b0-8d65-43c60ff371cd","html_url":"https://github.com/traviscross/mtr","commit_stats":{"total_commits":592,"total_committers":96,"mean_commits":6.166666666666667,"dds":0.7905405405405406,"last_synced_commit":"e137a71a3c9e90d3c827b70ca72b2517865e518e"},"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traviscross%2Fmtr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traviscross%2Fmtr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traviscross%2Fmtr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traviscross%2Fmtr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traviscross","download_url":"https://codeload.github.com/traviscross/mtr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251556471,"owners_count":21608452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-07-31T15:00:39.388Z","updated_at":"2025-04-29T18:18:13.776Z","avatar_url":"https://github.com/traviscross.png","language":"C","readme":"WHAT IS MTR?\n===\n\nmtr combines the functionality of the 'traceroute' and 'ping' programs\nin a single network diagnostic tool.\n\nAs mtr starts, it investigates the network connection between the host\nmtr runs on and a user-specified destination host.  After it\ndetermines the address of each network hop between the machines,\nit sends a sequence of ICMP ECHO requests to each one to determine the\nquality of the link to each machine.  As it does this, it prints\nrunning statistics about each machine.\n\nmtr is distributed under the GNU General Public License version 2.\nSee the COPYING file for details.\n\nINSTALLING\n===\n\nIf you're building this from a tarball, compiling mtr is as\nsimple as:\n\n\t./configure \u0026\u0026 make\n\nPlease note that this refers to the tarballs from\n https://www.bitwizard.nl/mtr/files/\nand not the tarballs that github can produce.\n\n(in the past, there was a Makefile in the distribution that did\nthe `./configure` for you and then ran make again with the generated\nMakefile, but this has suffered some bitrot. It didn't work well\nwith git.)\n\nIf you're building from the git repository, you'll need to run:\n\n\t./bootstrap.sh \u0026\u0026 ./configure \u0026\u0026 make\n\nWhen it looks as if the compilation was successful, you can\ntest mtr with\n\n\tsudo ./mtr \u003chost\u003e\n\n(fill in a hostname or IP address where it says \u003chost\u003e) or\nimmediately continue on to installing:\n\n\tmake install\n\nNote that mtr-packet must be suid-root because it requires access to\nraw IP sockets.  See SECURITY for security information.\n\nOlder versions used to require a non-existent path to GTK for a\ncorrect build of a non-gtk version while GTK was installed. This is\nno longer necessary. `./configure --without-gtk` should now work.\nIf it doesn't, try `make WITHOUT_X11=YES` as the make step.\n\nOn Solaris, you'll need to use GNU make to build.\n(Use `gmake` rather than `make`.)\n\nOn Solaris (and possibly other systems) the \"gtk\" library may be\ninstalled in a directory where the dynamic linker refuses to look when\na binary is setuid. Roman Shterenzon reports that adding\n        -Wl,-rpath=/usr/lib\nto the commandline will work if you are using gnu LD. He tells me that\nyou're out of luck when you use the sun LD. That's not quite true, as\nyou can move the gtk libraries to `/usr/lib` instead of leaving them in\n`/usr/local/lib`.  (when the ld tells you that `/usr/local/lib` is untrusted\nand `/usr/lib` is trusted, and you trust the gtk libs enough to want them\nin a setuid program, then there is something to say for moving them\nto the \"trusted\" directory.)\n\nBuilding on MacOS should not require any special steps.\n\nUSING MTR ON WINDOWS\n===\n\nUsing mtr on Windows requires Windows Subsystem for Linux (WSL).  \nTo install WSL with Ubuntu distribution (Default), see\n[How to install Linux on Windows with WSL](https://learn.microsoft.com/en-us/windows/wsl/install).\n\nAfter complete initial process,\nsimple as:\n\n\tsudo apt-get -y install mtr\n\n\n\nBUILDING FOR WINDOWS (TRADITIONAL METHOD)\n===\n\nIf you prefer traditional method.\nObtain Cygwin, see\nhttps://cygwin.com/install.html.\n\nNext, re-run cygwin's `setup-x86.exe` (or `setup-x86_64.exe` if you're using 64bit cygwin) with the following arguments,\n\nwhich will install the packages required for building:\n\n        setup-x86.exe --package-manager --wait --packages automake,pkg-config,make,gcc-core,libncurses-devel,libjansson-devel\n\nBuild as under Unix:\n\n        ./bootstrap.sh \u0026\u0026 ./configure \u0026\u0026 make\n\nFinally, install the built binaries:\n\n        make install\n\n\n\n\nWHERE CAN I GET THE LATEST VERSION OR MORE INFORMATION?\n===\n\nmtr is now hosted on github.\nhttps://github.com/traviscross/mtr\n\nSee the mtr web page at http://www.BitWizard.nl/mtr/\n\nBug reports and feature requests should be submitted to the Github bug tracking system.\n\nPatches can be submitted by cloning the Github repository and issuing\na pull request, or by email to me. Please use unified diffs. Usually\nthe diff is sort of messy, so please check that the diff is clean and\ndoesn't contain too much of your local stuff (for example, I don't\nwant/need the \"configure\" script that /your/ automake made for you).\n\n(There used to be a mailinglist, but all it got was spam. So\nwhen the server was upgraded, the mailing list died.)\n\n\nREW\n","funding_links":[],"categories":["C","\u003ca id=\"79499aeece9a2a9f64af6f61ee18cbea\"\u003e\u003c/a\u003e浏览嗅探\u0026\u0026流量拦截\u0026\u0026流量分析\u0026\u0026中间人","Command Line Tools","CLI tools","C (286)","\u003ca id=\"7bf0f5839fb2827fdc1b93ae6ac7f53d\"\u003e\u003c/a\u003e工具","命令行工具","Uncategorized","\u003ca name=\"networking\"\u003e\u003c/a\u003eNetworking","System Utilities"],"sub_categories":["\u003ca id=\"99398a5a8aaf99228829dadff48fb6a7\"\u003e\u003c/a\u003e未分类-Network","Monitoring","\u003ca id=\"9dfefb87c4dc3288b2eddf6780e8ffb9\"\u003e\u003c/a\u003e网络诊断","Uncategorized","Directory Navigation"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraviscross%2Fmtr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraviscross%2Fmtr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraviscross%2Fmtr/lists"}