yiguodev
yiguodev
There is no need to do this. `convertShareTextToXrayJson` supports the whole sub file (base64 encoded text, plain text, even original config json), and then you will get multiple outbounds in...
Hello, I have restructured libXray. All apis have been changed to string-based except Run/Ping/Test, which need Xray core loaded.
Thanks for contribution. LibXray.xcframework does not contain **module.modulemap** is implemented on purpose. If there are two xcframeworks which contains **module.modulemap** in one Xcode project, the compilation will fail. For avoiding...
分享一下 OneXray 在各个平台的适配方案吧。虽然治标不治本,但起码能用。 Android, iOS, macOS, Linux: [HevSocks5Tunnel](https://github.com/heiher/hev-socks5-tunnel) Windows: [leaf](https://github.com/eycorsican/leaf) , [tun2proxy](https://github.com/tun2proxy/tun2proxy) 核心思路就是分两层实现: 1. 第一层 tun2socks5,负责将 IP 包封装为 tcp/udp,通过 sock5 转发至 Xray-core。 2. 第二层 [libXray](https://github.com/XTLS/libXray) 。 但弊端就是本机端口占用直接翻倍。并且没有 ICMP 和 IGMP...
Sorry, I am not skilful in golang. Other libs also use this line too, like [AndroidLibXrayLite](https://github.com/2dust/AndroidLibXrayLite/blob/7ed07f5176391890f224fcf9799c9bcf65b57cbc/libv2ray_main.go#L24).
在 libXray 的早期版本中,实现了一种优化方案:在 packet tunnel 启动前,对用到的 geo 文件进行裁剪(只保留用到的规则)。具体可参见 [geo_cut.go](https://github.com/XTLS/libXray/blob/615d398d47ef55814e183ef4f0d448d4794d3c16/xray/geo_cut.go) 。该文件已在后续更新中被删除。~~受限于当时的技术水平,此优化方案效果并不明显。~~ 如果你们正在开发或改进你们的 iOS 客户端,此方案可以作为一种参考。 Domain Attribute 通常用于域名规则的特定地区分流,比如“geosite:apple@cn”,则只作用于 apple 相关的中国区域名。 In early versions of libXray, an optimization solution was implemented: before starting...
Try to use Wireshark to track the network traffic. I think it is NOT the problem of libXray.
According to the README of [REALITY](https://github.com/XTLS/REALITY) , the `serverNames` field should be server-side inbounds config, which means the serverName list that client can use.
libXray uses "sendThrough" to store the config name. It is designed by purpose. There is not "name" field in Outbound config. You should deal with it before sending the final...
I know how this field should be used. The current implementation is a last resort. The best solution is to add a name field in XrayConfig. However, Xray-core refuses to...