Skip to main content

Module network

Module network 

Source
Expand description

Raft RPCs and forwarded writes between nodes, JSON over HTTP like ../agents-coordination. Every request carries the cluster secret, so reaching the port is not enough to join

Structs§

Hello
What a node says about itself to a peer that found it on the tailnet
Join
A node asking the leader to add it as a learner

Functions§

probe
Ask a host found on the tailnet who it is. The secret never leaves this node. Both proofs cover the address dialed, and the answer must carry the name Tailscale gives that address, so a host that relays a real member’s answer is rejected
send_join