Che Kun

Results 40 comments of Che Kun

我在mac m1上构建成功了

@shenshengkafei Sure, you can refer at https://github.com/chekun/aleaf/tree/master/app/src/main/rust/leaf-android ,that repo is old, but it surely applies to leaf current version.

@shenshengkafei @ChenDing2018 https://github.com/chekun/aleaf/blob/master/app/src/main/rust/leaf-android/src/lib.rs#L28 `socket_protect_path` arg is removed in current leaf , you guys need modify the code a little bit.

@594810899 https://github.com/eycorsican/leaf/blob/master/Makefile#L9 leaf.h 会一起生成的呀 clone项目,执行 `make ios-opt` 就行了

ios15 获取 tunFd 的方式要改,你google一下

@594810899 这个得你自己看一下日志吧,`idevicesyslog -p PacketTunnel`

@foreverZou `so`文件 发给你你也用不了,带包名的。 你看一下rust基础语法就可以了哈

@594810899 你把配置改成这样试试,这个配置我可以用的,用下面的看看是否可以正常上网 ``` [General] loglevel = trace dns-server = 223.5.5.5, 114.114.114.114 tun-fd = REPLACE-ME-WITH-THE-FD routing-domain-resolve = true [Proxy] Direct = direct Reject = reject [Rule] Final = direct ```

你需要看日志 看发生了啥才能确定原因哦