Michael Stapelberg
05a7b11ba6
diagd: allow disabling ipv6 connectivity check in health.json
...
This makes rtr7-safe-update work in environments without IPv6.
2023-08-12 16:14:13 +02:00
Michael Stapelberg
a8a12cafc9
diagd: remove ping4/ping6 to external targets in favor of tcp4/tcp6
...
External ICMP does not necessarily work.
It typically does, but not always.
Last week, for a day or two, ICMP traffic was dropped by Google.
So now we use ICMP only for network equipment targets (default gateway),
and instead use TCP for external connectivity checks.
fixes #77
2022-09-28 22:39:20 +02:00
Michael Stapelberg
99c4046ebf
diagd: import net/http/pprof
2020-09-14 22:10:07 +02:00
Michael Stapelberg
efbe826a4e
diagd: -interface flag for easier testing
2020-09-14 22:10:07 +02:00
Michael Stapelberg
e67fb4dd71
diagd: make output look good in a terminal, too
...
curl diagd.router7/
2020-03-11 22:12:00 +01:00
Michael Stapelberg
b347ed74c5
update import paths
2018-07-09 08:54:04 +02:00
Michael Stapelberg
ff7aa8f2cb
add copyright notices
2018-06-28 20:08:23 +02:00
Michael Stapelberg
ab75e4a1b5
check for updateListeners errors
2018-06-28 20:08:23 +02:00
Michael Stapelberg
c24eefbb51
diagd: expose machine-readable healthiness
2018-06-26 21:52:29 +02:00
Michael Stapelberg
86c9436e98
diagd: only listen on private addresses
2018-06-26 09:47:55 +02:00
Michael Stapelberg
518b9f843c
add the diagnostics daemon
2018-06-03 20:05:13 +02:00