IRTT-SERVER(1) | IRTT Manual | IRTT-SERVER(1) |
irtt-server - Isochronous Round-Trip Time Server
irtt server [args]
irtt server is the server for irtt(1) (irtt.html).
Format | Address Type |
:port | unspecified address with port, use with care |
host | host with default port 2112, see Host formats below |
host:port | host with specified port, see Host formats below |
%iface | all addresses on interface iface with default port 2112 |
%iface:port | all addresses on interface iface with port |
Note: iface strings may contain * to match multiple interfaces
Value | Fill |
none | Echo client payload (insecure on public servers) |
rand | Use random bytes from Go's math.rand |
pattern:XX | Use repeating pattern of hex (default 69727474) |
Value | Allowed Timestamps |
none | Don't allow any timestamps |
single | Allow a single timestamp (send, receive or midpoint) |
dual | Allow dual timestamps |
Value | Meaning |
on | Garbage collector always on |
off | Garbage collector always off |
idle | Garbage collector enabled only when idle |
Hosts may be either hostnames (for IPv4 or IPv6) or IP addresses. IPv6 addresses must be surrounded by brackets and may include a zone after the % character. Examples:
Type | Example |
IPv4 IP | 192.168.1.10 |
IPv6 IP | [2001:db8:8f::2/32] |
IPv4/6 hostname | localhost |
Note: IPv6 addresses must be quoted in most shells.
Durations are a sequence of decimal numbers, each with optional fraction, and unit suffix, such as: “300ms”, “1m30s” or “2.5m”. Sanity not enforced.
Suffix | Unit |
h | hours |
m | minutes |
s | seconds |
ms | milliseconds |
ns | nanoseconds |
Running an IRTT server that's open to the outside world requires some additional attention. For starters, irtt server's command line flags should be used to, at a minimum:
In addition, there are various systemd(1) options available for securing services. The irtt.service file included with the distribution sets many commonly used options, but should not be considered exhaustive.
To secure a server for public use, additional steps may be taken that are outside of the scope of this documentation, including but not limited to:
It should be noted that there are no known security vulnerabilities in the Go language at this time, and the steps above, in particular the chroot jail, may or may not serve to enhance security in any way. Go-based servers are generally regarded as safe because of Go's high-level language constructs for memory management, and at this time IRTT makes no use of Go's unsafe (https://golang.org/pkg/unsafe/) package.
irtt server exits with one of the following status codes:
Code | Meaning |
0 | Success |
1 | Runtime error |
2 | Command line error |
3 | Two interrupt signals received |
irtt(1) (irtt.html), irtt-client(1) (irtt-client.html)
IRTT GitHub repository (https://github.com/peteheist/irtt/)
February 11, 2018 | v0.9.0 |