{"id":23478369,"url":"https://github.com/opennms/jicmp6","last_synced_at":"2025-04-14T21:31:36.041Z","repository":{"id":65509675,"uuid":"9374883","full_name":"OpenNMS/jicmp6","owner":"OpenNMS","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-01T20:01:29.000Z","size":244,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-11-17T10:22:26.485Z","etag":null,"topics":["c","icmp","java","ping"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenNMS.png","metadata":{"files":{"readme":"README.adoc","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-11T16:24:56.000Z","updated_at":"2023-04-28T03:58:07.000Z","dependencies_parsed_at":"2023-02-13T23:46:11.074Z","dependency_job_id":null,"html_url":"https://github.com/OpenNMS/jicmp6","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fjicmp6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fjicmp6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fjicmp6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenNMS%2Fjicmp6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenNMS","download_url":"https://codeload.github.com/OpenNMS/jicmp6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231143162,"owners_count":18334356,"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":["c","icmp","java","ping"],"created_at":"2024-12-24T19:19:03.711Z","updated_at":"2024-12-24T19:19:08.095Z","avatar_url":"https://github.com/OpenNMS.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"= About JICMP6\n\n_JICMP6_ is a small library to allow the use of _IPv6_ _ICMP_ (raw) packets in Java.\n\n== Build from source\n\n.Requirements\n\n* git\n* automake\n* autoconf\n* libtool\n* Java JDK 1.8+\n\nThe repository has a _git_ submodule which contains _Macros_ required to compile from source code.\n\n.Clone the respository on local disk\n[source]\n----\ngit clone https://github.com/OpenNMS/jicmp6.git\n----\n\n.Switch into source code repository\n[source]\n----\ncd jicmp6\n----\n\n.Initialize and update the git submodule.\n[source]\n----\ngit submodule update --init --recursive\n----\n\n.Update generated configuration files with\n[source]\n----\nautoreconf -fvi\n----\n\n.Generate make files using `/usr/local/lib` as install path and compile JICMP6\n[source]\n----\n./configure\nmake\n----\n\nTIP: If you want to change the install path the `./configure --prefix=/your/custom/path` can be used.\n\n.Install the library on your system, root permissions may required when working as non-root user.\n[source]\n----\nsudo make install\n----\n\n== Using JICMP6 as non-root\n\n_Mac OS X_ supports non-root _ICMP_ through the _SOCK_DRGAM_ interface, which _JICMP_ uses by default.\n\n_Linux_ supports this as well, but you additionally need to set a sysctl _OID_ to allow ping for non-root users.\n\nYou can set this temporarily by running: \n \n[source]\n----\nsysctl -w net.ipv4.ping_group_range=\"0 429496729\"\n----\n\n... or by creating a `sysctl` configuration file in `/etc`:\n\n[source]\n----\necho \"net.ipv4.ping_group_range=0 429496729\" \u003e /etc/sysctl.d/03-non-root-icmp.conf\n----\n\nDespite having _IPv4_ in the option name, this also effects _IPv6_ sockets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennms%2Fjicmp6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopennms%2Fjicmp6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopennms%2Fjicmp6/lists"}