Feature #14177
opentcprtt Measures the TCP handshake RTT using the stats(9) statistics framework
0%
Description
My coworker thought using 8.8.8.8 for the gateway monitor would suffice for a “is the internet up” monitor. Well, google rate limited us and I spent hours looking for the right approach.
- https://redmine.pfsense.org/issues/7671
- https://redmine.pfsense.org/issues/4354
- https://www.reddit.com/r/PFSENSE/comments/xjlsdo/psa_88888844_9202022/
- https://www.reddit.com/r/networking/comments/6ujvxo/has_l3_dns_4222_become_unreliable_for_anyone_else/
- https://forum.netgate.com/topic/110056/dpinger-multiple-targets-aka-gwmond-2-500
Ultimately, it seems using ICMP for monitoring against public DNS, NTP, etc. servers is the wrong approach for some use-cases. Cisco’s IP SLA has the ability to perform a number of health checks from many protocols, so I set out to find something comparable for FreeBSD. Tcprtt looks like it could be a good solution for internet uptime monitoring that does not rely on ICMP.
Does this seem like a viable solution?
Updated by Jim Pingle over 1 year ago
If we do include this it should also warn against using it arbitrarily, since some public services may also not react too well to repeated TCP sessions being opened and immediately closed. If it's a host you control it may be OK, but some things may flag it as suspicious behavior.