xiaorouji / openwrt-passwall2

1.25k stars 416 forks source link

[Bug]: 负载均衡会泄露DNS #652

Open xsj684135 opened 4 hours ago

xsj684135 commented 4 hours ago

描述您遇到的bug

请见图3 设置负载均衡,会泄露DNS。 设置节点为非"负载均衡节点"不会泄露DNS

请问是我操作有误还是有bug

复现此Bug的步骤

开启负载均衡 节点列表,新建Socks,IP端口指向"负载均衡" 基本设置-主要里的,分流节点“默认”改为“负载均衡节点”

您想要实现的目的

不知道怎么处理。。。

日志信息

我浏览器用F12看了请求查询DNS的那条网址的IP 是[tcp_redir -> default]

截图

image image image

系统相关信息

Powered by LuCI Master (git-24.182.36151-66d29de) / ArgonTheme v1.8.3 / OpenWrt Free-Mini-2024.09.01_by_Sirpdboy

luci-app-passwall2 1.31-1

其他信息

No response

Pacalini commented 2 hours ago

你的 xray 版本?domainStrategy 是什么? 最新源码下无法复现,可能跟 #640 有关。你自己编译下试试,或者等 release。

xsj684135 commented 1 hour ago

你的 xray 版本?domainStrategy 是什么? 最新源码下无法复现,可能跟 #640 有关。你自己编译下试试,或者等 release。

xray版本是 24.9.19,domainStrategy的AsIs、IPIfNonMatch、IPOnDemand三个我都测试过会泄露

我刚刚测试出来 这里选择使用Sing-Box就不会出现泄漏 选择xray就会泄露

image image

https://github.com/xiaorouji/openwrt-passwall2/issues/652#issuecomment-2363865677

xsj684135 commented 1 hour ago

自己编译我不会,我等大佬更新吧0.0