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
5 lines
349 B
Text
5 lines
349 B
Text
known problems/assumptions:
|
|
- 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)
|