The iputils package is set of small useful utilities for Linux networking.
Clone or download
pevik and okias ping: Fallback raw protocol for EPROTONOSUPPORT also on IPv4
Commit d141cb6 ("ping: work with older kernels that don't support ping
sockets") fixed #54 with handling EPROTONOSUPPORT for IPv6. But some
systems return EPROTONOSUPPORT also for IPv4 (Debian 9.5 based container
with kernel 4.10).

NOTE: inet_create() (IPv4) and inet6_create() (IPv6) implementations in
kernel also returns ESOCKTNOSUPPORT (Socket type not supported), but we
check that with assert:
assert(socktype == SOCK_DGRAM || socktype == SOCK_RAW);

Fixes: #129

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Latest commit 340036f Aug 11, 2018
Permalink
Failed to load latest commit information.
build-aux build-sys: add setcap or setuid to ping when installing Oct 3, 2018
builddir meson: add experimental meson buildsystem support Jul 18, 2017
doc Merge pull request #147 from primeos/fix-ninfod-manpage Oct 15, 2018
ninfod ninfod: add systemd service unit file Oct 15, 2018
systemd ninfod: add systemd service unit file Oct 15, 2018
.gitignore build-sys: remove old build system Sep 30, 2018
.travis.yml build-sys: make meson to do everything needed Oct 3, 2018
LICENSE licenses: fill missing clockdiff.c and ping_common.c license Aug 19, 2017
LICENSE.BSD3 LICENSE: add information about licenses Aug 7, 2017
LICENSE.GPL2 LICENSE: add information about licenses Aug 7, 2017
Makefile build-sys: add couple meson keywords to Makefile Oct 3, 2018
README.md docs: remove INSTALL.md and update README.md command list Oct 3, 2018
RELNOTES.old RELNOTES: deprecated in favor of git history & github Aug 5, 2017
SNAPSHOT.h iputils-s20180629 Jun 29, 2018
arping.c warnings: fix minor issues Oct 3, 2018
clockdiff.c build-sys: use HAVE_LIBCAP to determine libcap code should be compiled Oct 3, 2018
configure build-sys: start building ninfod by default Oct 15, 2018
git-version.h.meson build-sys: make version number to update at each commit Oct 3, 2018
iputils_md5dig.h ninfod: remove incomplete iputils_md5dig.h file Oct 3, 2018
meson.build rarpd: integrate systemd service file with build-system Oct 15, 2018
meson_options.txt rarpd: integrate systemd service file with build-system Oct 15, 2018
ping.c ping: Fallback raw protocol for EPROTONOSUPPORT also on IPv4 Oct 15, 2018
ping.h build-sys: fix musl compilation Oct 9, 2018
ping6_common.c ping: stop using pointer size as strncmp() size argument Oct 3, 2018
ping_common.c ping: make command to use glibc error printing facility Oct 3, 2018
rarpd.c warnings: fix multiple errno printing format specifier issues Oct 3, 2018
rdisc.c warnings: fix multiple errno printing format specifier issues Oct 3, 2018
tftp.h tftp: remove definitions that can be included from system header Oct 3, 2018
tftpd.c warnings: fix multiple errno printing format specifier issues Oct 3, 2018
tftpsubs.c various: remove use of register keyword Oct 3, 2018
tracepath.c add version print out to remaining commands Oct 3, 2018
traceroute6.c build-sys: use HAVE_LIBCAP to determine libcap code should be compiled Oct 3, 2018

README.md

Build Status Coverity Status

The iputils package is set of small useful utilities for Linux networking.

These tools are included in iputils

  • arping
  • clockdiff
  • ninfod
  • ping
  • rarpd
  • rdisc
  • tftpd
  • tracepath
  • traceroute6

If you still use old version, please consider moving forward to new releases placed here.

This version also fully supports glibc, uClibc and musl-libc.