Documentation
¶
Overview ¶
Package connectivity implements fixed-size reachability challenges. Target selection belongs to trusted operator configuration, never measurement input.
Index ¶
Constants ¶
View Source
const ProbeTimeout = 400 * time.Millisecond
View Source
const TokenSize = 32
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check tests one previously approved literal endpoint. It sends one 32-byte challenge and requires proof of the report's token, so an unrelated open service is not reported as the executor's listener.
func ServeTCP ¶
func ServeTCP(listener *net.TCPListener, token []byte) func()
ServeTCP owns the already-bound sample until stop is called. It handles one fixed-size challenge at a time and joins before returning from stop.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.