Age | Commit message (Collapse) | Author |
|
Change-Id: I6182656b9c959f476411bd91aaed66e5bc7013d6
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/15482201
Change-Id: I0192dced3f8e31345ee50e31c823af76179b15a1
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/15482200
Change-Id: Ie46e5bc444800175a60b6fc62d9aa75fcd9c5f0c
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/15482199
Change-Id: I58926627b663270e2f621100c5bd799d74e97f3f
|
|
setResolverOption am: 6788bee16f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/15482198
Change-Id: Ic8e8395472f9993e2625d688e3537fa190814222
|
|
1. Implement the new method added in V9, setResolverOptions
2. Add its relevant binder test and update integration test to use this
new method if the remote version is new enough.
Test: atest
Bug: 194048056
Change-Id: I9a18f11769fd154e7cc6f35090e6c8fe61853d2a
Merged-In: I9a18f11769fd154e7cc6f35090e6c8fe61853d2a
|
|
The only change is currently to make resolverOptions optional.
Test: m
Bug: 194048056
Change-Id: I42a07d2bad1b3ee0e66e3f4e2a0f068686e1d1a3
Merged-In: I42a07d2bad1b3ee0e66e3f4e2a0f068686e1d1a3
|
|
Test: m
Bug: 194048056
Change-Id: Icd08411d99fd41722967dcfb5b6820f7f84de0db
Merged-In: Icd08411d99fd41722967dcfb5b6820f7f84de0db
|
|
setResolverOption
This information was only ever supplied by OEM code and DnsManager has never
set it to anything.
The new IPC is used to set resolver options separately.
Bug: 194048056
Test: m dnsresolver_aidl_interface-update-api
Change-Id: I81f4b12dbb06783b72883572926b2e423220a9f7
Merged-In: I81f4b12dbb06783b72883572926b2e423220a9f7
|
|
Change-Id: I116d9466a98301e8edae93a7ce2a0b62320ea839
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/15218953
Change-Id: I4159bdb3a3619fdfbc5642e45bdd0a9ce040ad79
|
|
Ignore-AOSP-First: internal testing relevant change, will CP back to aosp
later.
Bug: 192807957
Test: TH
Change-Id: Iede780a98130418c3efb1f0fa9a7b9c8c06e973f
|
|
Change-Id: Iae9aa4946ec63e5f24038b4686c356fec3d0acd0
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/15019756
Change-Id: I9309fc97e5ccf1a51104e879630eb5308fa4790d
|
|
The flags are set as follows by default:
dot_validation_latency_factor = 3
dot_validation_latency_offset_ms = 100
Due to the flag default value changed, TlsServerRevalidation test
is modified.
Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1740953
Bug: 188153519
Test: with the two flags unset, run resolv_integration_test twice
Test: with the two flags unset, cd packages/modules/DnsResolver && atest
Test: with the two flags set to -1, run resolv_integration_test twice
Test: with the two flags set to -1, cd packages/modules/DnsResolver && atest
Change-Id: If80569a98244817b69909319f0c1a3b7523354cf
Merged-In: If80569a98244817b69909319f0c1a3b7523354cf
|
|
Change-Id: I1bcc01d53c8f77d345c2ea9df7b1796711cb7151
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/15124360
Change-Id: Ibc38432288d8fd4a8ab3fa6fb6cab542f5b09523
|
|
|
|
Bug: 169780183
Test: presubmit
Change-Id: I83ddc77ebe911233268bf4d9c92836a1fd162e93
Merged-In: I83ddc77ebe911233268bf4d9c92836a1fd162e93
(cherry picked from commit 99b3f5b114d49c226fd78679b201713d52e5d944)
|
|
Change-Id: Ifcf85603e2d9ce4f6429398006b1fd2d59128977
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14980874
Change-Id: Ib1939facbf9a2c8ecf9bf9553c869d23bb033321
|
|
1. networkCreatePhysical and networkCreateVpn were deprecated. Use
networkCreate RPC when it is supported by platform.
2. The deprecated RPCs are still referenced in backward compatibility
tests (on Android R image). In that case, use deprecated RPCs and
temporarily ignore -Wdeprecated-declarations.
3. Generalize helper function isRemoteVersionSupported() so that it can
take arbitrary AIDL services.
Bug: 171872481
Test: atest
Original-Change: https://android-review.googlesource.com/1714188
Merged-In: I68ceab87ab1a95b47b3fb58988cff1f961d18c1a
Change-Id: I68ceab87ab1a95b47b3fb58988cff1f961d18c1a
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/15075191
Change-Id: I5076a014c78e467892fe1ffdc6af8ffa9bf0d164
|
|
networkCreatePhysical and networkCreateVpn were deprecated since v6. To
minimize change in S release, DNS resolver test will not migrate to new
method networkCreate.
Bug: 171872481
Test: atest
Original-Change: https://android-review.googlesource.com/1743414
Merged-In: Ic4a755f9f86f83a2f8be0427b4d39fcec6bf05de
Change-Id: Ic4a755f9f86f83a2f8be0427b4d39fcec6bf05de
|
|
Change-Id: I310617ca87c60a526c45fbfe1fad6535ecea8541
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14997554
Change-Id: I1b353c51c7211fb278bab10bac2ab7fe17f1f7d3
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14997553
Change-Id: I1a0ae028689cb5a94454e08b4a4a7844718d0f66
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14997552
Change-Id: I17b74357ef92e7d1def416ced775bcde60771983
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14997551
Change-Id: Ic077a4dd270a8acc4c9d2f09b3dbe6f3ba6c72c0
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14883338
Change-Id: I9a5fe293d0235e66ec88280457d3c2eaf2e17214
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14883337
Change-Id: I122f72ec693aa4a7a07f7b0fa530e8de2e5fd3df
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14883336
Change-Id: Ic27477b9a038c5c371c230fa82a47477ce02c415
|
|
Fix the bug that passes wrong buffer to checkDnsResponse() in DoT
probe thread. Also fix a typo.
Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1737424
Bug: 188153519
Test: run resolv_integration_test twice
Change-Id: I5ba4841f2130ab05cee95d573568540de7a95f86
Merged-In: I5ba4841f2130ab05cee95d573568540de7a95f86
|
|
The test becomes flaky because tls.clearQueries() is called without
tls.waitForQueries(). A recent change has made DnsTlsFrontend take
extra 50 ms to wait for another query from DoT validation, the test
will fail if tls.clearQueries() is called while DnsTlsFrontend is
still waiting for the query.
Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1737639
Bug: 188153519
Bug: 191147599
Test: resolv_integration_test64 --gtest_filter="*TlsServerRevalidation"
--gtest_repeat=100 --gtest_break_on_failure
Change-Id: Ieb81a407c2a9c6aa119ab4499a93a9ffd663b716
Merged-In: Ieb81a407c2a9c6aa119ab4499a93a9ffd663b716
|
|
The purpose of this change is to avoid using DoT servers if they
are much slower than DNS servers. The mechanics is flag-guarded,
and it performs in DoT validation.
The mechanics works as follows:
1. Make use of the original DoT query to establish the connection.
2. Use the same DNS packet to issue a DoT query in parallel with a
UDP query to the same DoT server.
3. If UDP query failed or is lost, issue another one.
4. See the latencies of both queries. Decide if DoT validation
can pass.
DoT validation passes if dot_latency is less than (a * udp_latency + b),
where a and b are configurable by dot_validation_latency_factor and
dot_validation_latency_offset_ms respectively.
Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1733919
Bug: 188153519
Test: run resolv_integration_test twice
Test: run atest with all the flags off/on
dot_validation_latency_factor: -1 / 3
dot_validation_latency_offset_ms: -1 / 100
sort_nameservers: 0 / 1
dot_xport_unusable_threshold: -1 / 20
dot_query_timeout_ms: -1 / 10000
keep_listening_udp: 0 / 1
parallel_lookup_sleep_time: 2 / 2
dot_revalidation_threshold: -1 / 10
dot_async_handshake: 0 / 1
dot_maxtries: 3 / 1
dot_connect_timeout_ms: 127000 / 10000
parallel_lookup_release: UNSET / UNSET
Change-Id: I8507c409b0cb6e48655d54611256917392db69ac
Merged-In: I8507c409b0cb6e48655d54611256917392db69ac
|
|
DnsTlsDispatcher used to keep Transport in the map for at least 5
minutes. Since Transport is no longer a stateless object, it needs
to be removed as soon as the associated network, testing network
particularly, is disconnected.
This change actually fixes two known test bugs:
- bug 189384775.
How to reproduce it: run TlsServerRevalidation twice.
$ ./resolv_integration_test64 --gtest_filter="*TlsServerRevalidation"
$ ./resolv_integration_test64 --gtest_filter="*TlsServerRevalidation"
- bug 189132684
How to reproduce it: run ConnectTlsServerTimeout and QueryTlsServerTimeout
before before ConnectTlsServerTimeout_ConcurrentQueries.
$ ./resolv_integration_test64 --gtest_filter="*ConnectTlsServerTimeout:*QueryTlsServerTimeout"
$ ./resolv_integration_test64 --gtest_filter="*ConnectTlsServerTimeout_ConcurrentQueries"
Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1722073
Bug: 189384775
Bug: 189132684
Bug: 189161918
Test: run atest on R platform with the dnsresolver built from master
Test: run atest on Q platform with the dnsresolver built from mainline-prod
Test: verified that the two mentioned bugs are not reproducible
Test: run resolv_integration_test twice
Change-Id: I3bf3b7ddec7818c4fcf3ffaa0f97173d876d3642
Merged-In: I3bf3b7ddec7818c4fcf3ffaa0f97173d876d3642
|
|
The test checks that the revalidation can retry probing until
it succeeds. To do that, Private DNS validation backoff time
is changable in PrivateDnsConfigurationTest.
Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1708171
Bug: 79727473
Bug: 188153519
Test: Test: cd packages/modules/DnsResolver && atest
Change-Id: I11fc8d9ee963dc54d051667971b51bfecd852a93
Merged-In: I11fc8d9ee963dc54d051667971b51bfecd852a93
|
|
This new method returns the average DNS response time by protocol,
for example, DoT. By this method, we can know the average waiting
time for a DNS response and then utilize this information to evaluate
the performance of DoT and Do53.
Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1708170
Bug: 188153519
Test: cd packages/modules/DnsResolver && atest
Change-Id: I19eb25d18b1eb1ab97c7efc97d56ae9a315e4222
Merged-In: I19eb25d18b1eb1ab97c7efc97d56ae9a315e4222
|
|
The latency from permission error should not be counted because
there is no real DNS packet sent out. This will help us see a more
correct server latency in DNS statistics.
Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1708169
Bug: 188153519
Test: cd packages/modules/DnsResolver && atest
Change-Id: Id4d4f422421daf71680ce87ea345b0e494bd71fc
Merged-In: Id4d4f422421daf71680ce87ea345b0e494bd71fc
|
|
Change-Id: I254a4a55e8854557bd3784dbe4ab24ceef708099
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14717074
Change-Id: I07d6b8a9e6ee2682b6bab36dad7ee0be56ef19be
|
|
To make the tests run in R platform, we need to have them statically link
libcrypto_static and libssl
1. Move doh_ffi_test into tests/.
2. doh_unit_test links libquiche_static instead of libquiche.
3. Minor cleanup, remove the useless soong var.
Bug: 155855709
Test: TH
Original-Change: https://android-review.googlesource.com/1711569
Merged-In: I158691c7e62696fe3613ad5841cab01b45354b6c
Change-Id: I158691c7e62696fe3613ad5841cab01b45354b6c
|
|
Change-Id: I7b1b3b14bba13ac1cb70a6bbd30c7b2ace3f9e1c
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14675455
Change-Id: I9d2cf5c199cbaa3e62199816d86897250ba34f90
|
|
|
|
Change-Id: I923714a113175ed0e53b8f7dd9e9c3b6d5ee9203
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/14675451
Change-Id: I31001ca786e38fa6160f1aa950caec5c035ac888
|
|
Without proper min_sdk_version, the tests might
not be compatible with Q devices.
Test: forrest, atest
Bug: 187907243
Original-Change: https://android-review.googlesource.com/1711570
Merged-In: I9444daad43f036603c5a1cb1460053661f2c79f4
Change-Id: I9444daad43f036603c5a1cb1460053661f2c79f4
|
|
To prevent the test is affected by the network status of test device,
allow socket injection to create DohDispatcher.
Bug: 188214942
Test: atest doh_unit_test
Original-Change: https://android-review.googlesource.com/1711568
Merged-In: I1163a8b3fefefa5d83464e6aadd99f667ab141af
Change-Id: I1163a8b3fefefa5d83464e6aadd99f667ab141af
|
|
Change-Id: Iec7d16d7fb1c0e942da95f98c25e42473c10ae8d
|