ooni-probe-cli/internal/model/mocks
Simone Basso 9d2301cae2
fix(netxlite): reject replies with wrong queryID (#732)
This diff has been extracted from c2f7ccab0e

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

While there, export DecodeReply to decode a raw reply without
interpreting the Rcode or parsing the results, which seems a
nice extra feature to have to more flexibly parse DNS replies
in other parts of the codebase.
2022-05-14 19:38:46 +02:00
..
addr_test.go feature: merge measurex and netx archival layer (1/N) (#663) 2022-01-14 12:13:10 +01:00
addr.go feature: merge measurex and netx archival layer (1/N) (#663) 2022-01-14 12:13:10 +01:00
dialer_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dialer.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnsdecoder_test.go fix(netxlite): reject replies with wrong queryID (#732) 2022-05-14 19:38:46 +02:00
dnsdecoder.go fix(netxlite): reject replies with wrong queryID (#732) 2022-05-14 19:38:46 +02:00
dnsencoder_test.go fix(netxlite): reject replies with wrong queryID (#732) 2022-05-14 19:38:46 +02:00
dnsencoder.go fix(netxlite): reject replies with wrong queryID (#732) 2022-05-14 19:38:46 +02:00
dnstransport_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
dnstransport.go feature: merge measurex and netx archival layer (1/N) (#663) 2022-01-14 12:13:10 +01:00
doc.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
http_test.go fix(netxlite): reject replies with wrong queryID (#732) 2022-05-14 19:38:46 +02:00
http.go feature: merge measurex and netx archival layer (1/N) (#663) 2022-01-14 12:13:10 +01:00
listener_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
listener.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
logger_test.go feat: re-implement the vanilla_tor experiment (#718) 2022-05-10 15:43:28 +02:00
logger.go feat: re-implement the vanilla_tor experiment (#718) 2022-05-10 15:43:28 +02:00
quic_test.go cli: upgrade to lucas-clemente/quic-go@v0.27.0 (#715) 2022-05-06 12:24:03 +02:00
quic.go cli: upgrade to lucas-clemente/quic-go@v0.27.0 (#715) 2022-05-06 12:24:03 +02:00
reader_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
reader.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
resolver_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
resolver.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tls_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
tls.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00