diff --git a/.github/workflows/test_fastpath.yml b/.github/workflows/test_fastpath.yml index 7e039e3d..8f32b67e 100644 --- a/.github/workflows/test_fastpath.yml +++ b/.github/workflows/test_fastpath.yml @@ -1,8 +1,8 @@ name: test fastpath on: push: - branches: - - master + paths: + - 'fastpath/**' jobs: test: diff --git a/.github/workflows/test_legacy_ooniapi.yml b/.github/workflows/test_legacy_ooniapi.yml index 5b1c8db7..e5d0cd85 100644 --- a/.github/workflows/test_legacy_ooniapi.yml +++ b/.github/workflows/test_legacy_ooniapi.yml @@ -1,8 +1,10 @@ name: test legacy/ooniapi on: push: - branches: - - master + paths: + - "api/**" + - "analysis/**" + workflow_dispatch: inputs: debug_enabled: diff --git a/fastpath/fastpath/tests/data/signal_2627.json b/fastpath/fastpath/tests/data/signal_2627.json new file mode 100644 index 00000000..ccd6bb9b --- /dev/null +++ b/fastpath/fastpath/tests/data/signal_2627.json @@ -0,0 +1 @@ +{"annotations":{"architecture":"amd64","engine_name":"ooniprobe-engine","engine_version":"3.14.1","platform":"windows"},"data_format_version":"0.2.0","extensions":{"dnst":0,"httpt":0,"netevents":0,"tcpconnect":0,"tlshandshake":0,"tunnel":0},"input":null,"measurement_start_time":"2022-10-27 00:03:16","probe_asn":"AS44395","probe_cc":"AM","probe_ip":"127.0.0.1","probe_network_name":"Ucom CJSC","report_id":"20221027T000314Z_signal_AM_44395_n1_2Tjx8RckKKKGB5Fv","resolver_asn":"AS44395","resolver_ip":"46.162.201.3","resolver_network_name":"Ucom CJSC","software_name":"ooniprobe-desktop-unattended","software_version":"3.14.1","test_keys":{"agent":"redirect","failed_operation":null,"failure":null,"network_events":[{"failure":null,"operation":"http_transaction_start","t":0.0016774},{"failure":null,"operation":"http_request_metadata","t":0.0016774},{"failure":null,"operation":"resolve_start","t":0.003182},{"failure":null,"operation":"resolve_done","t":0.033222},{"address":"172.217.17.147:443","failure":null,"operation":"connect","proto":"tcp","t":0.0630985},{"failure":null,"operation":"tls_handshake_start","t":0.0630985},{"failure":null,"num_bytes":288,"operation":"write","t":0.0640984},{"failure":null,"num_bytes":517,"operation":"read","t":0.1296291},{"failure":null,"num_bytes":2641,"operation":"read","t":0.1296291},{"failure":null,"num_bytes":30,"operation":"write","t":0.1306301},{"failure":"ssl_unknown_authority","operation":"tls_handshake_done","t":0.1306301},{"failure":"ssl_unknown_authority","operation":"http_transaction_done","t":0.1306301},{"failure":null,"operation":"http_transaction_start","t":0.1306301},{"failure":null,"operation":"http_request_metadata","t":0.1306301},{"failure":null,"operation":"resolve_start","t":0.1306301},{"failure":null,"operation":"resolve_done","t":0.3019954},{"address":"52.85.5.94:443","failure":null,"operation":"connect","proto":"tcp","t":0.4049935},{"failure":null,"operation":"tls_handshake_start","t":0.4049935},{"failure":null,"num_bytes":284,"operation":"write","t":0.4049935},{"failure":null,"num_bytes":517,"operation":"read","t":0.4431668},{"failure":null,"num_bytes":2708,"operation":"read","t":0.4431668},{"failure":null,"num_bytes":30,"operation":"write","t":0.4431668},{"failure":"ssl_unknown_authority","operation":"tls_handshake_done","t":0.4431668},{"failure":"ssl_unknown_authority","operation":"http_transaction_done","t":0.4431668},{"failure":null,"operation":"http_transaction_start","t":0.0010009},{"failure":null,"operation":"http_request_metadata","t":0.0010009},{"failure":null,"operation":"resolve_start","t":0.0010009},{"failure":null,"operation":"resolve_done","t":0.0437802},{"address":"20.73.137.187:443","failure":null,"operation":"connect","proto":"tcp","t":0.1128217},{"failure":null,"operation":"tls_handshake_start","t":0.1128217},{"failure":null,"num_bytes":294,"operation":"write","t":0.1128217},{"failure":null,"num_bytes":517,"operation":"read","t":0.1801866},{"failure":null,"num_bytes":1034,"operation":"read","t":0.1801866},{"failure":null,"num_bytes":126,"operation":"write","t":0.1821886},{"failure":null,"num_bytes":51,"operation":"read","t":0.4049935},{"failure":null,"operation":"tls_handshake_done","t":0.4049935},{"failure":null,"num_bytes":314,"operation":"write","t":0.4049935},{"failure":null,"num_bytes":400,"operation":"read","t":0.4842204},{"failure":null,"operation":"http_response_metadata","t":0.4842204},{"failure":null,"operation":"http_response_body_snapshot","t":0.4852213},{"failure":null,"operation":"http_transaction_done","t":0.4852213},{"failure":null,"num_bytes":31,"operation":"write","t":0.4852213},{"failure":"connection_already_closed","operation":"read","t":0.4852213},{"failure":null,"operation":"http_transaction_start","t":0.0374554},{"failure":null,"operation":"http_request_metadata","t":0.0374554},{"failure":null,"operation":"resolve_start","t":0.0374554},{"failure":null,"operation":"resolve_done","t":0.0857541},{"address":"76.223.92.165:443","failure":null,"operation":"connect","proto":"tcp","t":0.1426482},{"failure":null,"operation":"tls_handshake_start","t":0.1426482},{"failure":null,"num_bytes":307,"operation":"write","t":0.1426482},{"failure":null,"num_bytes":517,"operation":"read","t":0.4019905},{"failure":null,"num_bytes":3156,"operation":"read","t":0.4019905},{"failure":null,"num_bytes":7,"operation":"write","t":0.4069951},{"failure":"ssl_unknown_authority","operation":"tls_handshake_done","t":0.4069951},{"failure":"ssl_unknown_authority","operation":"http_transaction_done","t":0.4069951},{"failure":null,"operation":"http_transaction_start","t":0.5122459},{"failure":null,"operation":"http_request_metadata","t":0.5122459},{"failure":null,"operation":"resolve_start","t":0.5122459},{"failure":null,"operation":"resolve_done","t":0.6043011},{"address":"34.160.82.7:443","failure":null,"operation":"connect","proto":"tcp","t":0.6354614},{"failure":null,"operation":"tls_handshake_start","t":0.6354614},{"failure":null,"num_bytes":289,"operation":"write","t":0.6354614},{"failure":null,"num_bytes":517,"operation":"read","t":0.6725175},{"failure":null,"num_bytes":2642,"operation":"read","t":0.6725175},{"failure":null,"num_bytes":30,"operation":"write","t":0.6725175},{"failure":"ssl_unknown_authority","operation":"tls_handshake_done","t":0.6725175},{"failure":"ssl_unknown_authority","operation":"http_transaction_done","t":0.6725175},{"failure":null,"operation":"http_transaction_start","t":0.4431668},{"failure":null,"operation":"http_request_metadata","t":0.4431668},{"failure":null,"operation":"resolve_start","t":0.4431668},{"failure":null,"operation":"resolve_done","t":0.6303633},{"address":"104.18.3.43:443","failure":null,"operation":"connect","proto":"tcp","t":0.7290909},{"failure":null,"operation":"tls_handshake_start","t":0.7290909},{"failure":null,"num_bytes":285,"operation":"write","t":0.7290909},{"failure":null,"num_bytes":517,"operation":"read","t":0.8257499},{"failure":null,"num_bytes":3154,"operation":"read","t":0.8257499},{"failure":null,"num_bytes":30,"operation":"write","t":0.8257499},{"failure":"ssl_unknown_authority","operation":"tls_handshake_done","t":0.8257499},{"failure":"ssl_unknown_authority","operation":"http_transaction_done","t":0.8257499},{"failure":null,"operation":"resolve_start","t":0.5668445},{"failure":null,"operation":"resolve_done","t":0.6625085}],"queries":[{"answers":[{"asn":15169,"as_org_name":"Google LLC","answer_type":"A","ipv4":"172.217.17.147","ttl":null}],"engine":"system","failure":null,"hostname":"storage.signal.org","query_type":"A","resolver_hostname":null,"resolver_port":null,"resolver_address":"","t":0.033222},{"answers":[{"asn":16509,"as_org_name":"Amazon.com, Inc.","answer_type":"A","ipv4":"52.85.5.94","ttl":null},{"asn":16509,"as_org_name":"Amazon.com, Inc.","answer_type":"A","ipv4":"52.85.5.3","ttl":null},{"asn":16509,"as_org_name":"Amazon.com, Inc.","answer_type":"A","ipv4":"52.85.5.57","ttl":null},{"asn":16509,"as_org_name":"Amazon.com, Inc.","answer_type":"A","ipv4":"52.85.5.71","ttl":null}],"engine":"system","failure":null,"hostname":"cdn.signal.org","query_type":"A","resolver_hostname":null,"resolver_port":null,"resolver_address":"","t":0.3019954},{"answers":[{"asn":8075,"as_org_name":"Microsoft Corporation","answer_type":"A","ipv4":"20.73.137.187","ttl":null}],"engine":"system","failure":null,"hostname":"api.directory.signal.org","query_type":"A","resolver_hostname":null,"resolver_port":null,"resolver_address":"","t":0.0437802},{"answers":[{"asn":16509,"as_org_name":"Amazon.com, Inc.","answer_type":"A","ipv4":"76.223.92.165","ttl":null},{"asn":16509,"as_org_name":"Amazon.com, Inc.","answer_type":"A","ipv4":"13.248.212.111","ttl":null}],"engine":"system","failure":null,"hostname":"textsecure-service.whispersystems.org","query_type":"A","resolver_hostname":null,"resolver_port":null,"resolver_address":"","t":0.0857541},{"answers":[{"asn":15169,"as_org_name":"Google LLC","answer_type":"A","ipv4":"34.160.82.7","ttl":null}],"engine":"system","failure":null,"hostname":"sfu.voip.signal.org","query_type":"A","resolver_hostname":null,"resolver_port":null,"resolver_address":"","t":0.6043011},{"answers":[{"asn":13335,"as_org_name":"Cloudflare, Inc.","answer_type":"A","ipv4":"104.18.3.43","ttl":null},{"asn":13335,"as_org_name":"Cloudflare, Inc.","answer_type":"A","ipv4":"104.18.2.43","ttl":null}],"engine":"system","failure":null,"hostname":"cdn2.signal.org","query_type":"A","resolver_hostname":null,"resolver_port":null,"resolver_address":"","t":0.6303633},{"answers":[{"answer_type":"A","ipv4":"127.0.0.1","ttl":null}],"engine":"system","failure":null,"hostname":"uptime.signal.org","query_type":"A","resolver_hostname":null,"resolver_port":null,"resolver_address":"","t":0.6625085}],"requests":[{"failure":"ssl_unknown_authority","request":{"body":"","body_is_truncated":false,"headers_list":[["Accept","text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8"],["Accept-Language","en-US,en;q=0.9"],["Host","storage.signal.org"],["User-Agent","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"]],"headers":{"Accept":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8","Accept-Language":"en-US,en;q=0.9","Host":"storage.signal.org","User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"},"method":"GET","tor":{"exit_ip":null,"exit_name":null,"is_tor":false},"x_transport":"tcp","url":"https:\/\/storage.signal.org\/"},"response":{"body":"","body_is_truncated":false,"code":0,"headers_list":null,"headers":null},"t":0.0016774},{"failure":"ssl_unknown_authority","request":{"body":"","body_is_truncated":false,"headers_list":[["Accept","text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8"],["Accept-Language","en-US,en;q=0.9"],["Host","cdn.signal.org"],["User-Agent","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"]],"headers":{"Accept":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8","Accept-Language":"en-US,en;q=0.9","Host":"cdn.signal.org","User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"},"method":"GET","tor":{"exit_ip":null,"exit_name":null,"is_tor":false},"x_transport":"tcp","url":"https:\/\/cdn.signal.org\/"},"response":{"body":"","body_is_truncated":false,"code":0,"headers_list":null,"headers":null},"t":0.1306301},{"failure":null,"request":{"body":"","body_is_truncated":false,"headers_list":[["Accept","text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8"],["Accept-Language","en-US,en;q=0.9"],["Host","api.directory.signal.org"],["User-Agent","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"]],"headers":{"Accept":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8","Accept-Language":"en-US,en;q=0.9","Host":"api.directory.signal.org","User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"},"method":"GET","tor":{"exit_ip":null,"exit_name":null,"is_tor":false},"x_transport":"tcp","url":"https:\/\/api.directory.signal.org\/"},"response":{"body":"{\"code\":404,\"message\":\"HTTP 404 Not Found\"}","body_is_truncated":false,"code":404,"headers_list":[["Connection","keep-alive"],["Content-Length","43"],["Content-Type","application\/json"],["Date","Thu, 27 Oct 2022 00:03:15 GMT"],["Set-Cookie","ApplicationGatewayAffinityCORS=cc23b79844b1502b678ab367b3bf7329; Path=\/; SameSite=None; Secure"],["Set-Cookie","ApplicationGatewayAffinity=cc23b79844b1502b678ab367b3bf7329; Path=\/"]],"headers":{"Connection":"keep-alive","Content-Length":"43","Content-Type":"application\/json","Date":"Thu, 27 Oct 2022 00:03:15 GMT","Set-Cookie":"ApplicationGatewayAffinityCORS=cc23b79844b1502b678ab367b3bf7329; Path=\/; SameSite=None; Secure"}},"t":0.0010009},{"failure":"ssl_unknown_authority","request":{"body":"","body_is_truncated":false,"headers_list":[["Accept","text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8"],["Accept-Language","en-US,en;q=0.9"],["Host","textsecure-service.whispersystems.org"],["User-Agent","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"]],"headers":{"Accept":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8","Accept-Language":"en-US,en;q=0.9","Host":"textsecure-service.whispersystems.org","User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"},"method":"GET","tor":{"exit_ip":null,"exit_name":null,"is_tor":false},"x_transport":"tcp","url":"https:\/\/textsecure-service.whispersystems.org\/"},"response":{"body":"","body_is_truncated":false,"code":0,"headers_list":null,"headers":null},"t":0.0374554},{"failure":"ssl_unknown_authority","request":{"body":"","body_is_truncated":false,"headers_list":[["Accept","text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8"],["Accept-Language","en-US,en;q=0.9"],["Host","sfu.voip.signal.org"],["User-Agent","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"]],"headers":{"Accept":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8","Accept-Language":"en-US,en;q=0.9","Host":"sfu.voip.signal.org","User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"},"method":"GET","tor":{"exit_ip":null,"exit_name":null,"is_tor":false},"x_transport":"tcp","url":"https:\/\/sfu.voip.signal.org\/"},"response":{"body":"","body_is_truncated":false,"code":0,"headers_list":null,"headers":null},"t":0.5122459},{"failure":"ssl_unknown_authority","request":{"body":"","body_is_truncated":false,"headers_list":[["Accept","text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8"],["Accept-Language","en-US,en;q=0.9"],["Host","cdn2.signal.org"],["User-Agent","Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"]],"headers":{"Accept":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,*\/*;q=0.8","Accept-Language":"en-US,en;q=0.9","Host":"cdn2.signal.org","User-Agent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/96.0.4664.110 Safari\/537.36"},"method":"GET","tor":{"exit_ip":null,"exit_name":null,"is_tor":false},"x_transport":"tcp","url":"https:\/\/cdn2.signal.org\/"},"response":{"body":"","body_is_truncated":false,"code":0,"headers_list":null,"headers":null},"t":0.4431668}],"tcp_connect":[{"ip":"172.217.17.147","port":443,"status":{"failure":null,"success":true},"t":0.0630985},{"ip":"52.85.5.94","port":443,"status":{"failure":null,"success":true},"t":0.4049935},{"ip":"20.73.137.187","port":443,"status":{"failure":null,"success":true},"t":0.1128217},{"ip":"76.223.92.165","port":443,"status":{"failure":null,"success":true},"t":0.1426482},{"ip":"34.160.82.7","port":443,"status":{"failure":null,"success":true},"t":0.6354614},{"ip":"104.18.3.43","port":443,"status":{"failure":null,"success":true},"t":0.7290909}],"tls_handshakes":[{"cipher_suite":"","failure":"ssl_unknown_authority","negotiated_protocol":"","no_tls_verify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nbDq+SD6lJi0i7jgwEfNDhe9XK50baK15Udc8Cr\/ZlhGMjNmWqBd0jIpaZm1rzWA0k4VwXtDwpBXSz8oBFshiXs3FD6jHY2IhOR3ppbyd4qRUpwIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH\/BAUwAwEB\/zAdBgNVHQ4EFgQUtfNLxuXWS9DlgGuMUMNnW7yx83EwHwYDVR0jBBgwFoAUtfNLxuXWS9DlgGuMUMNnW7yx83EwDQYJKoZIhvcNAQELBQADggIBABUeiryS0qjykBN75aoHO9bVPrrX+DSJIB9V2YzkFVyh\/io65QJMG8naWVGOSpVRwUwhZVKh3JVp\/miPgzTGAo7zhrDIoXc+ih7orAMb19qol\/2Ha8OZLa75LojJNRbZoCR5C+gM8C+spMLjFf9k3JVxdajhtRUcR0zYhwsBS7qZ5Me0d6gRXD0ZiSbadMMxSw6KfKk3ePmPb9gX+MRTS63c8mLzVYB\/3fe\/bkpq4RUwzUHvoZf+SUD7NzSQRQQMfvAHlxk11TVNxScYPtxXDyiy3Cssl9gWrrWqQ\/omuHipoH62J7h8KAYbr6oEIq+Czuenc3eCIBGBBfvCpuFOgckAXXE4MlBasEU0MO66GrTCgMt9bAmSw3TrRP12+ZUFxYNtqWluRU8JWQ4FCCPcz9pgMRBOgn4lTxDZG+I47OKNuSRjFEP94cdgxd3H\/5BK7WHUz1tAGQ4BgepSXgmjzifFT5FVTDTl3ZnWUVBXiHYtbOBgLiSIkbqGMCLtrBtFIeQ7RRTb3L+IE9R0UB0cJB3AXbf1lVkOcmrdu2h8A32aCwtr5S1fBF1unlG7imPmqJfpOMWa8yIF\/KWVm29JAPq8Lrsybb0z5gg8w7ZblEuB9zOW9M3l60DXuJO6l7g+deV6P96rv2unHS8UlvWiVWDy9qfgAJizyy3kqM4lOwBH","format":"base64"}],"server_name":"storage.signal.org","t":0.1306301,"tags":null,"tls_version":""},{"cipher_suite":"","failure":"ssl_unknown_authority","negotiated_protocol":"","no_tls_verify":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bDq+SD6lJi0i7jgwEfNDhe9XK50baK15Udc8Cr\/ZlhGMjNmWqBd0jIpaZm1rzWA0k4VwXtDwpBXSz8oBFshiXs3FD6jHY2IhOR3ppbyd4qRUpwIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH\/BAUwAwEB\/zAdBgNVHQ4EFgQUtfNLxuXWS9DlgGuMUMNnW7yx83EwHwYDVR0jBBgwFoAUtfNLxuXWS9DlgGuMUMNnW7yx83EwDQYJKoZIhvcNAQELBQADggIBABUeiryS0qjykBN75aoHO9bVPrrX+DSJIB9V2YzkFVyh\/io65QJMG8naWVGOSpVRwUwhZVKh3JVp\/miPgzTGAo7zhrDIoXc+ih7orAMb19qol\/2Ha8OZLa75LojJNRbZoCR5C+gM8C+spMLjFf9k3JVxdajhtRUcR0zYhwsBS7qZ5Me0d6gRXD0ZiSbadMMxSw6KfKk3ePmPb9gX+MRTS63c8mLzVYB\/3fe\/bkpq4RUwzUHvoZf+SUD7NzSQRQQMfvAHlxk11TVNxScYPtxXDyiy3Cssl9gWrrWqQ\/omuHipoH62J7h8KAYbr6oEIq+Czuenc3eCIBGBBfvCpuFOgckAXXE4MlBasEU0MO66GrTCgMt9bAmSw3TrRP12+ZUFxYNtqWluRU8JWQ4FCCPcz9pgMRBOgn4lTxDZG+I47OKNuSRjFEP94cdgxd3H\/5BK7WHUz1tAGQ4BgepSXgmjzifFT5FVTDTl3ZnWUVBXiHYtbOBgLiSIkbqGMCLtrBtFIeQ7RRTb3L+IE9R0UB0cJB3AXbf1lVkOcmrdu2h8A32aCwtr5S1fBF1unlG7imPmqJfpOMWa8yIF\/KWVm29JAPq8Lrsybb0z5gg8w7ZblEuB9zOW9M3l60DXuJO6l7g+deV6P96rv2unHS8UlvWiVWDy9qfgAJizyy3kqM4lOwBH","format":"base64"}],"server_name":"cdn.signal.org","t":0.4431668,"tags":null,"tls_version":""},{"cipher_suite":"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384","failure":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AjBgNVHREEHDAaghhhcGkuZGlyZWN0b3J5LnNpZ25hbC5vcmcwDQYJKoZIhvcNAQELBQADggEBAFganu\/WuRTlcn2NYQPBGjVLtFUmvxZ8Y0U9u3Vg+fj8hXkpC3IN0MlWslmKEIFJTYUJKpUqvmCPuhjvsaUKCsF1ECaydzl6Tt6nQZmc74epLxDCprbClM8iLDZS+0ojUZdF\/fGjT16NnoUy1aT2BhpFsIQOZCqM40jf1sHWRSsvnojPu8\/NzHWBuRjtHKMJ\/I9knakOywrd3htDQdySadU+7uwKRnX\/adRpvr3sYi\/4cR5sHuf6bAmL6eCBiZ4yTkYTQ0sPjAEYCrC2HsQPfYMdAPPMWuMlxgRDJkYT9y18jb9FXF6xVf7HhPWQZUmeym0sPsdNE2uKBEuo2YZXxrE=","format":"base64"}],"server_name":"api.directory.signal.org","t":0.4049935,"tags":null,"tls_version":"TLSv1.2"},{"cipher_suite":"","failure":"ssl_unknown_authority","negotiated_protocol":"","no_tls_verify":false,"peer_certificates":[{"data":"MIIF2zCCA8OgAwIBAgIUAMHz4g60cIDBpPr1gyZ\/JDaaPpcwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxHjAcBgNVBAoTFVNpZ25hbCBNZXNzZW5nZXIsIExMQzEZMBcGA1UEAxMQU2lnbmFsIE1lc3NlbmdlcjAeFw0yMjAxMjYwMDQ1NTFaFw0zMjAxMjQwMDQ1NTBaMHUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MR4wHAYDVQQKExVTaWduYWwgTWVzc2VuZ2VyLCBMTEMxGTAXBgNVBAMTEFNpZ25hbCBNZXNzZW5nZXIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDEecifxMHHlDhxbERVdErOhGsLO08PUdNkATjZ1kT51uPf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QMfvAHlxk11TVNxScYPtxXDyiy3Cssl9gWrrWqQ\/omuHipoH62J7h8KAYbr6oEIq+Czuenc3eCIBGBBfvCpuFOgckAXXE4MlBasEU0MO66GrTCgMt9bAmSw3TrRP12+ZUFxYNtqWluRU8JWQ4FCCPcz9pgMRBOgn4lTxDZG+I47OKNuSRjFEP94cdgxd3H\/5BK7WHUz1tAGQ4BgepSXgmjzifFT5FVTDTl3ZnWUVBXiHYtbOBgLiSIkbqGMCLtrBtFIeQ7RRTb3L+IE9R0UB0cJB3AXbf1lVkOcmrdu2h8A32aCwtr5S1fBF1unlG7imPmqJfpOMWa8yIF\/KWVm29JAPq8Lrsybb0z5gg8w7ZblEuB9zOW9M3l60DXuJO6l7g+deV6P96rv2unHS8UlvWiVWDy9qfgAJizyy3kqM4lOwBH","format":"base64"}],"server_name":"textsecure-service.whispersystems.org","t":0.4069951,"tags":null,"tls_version":""},{"cipher_suite":"","failure":"ssl_unknown_authority","negotiated_protocol":"","no_tls_verify":false,"peer_certificates":[{"data":"MIIF2zCCA8OgAwIBAgIUAMHz4g60cIDBpPr1gyZ\/JDaaPpcwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxHjAcBgNVBAoTFVNpZ25hbCBNZXNzZW5nZXIsIExMQzEZMBcGA1UEAxMQU2lnbmFsIE1lc3NlbmdlcjAeFw0yMjAxMjYwMDQ1NTFaFw0zMjAxMjQwMDQ1NTBaMHUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MR4wHAYDVQQKExVTaWduYWwgTWVzc2VuZ2VyLCBMTEMxGTAXBgNVBAMTEFNpZ25hbCBNZXNzZW5nZXIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDEecifxMHHlDhxbERVdErOhGsLO08PUdNkATjZ1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NzSQRQQMfvAHlxk11TVNxScYPtxXDyiy3Cssl9gWrrWqQ\/omuHipoH62J7h8KAYbr6oEIq+Czuenc3eCIBGBBfvCpuFOgckAXXE4MlBasEU0MO66GrTCgMt9bAmSw3TrRP12+ZUFxYNtqWluRU8JWQ4FCCPcz9pgMRBOgn4lTxDZG+I47OKNuSRjFEP94cdgxd3H\/5BK7WHUz1tAGQ4BgepSXgmjzifFT5FVTDTl3ZnWUVBXiHYtbOBgLiSIkbqGMCLtrBtFIeQ7RRTb3L+IE9R0UB0cJB3AXbf1lVkOcmrdu2h8A32aCwtr5S1fBF1unlG7imPmqJfpOMWa8yIF\/KWVm29JAPq8Lrsybb0z5gg8w7ZblEuB9zOW9M3l60DXuJO6l7g+deV6P96rv2unHS8UlvWiVWDy9qfgAJizyy3kqM4lOwBH","format":"base64"}],"server_name":"sfu.voip.signal.org","t":0.6725175,"tags":null,"tls_version":""},{"cipher_suite":"","failure":"ssl_unknown_authority","negotiated_protocol":"","no_tls_verify":false,"peer_certificates":[{"data":"MIIF2zCCA8OgAwIBAgIUAMHz4g60cIDBpPr1gyZ\/JDaaPpcwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxHjAcBgNVBAoTFVNpZ25hbCBNZXNzZW5nZXIsIExMQzEZMBcGA1UEAxMQU2lnbmFsIE1lc3NlbmdlcjAeFw0yMjAxMjYwMDQ1NTFaFw0zMjAxMjQwMDQ1NTBaMHUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MR4wHAYDVQQKExVTaWduYWwgTWVzc2VuZ2VyLCBMTEMxGTAXBgNVBAMTEFNpZ25hbCBNZXNzZW5nZXIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDEecifxMHHlDhxbERVdErOhGsLO08PUdNkATj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UD7NzSQRQQMfvAHlxk11TVNxScYPtxXDyiy3Cssl9gWrrWqQ\/omuHipoH62J7h8KAYbr6oEIq+Czuenc3eCIBGBBfvCpuFOgckAXXE4MlBasEU0MO66GrTCgMt9bAmSw3TrRP12+ZUFxYNtqWluRU8JWQ4FCCPcz9pgMRBOgn4lTxDZG+I47OKNuSRjFEP94cdgxd3H\/5BK7WHUz1tAGQ4BgepSXgmjzifFT5FVTDTl3ZnWUVBXiHYtbOBgLiSIkbqGMCLtrBtFIeQ7RRTb3L+IE9R0UB0cJB3AXbf1lVkOcmrdu2h8A32aCwtr5S1fBF1unlG7imPmqJfpOMWa8yIF\/KWVm29JAPq8Lrsybb0z5gg8w7ZblEuB9zOW9M3l60DXuJO6l7g+deV6P96rv2unHS8UlvWiVWDy9qfgAJizyy3kqM4lOwBH","format":"base64"}],"server_name":"cdn2.signal.org","t":0.8257499,"tags":null,"tls_version":""}],"signal_backend_status":"blocked","signal_backend_failure":"ssl_unknown_authority"},"test_name":"signal","test_runtime":1.6394984,"test_start_time":"2022-10-27 00:03:14","test_version":"0.2.0"} diff --git a/fastpath/fastpath/tests/test_functional.py b/fastpath/fastpath/tests/test_functional.py index f1b17c46..d34b406a 100644 --- a/fastpath/fastpath/tests/test_functional.py +++ b/fastpath/fastpath/tests/test_functional.py @@ -1148,12 +1148,12 @@ def test_score_http_invalid_request_line(): def test_score_signal(): - for can_fn, msm in minicans("signal", date(2021, 4, 27), date(2021, 4, 27), 1): + for can_fn, msm in minicans("signal", date(2022, 10, 27), date(2022, 10, 27), 1): assert msm["test_name"] == "signal" scores = fp.score_measurement(msm) assert scores rid = msm["report_id"] - if rid == "20210427T000430Z_signal_AU_45671_n1_Zq1z77FuiG2IkqqC": + if rid == "20221027T000314Z_signal_AM_44395_n1_2Tjx8RckKKKGB5Fv": # Failed due to https://github.com/ooni/probe/issues/2627 assert scores == { "accuracy": 0.0, diff --git a/fastpath/fastpath/tests/test_unit.py b/fastpath/fastpath/tests/test_unit.py index bf715942..58c78130 100644 --- a/fastpath/fastpath/tests/test_unit.py +++ b/fastpath/fastpath/tests/test_unit.py @@ -574,7 +574,7 @@ def test_score_http_requests(): def test_score_signal_2627(): # https://explorer.ooni.org/measurement/20221118T104419Z_signal_IT_30722_n1_Q02UUAiiHlVU0VE6 # Failed due to https://github.com/ooni/probe/issues/2627 - msm = loadj("signal_022") + msm = loadj("signal_2627") scores = fp.score_measurement(msm) assert scores == { "accuracy": 0.0, @@ -585,6 +585,16 @@ def test_score_signal_2627(): "blocking_local": 0.0, } + msm = loadj("signal_022") + scores = fp.score_measurement(msm) + assert scores == { + "blocking_country": 0.0, + "blocking_general": 0.0, + "blocking_global": 0.0, + "blocking_isp": 0.0, + "blocking_local": 0.0, + } + def test_score_signal_679(): # https://explorer.ooni.org/m/20230530180835.892478_US_signal_b091ac0f3794bbcd diff --git a/fastpath/requirements.txt b/fastpath/requirements.txt index e2589fdf..891b64ce 100644 --- a/fastpath/requirements.txt +++ b/fastpath/requirements.txt @@ -7,3 +7,4 @@ boto3 gunicorn psycopg2-binary # systemd <- This is an optional requirement on linux +clickhouse-driver