All notable changes to the project are documented in this file.
v2.1 - 2026-01-04
- Add
-b BYTESoption to increase (empty) payload size
- If IPv4/IPv6 address type is not specified and cannot be inferred from an interface, skip it
- Fix htonl on 64-bit values, found and fixed by Marek Küthe
v2.0 - 2022-05-12
- Add IPv6 support, still ASM
- Detect address family from command line group argument, or
-6
v1.6 - 2021-10-31
- Add Dockerfile with build + deploy to ghcr.io
- Use
clock_gettime()to reliably measure time instead of unreliablegettimeofday(), which only gives the (auto-)adjustable wall clock - Improved error messages from
init_socket(), e.g. inform the user if they are trying to use an interface without MULTICAST flag set - Replace
etime=andatime=with ping-liketime=. This change is actually a follow-up to v1.3 where the random delay in the receiver was dropped - The mping
VERSIONdefine is now extracted from the sources rather than defined in the Makefile. This facilitates easier import in other project's build systems and ensures the version is not lost
v1.5 - 2021-09-05
- Update README, tips and usage section
- Add
-w DEADLINE, like regular ping(1) tool, this adds the ping(1) behavior to the-c COUNToption, instead of exit after COUNT sent mpings, we now wait DEADLINE seconds to receive COUNT mpings
- Don't exit with error if receiving more than COUNT packets
v1.4 - 2021-08-31
- Add man page to section 1
- Add missing license heading to source file
- Fix missing newline and options in usage text
v1.3 - 2021-08-30
- Reindent to Linux KNF
- Simplfy command line args
- Add
-c COUNTto stop after COUNT packet instead of hardcoded 5 - Add
-W SECfor sender timeout - Add
-qfor quiet output - Change
-vto-dfor debug output - Change
-Vto-vto show version information - Drop random delay in receiver mode, not useful in production
- Add basic test case
- Interface address and default interface lookup
- Fix formatting of messages to align between sender and receiver
- Exit with error code if we receive fewer packets than expected
- Set IP header TTL value to allow for traversing routers
Initial version, available from the toolbox repo.