MatsuriDayo / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
https://matsuridayo.github.io/
GNU General Public License v3.0
13.35k stars 1.25k forks source link

BUG: 使用sing-box核心时,节点地址为cdn.anycast.eu.org,客户端疯狂发连接给远程dns,nerobox进程的内存狂飙到5G+ #1142

Closed gd82324976 closed 4 months ago

gd82324976 commented 10 months ago

描述问题

1、使用sing-box核心时,任何节点只要把地址改为cdn.anycast.eu.org,客户端就疯狂发连接给远程dns,nekobox进程的内存狂飙到5G+,此时系统严重卡顿 2、使用xray核心时无以上问题,但是节点无法连接,可能cdn.anycast.eu.org我这边环境不能访问。

预期行为:

实际行为:

如何复现

使用ws的节点地址改为cdn.anycast.eu.org 微信图片编辑_20240103101239

日志

neko.zip

nuu987 commented 10 months ago

to be notice that any server address with domain can trigger this, massive DNS request quickly drain out the system resources, can reproduce.

edit: disable or leave it default for "Turn off multicast name resolution" in windows group policy, just switch it off and on and off again may help, my nekobox works fine now. remember tick the "Strict Route" in Tun mode settings for to preventing potential dns leak.