Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 安卓端ipv6会有webrtc泄露,而pc端没有, 请问一下是配置不当还是原理决定的? #4338

Open
5 of 7 tasks
huoshan12345 opened this issue Feb 21, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@huoshan12345
Copy link

huoshan12345 commented Feb 21, 2025

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 出现的问题
  • Contributors 我有能力协助 OpenClash 开发并解决此问题
  • Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

v0.46.064

Bug on Environment

Lean

OpenWrt Version

OprX eS24.8.19

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

测试网站: https://browserleaks.com/webrtc
测试浏览器: chrome

测试结果:
pc端: 无泄漏, ipv4和ipv6均是节点的ip

安卓端: 真实的ipv6暴露了, 如下图所示
Image

补充说明:
ipv6可被我使用的机场正常代理, 例如我现在访问instagram用的就是ipv6

To Reproduce

相关设置:

  • 插件设置 - 流量控制 - 仅允许常用端口流量: 停用
  • 覆写设置 - 规则设置 - 仅代理命中规则流量: 未勾选
  • 插件设置 - IPv6 设置:
  1. IPv6 流量代理: 勾选
  2. IPv6 代理模式: TProxy 模式
  3. UDP 流量转发: 勾选
  4. 允许 IPv6 类型 DNS 解析: 勾选
  5. 实验性:绕过指定区域 IPv6: 停用

然后使用安卓手机访问测试网站: https://browserleaks.com/webrtc

OpenClash Log

2025-02-21 18:54:15 level=info msg="[TCP] 192.168.2.159:33028 --> browserleaks.com:443 match Match using 🐟 漏网之鱼[香港 03 | 专线]"

OpenClash Config

Expected Behavior

真实的ipv6无法被webrtc获取到

Additional Context

No response

@huoshan12345 huoshan12345 added the bug Something isn't working label Feb 21, 2025
@xiaoyangdkj
Copy link

只要你让openclash代理了udp流量,那么webrtc测试只会显示局域网ip或者节点ip

@huoshan12345
Copy link
Author

只要你让openclash代理了udp流量,那么webrtc测试只会显示局域网ip或者节点ip

但问题不是, 安卓端ipv6是手机的真实ip

@xiaoyangdkj
Copy link

xiaoyangdkj commented Feb 22, 2025

只要你让openclash代理了udp流量,那么webrtc测试只会显示局域网ip或者节点ip

但问题不是, 安卓端ipv6是手机的真实ip

忽略即可,这是预期效果,除非节点支持ipv6并启用ipv6 tproxy

@huoshan12345
Copy link
Author

只要你让openclash代理了udp流量,那么webrtc测试只会显示局域网ip或者节点ip

但问题不是, 安卓端ipv6是手机的真实ip

忽略即可,这是预期效果,除非节点支持ipv6并启用ipv6 tproxy

节点支持的, 而且pc端就不泄露, 否则我也不回来提这个问题, 正是因为安卓和pc不一样我才来问的

@xiaoyangdkj
Copy link

xiaoyangdkj commented Feb 22, 2025

节点支持的, 而且pc端就不泄露, 否则我也不回来提这个问题, 正是因为安卓和pc不一样我才来问的

尝试一下把ipv6流量代理关掉,因为有的节点只是声明自己拥有ipv6地址,实际上仍然是ipv4访问

@dwbii
Copy link

dwbii commented Feb 25, 2025

楼主换苹果手机吧,苹果没有这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants