{"id":16164237,"url":"https://github.com/troglobit/mping","last_synced_at":"2025-10-06T13:50:34.880Z","repository":{"id":136803896,"uuid":"401091868","full_name":"troglobit/mping","owner":"troglobit","description":"A simple multicast ping program","archived":false,"fork":false,"pushed_at":"2024-09-15T22:16:11.000Z","size":146,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T19:51:43.647Z","etag":null,"topics":["client-server","ipv4","ipv6","linux","multicast","multicast-applications","testing","unix"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"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/troglobit.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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":"2021-08-29T16:41:09.000Z","updated_at":"2025-03-12T07:55:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e301546-3b6c-46f0-8e4e-f63bc0ff82e8","html_url":"https://github.com/troglobit/mping","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/troglobit/mping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/troglobit","download_url":"https://codeload.github.com/troglobit/mping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fmping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278621838,"owners_count":26017253,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["client-server","ipv4","ipv6","linux","multicast","multicast-applications","testing","unix"],"created_at":"2024-10-10T02:45:48.966Z","updated_at":"2025-10-06T13:50:34.863Z","avatar_url":"https://github.com/troglobit.png","language":"C","readme":"a simple multicast ping program\n===============================\n\nmping aspires to be an easy to use and script friendly program with\nsupport for both IPv4 and IPv6.  Similar to the standard ping program,\nbut unlike it, the response to multicast ping is sent by another mping.\n\n```\n      mping --\u003e Hello!\n     .----.                  ._         Hi! \u003c-- mping\n     |    |               .-(`  )               .----.\n     |    |--------------:(      ))             |    |\n     '----'              `(    )  ))------------|    |\n     Host A               ` __.:'               '----'\n\t                                            Host B\n                              ^\n                              |\nMulticast friendly network ---'\n```\n\n\u003e A multicast \"friendly\" network is one that supports multicast routing,\n\u003e and/or supports IGMP/MLD snooping.  Remember: the reverse path is in\n\u003e the unicast routing table (e.g., default route), the MULTICAST flag\n\u003e on your interfaces, and ... the TTL in routed networks!\n\nBy default, mping starts in receiver/reflector mode, joining the group\ngiven as command line argument.  To start as a sender, use `-s` and\nremember to set the `-t TTL` value greater than the number of routing\n\"hops\" when testing in a routed topology.\n\n\nUsage\n-----\n\n```\nUsage:\n  mping [-6dhqrsv] [-c COUNT] [-i IFNAME] [-p PORT] [-t TTL] [-w SEC] [-W SEC] [GROUP]\n\nOptions:\n  -6          Use IPv6 instead of IPv4, see below for defaults\n  -c COUNT    Stop after sending/receiving COUNT packets\n  -d          Debug messages\n  -h          This help text\n  -i IFNAME   Interface to use for sending/receiving\n  -p PORT     Multicast port to listen/send to, default 4321\n  -q          Quiet output, only startup and and summary lines\n  -r          Receiver/reflector mode, default\n  -s          Sender mode\n  -t TTL      Multicast time to live to send, IPv6 hops, default 1\n  -v          Show program version and contact information\n  -w DEADLINE Timeout before exiting, waiting for COUNT replies\n  -W TIMEOUT  Time to wait for a response, in seconds, default 5\n\nDefaults to use multicast group 225.1.2.3, UDP dst port 4321, unless -6 in which\ncase a multicast group ff2e::42 is used.  When a group argument is given, the\naddress family is chosen from that.  The selected outbound interface is chosen\nby querying the routing table, unless -i IFNAME\n```\n\n\u003e **Note:** the `mping` receiver/reflector also needs to set the TTL\n\u003e value, this is crucial in a routed setup or the reply is dropped.\n\n\nOrigin\n------\n\nInitially based on an example program from the book \"Multicast Sockets\",\nbut since then completely rewritten and extended.  Please send any bug\nreports, feature requests, patches/pull requests, and documentation\nfixes to [GitHub](https://github.com/troglobit/mping).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroglobit%2Fmping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftroglobit%2Fmping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroglobit%2Fmping/lists"}