From 5f61b33abe89ddb4f9a66fcacbc5aed3defa0a3f Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Thu, 25 Jan 2024 11:48:04 +0100 Subject: [PATCH] feat(fastpath): recognize tls blocking type See https://github.com/ooni/probe/issues/2457 --- fastpath/debian/changelog | 6 ++++++ fastpath/fastpath/core.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fastpath/debian/changelog b/fastpath/debian/changelog index 22717401..dabded08 100644 --- a/fastpath/debian/changelog +++ b/fastpath/debian/changelog @@ -1,3 +1,9 @@ +fastpath (0.85) unstable; urgency=medium + + * Recognize Web Connectivity v0.5 "tls" blocking type + + -- Simone Basso Tue, 25 Jan 2024 11:47:55 +0100 + fastpath (0.84) unstable; urgency=medium * Support ooni_run_link_id diff --git a/fastpath/fastpath/core.py b/fastpath/fastpath/core.py index d15367cc..3155fc15 100644 --- a/fastpath/fastpath/core.py +++ b/fastpath/fastpath/core.py @@ -999,7 +999,7 @@ def score_web_connectivity(msm: dict, matches: list) -> dict: # TODO: refactor to apply to all test types # anomaly - blocking_types = ("tcp_ip", "dns", "http-diff", "http-failure") + blocking_types = ("tcp_ip", "dns", "http-diff", "http-failure", "tls") probe_blocking = tk.get("blocking") if probe_blocking in blocking_types: scores["blocking_general"] = 1.0