Skip to content

v0.0.2

Choose a tag to compare

@deuza deuza released this 04 Mar 01:20
· 25 commits to main since this release
v0.0.2
2863e12

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