ooni-probe-cli/internal/measurex
Simone Basso 8f7e3803eb
feat(netxlite): implement DNSTransport wrapping (#776)
Acknowledge that transports MAY be used in isolation (i.e., outside
of a Resolver) and add support for wrapping.

Ensure that every factory that creates an unwrapped type is named
accordingly to hopefully ensure there are no surprises.

Implement DNSTransport wrapping and use a technique similar to the
one used by Dialer to customize the DNSTransport while constructing
more complex data types (e.g., a specific resolver).

Ensure that the stdlib resolver's own "getaddrinfo" transport (1)
is wrapped and (2) could be extended during construction.

This work is part of my ongoing effort to bring to this repository
websteps-illustrated changes relative to netxlite.

Ref issue: https://github.com/ooni/probe/issues/2096
2022-06-01 11:10:08 +02:00
..
archival.go fix(measurex): handle case where TH is nil (#610) 2021-11-22 20:16:38 +01:00
db.go fix(measurex): use same keys of the OONI data format (#572) 2021-11-05 10:46:45 +01:00
dialer.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsx.go refactor: DNSTransport I/Os DNS messages (#760) 2022-05-25 17:03:58 +02:00
doc.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
easy.go refactor(tor): rewrite using measurex (#652) 2022-01-05 18:41:11 +01:00
endpoint.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
failure.go fix(measurex): use same keys of the OONI data format (#572) 2021-11-05 10:46:45 +01:00
http.go cleanup: merge httpheader and httpfailure into model (#758) 2022-05-25 09:54:50 +02:00
logger.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
measurement.go fix(measurex): handle case where TH is nil (#610) 2021-11-22 20:16:38 +01:00
measurer.go cli: upgrade to lucas-clemente/quic-go@v0.27.0 (#715) 2022-05-06 12:24:03 +02:00
oddity.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00
quic.go cleanup(quic): wait for handshake completion in netxlite (#729) 2022-05-14 16:32:32 +02:00
resolver.go feat(netxlite): implement DNSTransport wrapping (#776) 2022-06-01 11:10:08 +02:00
tls.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tracing.go refactor(measurex): allow to configure timeouts and max-snapshot-size (#645) 2022-01-04 13:20:48 +01:00
utils.go feat(measurex): refactored measurement library (#528) 2021-09-30 01:24:08 +02:00