This is an implementation which involves on-router custom scripting and integration using command line platform over SSH, based on my console only script poor man’s duma ( GitHub - sfortis/pmd: poor's man duma ).
The purpose is simple. See visually the location of the server and block it permanently if its really far away!
It works exceptionally well, detection is super reliable and thanks to HA, its now easier than ever to control it, even by instructing the google assistant to do this by saying “hey google, block this server”
Thanks! It began as a small bash script on an Asus router and I thought, why not use HA to visualize the server location or speak to my Google Assistant to block this damn high-latency server? And it came to be like this. Unfortunately, it’s a very fragmented project with very specific requirements and I cannot share it as an entity, but if anyone is interested in building this in their installation, I would gladly help!