ooni-probe-cli/internal/engine/experiment/webconnectivity
Simone Basso 2ef5fb503a
fix(webconnectivity): allow measuring https://1.1.1.1 (#241)
* fix(webconnectivity): allow measuring https://1.1.1.1

There were two issues preventing us from doing so:

1. in netx, the address resolver was too later in the resolver
chain. Therefore, its result wasn't added to the events.

2. when building the DNSCache (in httpget.go), we didn't consider
the case where the input is an address. We need to treat this
case specially to make sure there is no DNSCache.

See https://github.com/ooni/probe/issues/1376.

* fix: add unit tests for code making the dnscache

* fix(netx): make sure all tests pass

* chore: bump webconnectivity version
2021-03-08 12:05:43 +01:00
..
internal chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
connects_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
connects.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
control_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
control.go fix(webconnectivity): allow measuring https://1.1.1.1 (#241) 2021-03-08 12:05:43 +01:00
dnsanalysis_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
dnsanalysis.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
dnslookup_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
dnslookup.go fix(webconnectivity): allow measuring https://1.1.1.1 (#241) 2021-03-08 12:05:43 +01:00
endpoints_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
endpoints.go refactor: start building an Android package (#205) 2021-02-03 10:51:14 +01:00
httpanalysis_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
httpanalysis.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
httpget_test.go fix(webconnectivity): allow measuring https://1.1.1.1 (#241) 2021-03-08 12:05:43 +01:00
httpget.go fix(webconnectivity): allow measuring https://1.1.1.1 (#241) 2021-03-08 12:05:43 +01:00
summary_test.go chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
summary.go Release 3.6.0 (#239) 2021-03-03 14:42:17 +01:00
webconnectivity_test.go fix(webconnectivity): allow measuring https://1.1.1.1 (#241) 2021-03-08 12:05:43 +01:00
webconnectivity.go fix(webconnectivity): allow measuring https://1.1.1.1 (#241) 2021-03-08 12:05:43 +01:00