ooni-probe-cli/internal/cmd/oohelperd
Simone Basso 867a243fef
refactor(oohelperd): make performing additional measurements easier (#889)
This diff refactors oohelperd to make performing additional measurements easier. We need:

1. to run the DNS task _before_ other tasks such that we can measure both IP addresses returned by the TH and the ones returned by the probe. When we'll introduce TLS measurements, this will allow us to validate probe-provided IP addresses inside the TH call. If probe-provided addresses work with TLS, they are legitimate for the domain.

2. to tie the number of TCP measurements to a list of endpoints collected by the probe _or_ the TH rather than just to the one provided by the probe. Anticipating this change, let us refactor how we read the results of the TCP task to make it independent of the number of addresses provided by the probe.

This work is part of https://github.com/ooni/probe/issues/2237
2022-08-28 12:17:31 +02:00
..
dns_test.go refactor(oohelperd): flatten package hierarchy (#834) 2022-07-05 19:10:39 +02:00
dns.go fix(oohelperd): enforce timeout for each measurement step (#888) 2022-08-28 12:02:17 +02:00
handler_test.go refactor(oohelperd): improve tests implementation (#835) 2022-07-05 20:25:18 +02:00
handler.go refactor(oohelperd): flatten package hierarchy (#834) 2022-07-05 19:10:39 +02:00
http_test.go refactor(oohelperd): improve tests implementation (#835) 2022-07-05 20:25:18 +02:00
http.go fix(oohelperd): enforce timeout for each measurement step (#888) 2022-08-28 12:02:17 +02:00
main_test.go refactor(oohelperd): improve tests implementation (#835) 2022-07-05 20:25:18 +02:00
main.go fix(oohelperd): by default listen on localhost (#887) 2022-08-28 11:54:15 +02:00
measure.go refactor(oohelperd): make performing additional measurements easier (#889) 2022-08-28 12:17:31 +02:00
README.md refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
tcpconnect_test.go refactor(oohelperd): flatten package hierarchy (#834) 2022-07-05 19:10:39 +02:00
tcpconnect.go fix(oohelperd): enforce timeout for each measurement step (#888) 2022-08-28 12:02:17 +02:00

oohelperd

This directory contains the source code of the Web Connectivity test helper written in Go.