You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/prober
Andrew Dunham ac574d875c prober: add helper function to check all IPs for a DNS hostname
This allows us to check all IP addresses (and address families) for a
given DNS hostname while dynamically discovering new IPs and removing
old ones as they're no longer valid.

Also add a testable example that demonstrates how to use it.

Alternative to #11610
Updates tailscale/corp#16367

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I6d6f39bafc30e6dfcf6708185d09faee2a374599
2 years ago
..
derp.go prober: add a DERP bandwidth probe 2 years ago
derp_test.go prober: add a DERP bandwidth probe 2 years ago
dns.go prober: add helper function to check all IPs for a DNS hostname 2 years ago
dns_example_test.go prober: add helper function to check all IPs for a DNS hostname 2 years ago
dns_test.go prober: add helper function to check all IPs for a DNS hostname 2 years ago
http.go prober: log HTTP response body on failure 2 years ago
notification.go all: update copyright and license headers 3 years ago
prober.go prober: export probe counters and cumulative latency 2 years ago
prober_test.go prober: migrate to Prometheus metric library 3 years ago
tcp.go all: update copyright and license headers 3 years ago
tls.go prober: add TLS probe constructor to split dial addr from cert name 2 years ago
tls_test.go prober: add TLS probe constructor to split dial addr from cert name 2 years ago