Re-exports§
pub use recording::RECORDING_ALPN;pub use send::SEND_ALPN;
Modules§
- duration
- Compact human duration parsing (e.g.
3d,12h,30m). - ipv6
- Tenant-scoped IPv6 addresses derived from endpoint identity.
- policy
- recording
- Session recording wire protocol (ALPN
tunnet/recording/1). - relay
- Agent ↔ public-relay reverse-tunnel wire protocol (ALPN
tunnet/relay/1). - send
- File-transfer offer protocol (ALPN
tunnet/send/1). - signing
- ws
Structs§
- Active
Serve - Device
Profile - DnsConfig
- Endpoint
Snapshot - Enroll
Request - Enroll
Response - Enroll
Status Request - Exit
Node Info - Exit node advertisement in the snapshot.
- Hostname
Route - Ipv6
Peer Entry - Network
Membership Snapshot - Peer
Entry - Poll
Request - Port
Mapping - Public TCP port mapping on the relay edge.
- Redirect
Rule - Path-based redirect on the agent (multi-port / mesh HTTPS).
- Register
Request - Snapshot
Delta - Subnet
Route - Tunnel
Config
Enums§
Constants§
- HDR_
ENDPOINT_ ID - Header the agent sends with every authenticated request.
- HDR_
SIGNATURE - HDR_
TIMESTAMP - HDR_
TRACE_ ID - MAX_
SKEW_ SECS - Maximum allowed clock skew for signature validation.
- RELAY_
ALPN - ALPN for agent ↔ public relay reverse tunnels.
- TUNNEL_
ALPN - ALPN identifier for our tunnel protocol (mesh datagrams).
Functions§
- match_
redirect - Pick the first matching redirect rule with optional mesh target IP.
- match_
redirect_ port - Pick the first matching redirect rule (caller should sort by priority desc).
- mdns_
relay_ topic_ hex - Gossip topic for mDNS/DNS-SD service relay records on a network.
- network_
topic_ hex - path_
matches - Match an HTTP path against a redirect pattern (
/api/*or exact). - validate_
endpoint_ id - validate_
network_ name