android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Hu 515efcf47d Update link properties early for VPN networks
When LinkProperties are updated after a private DNS configuration
is set in updateNetworkInfo(), particularly when private DNS mode
is set to opportunistic and the VPN server uses its own DNS
servers, this can cause the private DNS to use the underlying
network for TLS handshaking, potentially leading to a leak.
To fix this, adjusting the order of operations—setting the private
DNS configuration before updating LinkProperties should resolve
the issue. This ensures that private DNS validation occurs after
the VPN's network configuration is fully applied.

Bug: 274867806
Test: atest ConnectivityCoverageTests
Flag: EXEMPT legacy flag early_link_properties_update_for_vpn
Change-Id: If684b51e6522a8284d5baee8db0d2f767405d359
2025-04-28 01:16:25 -07:00
..
connectivity Pipe the satellite network opt-in UIDs down to ConnectivityService 2025-04-28 10:21:57 +08:00
connectivityservice Update link properties early for VPN networks 2025-04-28 01:16:25 -07:00
ethernet Add EthernetPort class 2025-04-27 20:52:26 -07:00
net Rename FdWrapper to TunWrapper 2025-04-16 15:16:05 -07:00
BpfNetMapsTest.java Creating interface name to index tracking for Bpf Maps. 2025-03-13 17:04:54 +00:00
CallbackQueueTest.kt Rename getShrinkedBackingArray to getMinimized* 2024-08-02 19:27:41 +09:00
ConnectivityServiceTest.java Update link properties early for VPN networks 2025-04-28 01:16:25 -07:00
IpSecServiceParameterizedTest.java packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01:00
IpSecServiceRefcountedResourceTest.java packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01:00
IpSecServiceTest.java packages/modules/Connectivity: remove usages of deprecated Mockito matchers 2025-03-10 02:16:21 +01:00
IpSecXfrmControllerTest.java [XFRM_MSG_NEWSA] Support polling SA state with netlink message 2023-12-11 18:43:34 +00:00
IpSecXfrmControllerTestHex.java [XFRM_MSG_NEWSA] Support polling SA state with netlink message 2023-12-11 18:43:34 +00:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Address comments on aosp/1781202 2022-08-17 07:11:55 +00:00
NsdServiceTest.java Add tests to verify OffloadEngine behaviors 2025-04-24 02:44:15 +00:00