From e0fa87cb364cd6d76bf4f80fd5da2c3ae51c9ca5 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 18 Aug 2019 04:53:32 +0200 Subject: [PATCH] Note for the future about trying to diagnose hairpinning --- data/hooks/diagnosis/16-http.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/hooks/diagnosis/16-http.py b/data/hooks/diagnosis/16-http.py index cc335df8b..7ca258628 100644 --- a/data/hooks/diagnosis/16-http.py +++ b/data/hooks/diagnosis/16-http.py @@ -48,6 +48,10 @@ class HttpDiagnoser(Diagnoser): status="ERROR", summary=("diagnosis_http_unreachable", {"domain": domain})) + # In there or idk where else ... + # try to diagnose hairpinning situation by crafting a request for the + # global ip (from within local network) and seeing if we're getting the right page ? + def main(args, env, loggers): return HttpDiagnoser(args, env, loggers).diagnose()