Articles reference, ECHOUDP, updated 2026-10-23

Echo agent for the echo sensors: is this leg of the network sound?

The echo sensors test one leg of a network: a LAN link, a leased line, a 4G or Starlink uplink, a tunnel between two sites. A small program, oversight-echo, runs on a machine at the far end of the leg, and a probe at the near end tests against it. Every packet and every byte the probe sends is numbered and its contents known, so anything lost, reordered, duplicated or damaged on the way is counted, in each direction.

There are two sensors, usually used together:

  • UDP echo stream sends a set number of packets, one a millisecond, and gets each one back. It answers whether the leg is sound: loss, jitter, round trip, and whether the loss is scattered (weather, a dirty dish, a failing cable) or one outage (a handover, a cell change).
  • TCP echo transfer sends a set size up and then back down. It answers how fast the leg is in each direction and how hard TCP had to work for it: retransmits and stalls.

Everything is layer 3. Nothing uses ICMP, which is not reliably forwarded across WAN links.

What it measures

The UDP sensor reads packets sent, received and lost, with the loss split by direction, since the echo counts what reaches it; packets out of order, duplicated or corrupt; round trip minimum, average and maximum; jitter; the longest run of lost packets; and scattered loss, which is the loss leaving out any single gap over 300 ms.

The TCP sensor reads upload and download speed and time, retransmits in each direction as counted by the sending end's own TCP stack, the longest stall in each direction, and corrupt bytes, which TCP should never let through.

What to alarm on

Damaged data is never normal, so any corrupt packet or byte is critical. Scattered loss is the figure rain fade and a dirty dish move, and a phone call starts breaking up at a few per cent, while satellite handovers do not trip it, so it is the one to warn on, with the longest gap alongside where outages matter as well. On a leg that should be clean, retransmits climbing beyond a few dozen deserve a warning. An echo that is not running, or a leg that passes nothing, gives no reading at all, which is critical as for any sensor.

Pinning a fault down

Run two echoes at once on the same path, one near and one far, each with its own device and sensor from the same probe. When the far one shows loss and the near one does not, in the same minute, the fault is between them. Move the echoes and repeat. On a tunnel, an echo through the tunnel and another reached directly over the same link tell the tunnel's faults apart from the link's.

A sensor at 1000 packets every 5 minutes is a light watch. If it shows trouble, raise it to 10000 packets every minute for the hunt, and back again when the fault is found.

Running the echo

The echo is a single program for Linux, Windows and macOS, with nothing to configure, run on a machine at the far end of the leg. It can run in a terminal for a quick test, or as a locked-down service for a watch lasting days, and it is its own client too, so an engineer can run the same tests by hand and see the same figures the sensors record. It has no password: it is meant for private legs and for days at a time, not for the internet, so stop it when the work is done.

The test runs from whichever probe polls the sensor, so use a probe group whose probes sit at the near end of the leg, ideally one probe, or the figures describe a different path each time the sensor moves.

Both are 2 credits a reading. Mind the data on a metered link: 1MB each way every minute is about 1.4GB a day in each direction. The UDP sensor uses very little.

Installation and configuration are for signed-in customers. Sign in to see them.