From 8f894616cddfda5eb508e9b9367b7d6109048911 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Wed, 4 Oct 2023 18:17:40 +0200 Subject: [PATCH] chore: update the user agent we use While there, make sure there are no changes in STUN servers. Part of https://github.com/ooni/probe/issues/2524 --- internal/model/http.go | 4 ++-- internal/stuninput/stuninput.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/model/http.go b/internal/model/http.go index 3d34277efc..774b904031 100644 --- a/internal/model/http.go +++ b/internal/model/http.go @@ -13,9 +13,9 @@ const ( HTTPHeaderAcceptLanguage = "en-US,en;q=0.9" // HTTPHeaderUserAgent is the User-Agent header used for measuring. The current header - // is 22.0% of the browser population as of Jun 06, 2023 according to the + // is 20.2% of the browser population as of 2023-10-04 according to the // https://techblog.willshouse.com/2012/01/03/most-common-user-agents/ webpage. - HTTPHeaderUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36" + HTTPHeaderUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" ) // Additional strings used to report HTTP errors. They're currently only used by diff --git a/internal/stuninput/stuninput.go b/internal/stuninput/stuninput.go index a3ceaf14a0..726ef0c7fc 100644 --- a/internal/stuninput/stuninput.go +++ b/internal/stuninput/stuninput.go @@ -10,7 +10,7 @@ import ( // TODO(bassosimone): we need to keep this list in sync with // the list internally used by TPO's snowflake. // -// We should sync with https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/blob/main/projects/common/bridges_list.snowflake.txt +// We should sync with https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/blob/main/projects/tor-expert-bundle/pt_config.json var inputs = map[string]bool{ "stun.l.google.com:19302": true, "stun.antisip.com:3478": true,