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)
committerBernie Innocenti <codewiz@google.com>
Mon, 4 Jun 2018 04:59:28 +0000 (13:59 +0900)
commit00000fe55a4729f8339afdc7eab5c970b2549813
tree2452a30b4167808522102e192dddd8b9623a4889
parent1f392c468ae40589474ea906cffa05658741c3e0
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
services/core/java/com/android/server/connectivity/Vpn.java