ooni-probe-cli/internal/engine/geolocate
Simone Basso 57a3919d2a
fix(geolocate): always use netxlite functionality (#976)
This change ensures that, in turn, we're able to "remote" all the traffic generated by the `geolocate` package, rather than missing some bits of it that were still using the standard library and caused _some_ geolocations to geolocate as the local host rather than as the remote host.

Extracted from https://github.com/ooni/probe-cli/pull/969, where we tested this functionality.

Closes https://github.com/ooni/probe/issues/1383 (which was long overdue).

Part of https://github.com/ooni/probe/issues/2340, because it allows us to make progress with that.
2022-10-12 18:07:42 +02:00
..
cloudflare_test.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
cloudflare.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
fake_test.go refactor: merge dnsx and errorsx into netxlite (#517) 2021-09-28 12:42:01 +02:00
geolocate_test.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
geolocate.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
invalid_test.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
iplookup_test.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
iplookup.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
mmdblookup.go refactor: spin geoipx off geolocate (#893) 2022-08-28 20:00:25 +02:00
resolverlookup_test.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
resolverlookup.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
stun_test.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
stun.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
ubuntu_test.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00
ubuntu.go fix(geolocate): always use netxlite functionality (#976) 2022-10-12 18:07:42 +02:00