android_packages_modules_Co.../framework-t/api
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yan Yan 81c2160a63 Expose APIs to migrate IpSecTransform
This commit exposes APIs to migrate a tunnel mode transform to
new source/destination addresses, as required by MOBIKE.

By calling the exposed API, the caller only caches the new
address in the transform. To complete the migration, caller
MUST apply the tranform to the appropriate tunnel.

This API design is mainly based on the kernel interface and use
cases. The Linux kernel requires Android to provide both the
IpSecTransform and the IpSecTunnelInterface to perform the
migration. And in most cases those two instances are managed
by different entities: IpSecTranform is managed by the key
exchange protocol (e.g. IKE) and IpSecTunnelInterface is managed by
the security tunnel provider (e.g. VPN, VCN, and IWLAN). Thus the
migration process has been designed to have two steps where the
key exchange protocol negotiates and caches the new address,
passes out the updated transform, and the security tunnel
provider applies the transform to a tunnel.

Another benefit of this API is it can also apply to the case
where the network peer does not support MOBIKE and thus cannot
update the existing transforms. In this case, the key exchange
protocol can create a new transform and give it to the security
tunnel provider, and the tunnel provider can still call "apply"
to perform migration without needing to know the details of the
transform update process.

Bug: 169171001
Test: atest FrameworksNetTests, IpSecManagerTunnelTest
Change-Id: I0658cdb09fb31f7e0fb9d0b07f37c2b72b6e705f
2023-01-10 19:09:05 +00:00
..
current.txt Merge "Add executors to NsdManager" am: b58df4bf13 am: ef37e45e8a 2022-03-22 09:46:04 +00:00
lint-baseline.txt [MS83.2] Make some APIs module-lib instead of system current 2022-03-16 15:31:26 +08:00
module-lib-current.txt Make some NetworkStats APIs system-current 2022-03-30 09:38:11 +00:00
module-lib-lint-baseline.txt [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
module-lib-removed.txt Build framework-connectivity-tiramisu library 2021-12-16 16:08:18 +00:00
OWNERS Add OWNERS for Nearby code 2022-02-10 15:27:29 +09:00
removed.txt [MS54.3] Move NetworkStats to updatable sources 2022-02-28 03:24:19 +00:00
system-current.txt Expose APIs to migrate IpSecTransform 2023-01-10 19:09:05 +00:00
system-lint-baseline.txt Move IpSec APIs to Connectivity module 2022-02-10 14:25:04 +08:00
system-removed.txt Build framework-connectivity-tiramisu library 2021-12-16 16:08:18 +00:00