summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/RouteInfoTest.java
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2021-04-15 11:59:16 -0700
committerBenedict Wong <benedictwong@google.com>2021-05-07 15:09:42 -0700
commit7f70885e5fc3200557f4ca36e411068002b2f743 (patch)
tree0a0f06948425e04bff54cace66ee540857263eca /tests/common/java/android/net/RouteInfoTest.java
parent8ee3a33ee66cea5deceb7efd17c57e9f24cac2d7 (diff)
Add internal support for IPsec forward policies
This change adds support for IPsec forward policies, which are necessary for packets to be allowed to be forwarded to another interface, as is the case with tethering. This is necessary and useful only within the system server, and as such is not exposed as a public API. This change is safe, since the addition of a FWD policy on IPsec tunnel interfaces will by default block forwarded traffic (as would be the case without this patch). In the event that the (system) owner of the tunnel requires support for forwarded packets (eg tethering), this patch allows application of transforms in the FWD direction as well. This will be used to ensure that the VCN can be used as the underlying network for the purposes of tethering. Bug: 185495453 Test: atest IpSecServiceTest Test: atest IpSecServiceParameterizedTest Test: manual testing with tethering over VCN Change-Id: I74ecea71f1954029f6fbdbe34598c82e0aac386b
Diffstat (limited to 'tests/common/java/android/net/RouteInfoTest.java')
0 files changed, 0 insertions, 0 deletions