Only user-visible changes are listed here.
- Wire protocol version 9 requires upgrading relay, agents, and clients together.
- Relay addresses, route IDs, target addresses, bind addresses, and ports must be configured explicitly. Missing or blank required settings fail startup.
- Use
N_T_ROUTE_IDon both agents and clients instead ofN_T_AGENT_NAMEandN_T_CLIENT_NAME. Matching IDs select the route. - Use
N_T_CLIENT_PORTSandN_T_AGENT_DATA_PORTSeven for a single port.
- Forward multiple TCP ports with ordered lists and inclusive ranges in
N_T_CLIENT_PORTSandN_T_AGENT_DATA_PORTS. Ports map by position; clients may use the first N agent ports. Each list supports up to 32 ports, with duplicate or overlapping ports rejected. - Separate
relay.example.env,agent.example.env, andclient.example.envtemplates replaceexample.env.
N_T_CRYPT_KEYis required and must contain exactly 32 UTF-8 bytes.- A named environment file must exist. The default
.envremains optional.
- The default heartbeat interval is 2 seconds and its timeout is 7 seconds.
- JavaScript applications can set
cryptKey,logDebug, andlogErrorindependently.
- Silent control failures are usually detected within 7–9 seconds.
- Clients stay registered while their agent is offline. They become ready when it returns.
- Wire protocol version 7 requires upgrading relay, agents, and clients together.
- Peers reconnect when relay heartbeats stop.
- Stalled handshakes and incomplete tunnels close automatically.
- Backpressure no longer cancels valid tunnel requests.
- Optional socket diagnostics report connection phases, TLS details, timeouts, and byte totals.
- Heartbeat intervals and timeouts are configurable.
- Wire protocol version 6 requires upgrading all peers together.
- Connections become ready only after relay confirmation.
- Fixed setup deadlines prevent proxy traffic from keeping stalled handshakes alive.
- Renamed
servertorelay. - Added TLS connections through HAProxy. See Deployment.
- Wire protocol version 4 requires upgrading all peers together.
- One relay port replaces the per-agent port range.
- Tunnel connections use expiring, single-use tickets.
- Duplicate and replayed tickets are rejected.
- Fixed data loss during tunnel setup.
- Introduced the shared-port reverse tunnel design.