Android CLAT

http://dan.drown.org/android/clat/

https://sites.google.com/site/tmoipv6/464xlat

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.



  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
nvme0n1_write_fragment1: (g=0): rw=write, bs=(R) 128KiB-128KiB, (W) 128KiB-128KiB, (T) 128KiB-128KiB, ioengine=libaio, iodepth=128 fio-3.18 Starting 1 thread nvme0n1_write_fragment1: (groupid=0, jobs=1): err= 0: pid=3700: Thu Jun 8 16:04:43 2023 write: IOPS=18.8k, BW=2354MiB/s (2468MB/s)(5962GiB/2593866msec); 0 zone resets slat (usec): min=2, max=34703, avg= 3.83, stdev= 6.41 clat (usec): min=344, max=40121, avg=6793.84, stdev=3102.08 lat (usec): min=349, max=40124, avg=6797.76, stdev=3102.06 clat percentiles (usec): | 1.00th=[ 5473], 5.00th=[ 5473], 10.00th=[ 5473], 20.00th=[ 5473], | 30.00th=[ 5473], 40.00th=[ 5473], 50.00th=[ 5473], 60.00th=[ 5473], | 70.00th=[ 5473], 80.00th=[ 6849], 90.00th=[11076], 95.00th=[13960], | 99.00th=[18482], 99.50th=[20579], 99.90th=[27132], 99.95th=[30802], | 99.99th=[30802] bw ( MiB/s): min= 521, max= 2943, per=100.00%, avg=2356.61, stdev=782.79, samples=5180 iops : min= 4172, max=23550, avg=18852.89, stdev=6262.35, samples=5180 lat (usec) : 500=0.01%, 750=0.01%, 1000=0.01% lat (msec) : 2=0.01%, 4=0.01%, 10=86.67%, 20=12.44%, 50=0.89% cpu : usr=3.63%, sys=6.77%, ctx=48837403, majf=0, minf=6946 IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=0.1%, >=64=100.0% submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0% complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.1% issued rwts: total=0,48837764,0,0 short=0,0,0,0 dropped=0,0,0,0 latency : target=0, window=0, percentile=100.00%, depth=128 Run status group 0 (all jobs): WRITE: bw=2354MiB/s (2468MB/s), 2354MiB/s-2354MiB/s (2468MB/s-2468MB/s), io=5962GiB (6401GB), run=2593866-2593866msec Disk stats (read/write): nvme0n1: ios=58/48832059, merge=0/0, ticks=67/331765521, in_queue=250054672, util=100.00%
06-10

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值