Skip to content

Releases: deuza/ping2km

v1.0.0

07 Mar 15:27
v1.0.0
0c3dd3f

Choose a tag to compare

Stable release :)

v0.0.2

04 Mar 01:20
v0.0.2
2863e12

Choose a tag to compare

Initial release (with just a little fix) 🎉

A humorous POSIX shell script that estimates distance from ping RTT based on the speed of light.

Features

  • Four transmission models: --fiber (default), --copper, --theoretical, --dialup
  • Force IPv4 with -4
  • Limit packet count with -c
  • Output mimics standard ping(8) format
  • Statistics summary on Ctrl+C (RTT + estimated distance min/avg/max)
  • Strictly POSIX: no bashisms, no GNU-isms, no PCRE

Compatibility

  • Debian GNU/Linux (Bookworm, Trixie) arm64/amd64
  • FreeBSD 13.x / 14.x
  • macOS (Darwin) Ventura, Sonoma, Sequoia

Fun facts

  • --copper and --fiber give the same result within ~1% - the real troll is in the physics
  • --dialup subtracts 120 ms of modem overhead - back then, the world was smaller
  • Originally written in 2002 at Club-Internet on 36 lines of Solaris shell

v0.0.1

04 Mar 01:08
v0.0.1
3a66431

Choose a tag to compare

Initial release 🎉

A humorous POSIX shell script that estimates distance from ping RTT based on the speed of light.

Features

  • Four transmission models: --fiber (default), --copper, --theoretical, --dialup
  • Force IPv4 with -4
  • Limit packet count with -c
  • Output mimics standard ping(8) format
  • Statistics summary on Ctrl+C (RTT + estimated distance min/avg/max)
  • Strictly POSIX: no bashisms, no GNU-isms, no PCRE

Compatibility

  • Debian GNU/Linux (Bookworm, Trixie) arm64/amd64
  • FreeBSD 13.x / 14.x
  • macOS (Darwin) Ventura, Sonoma, Sequoia

Fun facts

  • --copper and --fiber give the same result within ~1% — the real troll is in the physics
  • --dialup subtracts 120 ms of modem overhead — back then, the world was smaller
  • Originally written in 2002 at Club-Internet on 36 lines of Solaris shell