commit | aa76184f862f85c44d9d02821783c83879355984 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Thu May 28 09:42:37 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu May 28 09:42:37 2020 +0000 |
tree | 92dc2d75ce9a74de4aa7388cb64c58b892a023f3 | |
parent | aef43813b48a39a4cffa9a4b919af51e7925dd56 [diff] | |
parent | 4eabbe3f43ac9b89c1bd91cfc89880f5997d23ca [diff] |
Fix the side channel attack by using aysnc DnsResolver API with FLAG_NO_CACHE_STORE am: 4eabbe3f43 Change-Id: I144fbf4105961f95d411b57cb04a8f51859c3a6b
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.