Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

107.13. iputils-20250605

ping, arping, tracepath and clockdiff — ping runs unprivileged through ICMP sockets

20250605-1 · BSD-3-Clause AND GPL-2.0-or-later · 0.2 SBU · 288.7 KiB, 9 files · 41_system, 792 of 1047 · ports/core/net-diag/iputils

Homepage: https://github.com/iputils/iputils

iputils provides ping, arping, tracepath and clockdiff. ping needs no privilege: it opens an ICMP datagram socket, which /etc/sysctl.conf lets every user do through net.ipv4.ping_group_range; see setuid binaries.

Depends on: libcap, meson, ninja.

Required by: no port names it.

Sources: iputils-20250605.tar.xz (460.8 KiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install iputils'

build.sh:

meson setup build --prefix=/usr --buildtype=release \
	-DNO_SETCAP_OR_SUID=true -DUSE_GETTEXT=false -DUSE_IDN=false -DBUILD_MANS=false \
	-DSKIP_TESTS=true
ninja -C build
DESTDIR=$PKG ninja -C build install
install -Dm644 doc/*.8 -t "$PKG/usr/share/man/man8"

Programs: arping, clockdiff, ping, tracepath.

Directories: /usr/share/licenses/iputils.