clat: add support for ESP, mirroring existing GRE support
This relies on some pretty heavy duty magic on the side of the PLAT
nat gateway in order to be useful.
It might not even work... but it already doesn't work, so it can't
be worse then the current state where we simply discard these packets.
Test: builds
Bug: 139499742
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3adfae6251c66125ff31c23c7967feacafb805a0
diff --git a/BUGS b/BUGS
index 70aeb9f..24e6639 100644
--- a/BUGS
+++ b/BUGS
@@ -1,5 +1,5 @@
known problems/assumptions:
- - does not handle protocols other than ICMP, UDP, TCP and GRE
+ - does not handle protocols other than ICMP, UDP, TCP and GRE/ESP
- assumes the handset has its own (routed) /64 ipv6 subnet
- assumes the /128 ipv6 subnet it generates can use the nat64 gateway
- assumes the nat64 gateway has the ipv4 address in the last 32 bits of the ipv6 address (that it uses a /96 plat subnet)