OSDN Git Service

vpn: allow IPSec traffic through Always-on VPN
authorBernie Innocenti <codewiz@google.com>
Mon, 28 May 2018 13:04:37 +0000 (22:04 +0900)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Fri, 3 Aug 2018 19:06:54 +0000 (19:06 +0000)
commit43631a43e2a87810aadd6532005c1873d7d3f3ab
tree428605aee264cc00d440c57c2d2df6c962cf4263
parent44f897a21c7cc383554f3b7e4463488c8f0c84a1
vpn: allow IPSec traffic through Always-on VPN

This won't leak any traffic outside the VPN as long as there are no
processes owned by uid 0 which generate network traffic (which is
currently the case).

Bug: 69873852
Test: compared the output of 'adb shell ip rule show' before and after
Test: runtest -x frameworks/base/tests/net/java/com/android/server/connectivity/VpnTest.java
Test: local CTS tests run: android.net.cts.VpnServiceTest
Test: local CTS tests run: com.android.cts.devicepolicy.MixedDeviceOwnerTest
Change-Id: I8758e576c9d961d73f62bfcf0559dd7ecee6e8e6
Merged-In: I8758e576c9d961d73f62bfcf0559dd7ecee6e8e6
Merged-In: I1f9b78c8f828ec2df7aba71b39d62be0c4db2550
Merged-In: I8edeb0942e661c8385ff0cd3fdb72e6f62a8f218
(cherry picked from commit 00000fe55a4729f8339afdc7eab5c970b2549813)
(cherry picked from commit ef2910dc709d698b6476e8d462c608d04c784a26)
services/core/java/com/android/server/connectivity/Vpn.java