Android CLAT

原创 2013年12月04日 11:03:01

This project is for 464xlat support for android. It is useful for ipv4 applications running on an IPv6-only network using NAT64/DNS64 to provide IPv4 access.

当应用不支持64位DNS,通过CLAT 处理从IPV4到IPV6的转换。 CLAT是IPV4在GSM网络使用NAT64转换到IPV6 的入口. Android CLAT 实现了android平台的CLAT。

Below, you can see how CLAT fits in to the other pieces of 464xlat (RFC6877)

 Android 4.3 jellybean 和之后的版本都已经存在。

How can I test that 464xlat is operating properly?

While on the IPv6 APN, visit this helpful ipv6 test page

Can I use clat/464xlat with a wifi connection?

Android does not (yet) support IPv6-only wifi connections, and this software was not designed to offer CLAT services via a wifi connection. It can be made to work by giving CLAT an IP to use in the config file, along with answering ND for that IP on the handset (set the proxy_ndp sysctl and use ip -6 neighbor add proxy ...). Please note that running this CLAT implementation requires IPv6 forwarding turned on, so if you're relying on RA autoconfiguration (SLAAC) you'll need to configure a static IPv6 global address on the wifi interface. Also note that multiple handsets running 464xlat on the same wifi network will result in IPv6 address conflicts if you don't make sure each one has a unique hostid for its clat function.

Can I use the same IPv6 IP for my handset's global traffic and CLAT traffic?

Not for this implementation. It relies on the routing table of the handset to separate traffic to the handset and traffic to the CLAT process. You will need one global IPv6 address for the handset and one for the CLAT process.



Android 4.1 Netd详细分析(一)概述与应用实例

近来再看Android  Netd作为Android 网络很基础的部分,从这部分开始入门Android network.属于偏底层的部分,现将个人的一点收获分享给大家~个人使用的代码来自Google ...


触摸事件监听 注意: 1) 对于多点触控,我们需要由MotionEvent.getAction()&MotionEvent.ACTION_MASK得到:ACTION...

Android-Iconics 开源库的使用

转载至: 我使用这个开源库完全就是因为方便,可以让我更加专注的学习 Android 其它...


  • 6天前 12:30
  • 40.61MB
  • 下载

  • 2017-10-13 16:53
  • 496KB
  • 下载


TabLayout是属于容器空间,提供水平显示Tab的效果,常常和ViewPager配合使用。 展示: 添加依赖compile '