taamarin / box_for_magisk

Transparent Proxy for Android(root)
GNU General Public License v3.0
1.01k stars 111 forks source link

v2fly出现异常cpu占用 #73

Closed 1027603857 closed 6 months ago

1027603857 commented 6 months ago

当本模块运行时,如果同时使用网易云杜比大喇叭插件会造成v2fly占用极高cpu,耗电陡增。

杜比大喇叭相关代码: https://github.com/nining377/dolby_beta/blob/258ab9b95671ecfb13a03636842890d9ca36fe75/app/src/main/java/com/raincat/dolby_beta/hook/ProxyHook.java#L129

我的部分配置: # select the client to use : clash / sing-box / xray / v2fly bin_name="v2fly"

# This script is used to set the user and group for the BFM core files. box_user_group="root:net_admin"

# redirect: tcp only, # tproxy: for tcp + udp with tproxy, # mixed: mode with redirect[tcp] + tun[udp] network_mode="tproxy"

# blacklist / whitelist / tun (only tun auto-route) proxy_mode="whitelist"

# list of package names to be proxied # android Package Name, For example: ("com.android.captiveportallogin" "com.tencent.mm") packages_list=("com.android.providers.downloads" "com.google.android.ext.services" "com.android.vending" "com.google.android.gms" "com.android.providers.downloads.ui" "mark.via" "com.android.shell" "me.weishu.kernelsu" "tw.nekomimi.nekogram" "com.google.android.youtube" "com.google.android.configupdater" "com.google.android.gsf")

其中并没有勾选网易云或杜比大喇叭

tearmoon commented 6 months ago

尝试显示 config.json 设置/配置。

1027603857 commented 6 months ago

@tearmoon

尝试显示 config.json 设置/配置。

config_mask.json

tearmoon commented 6 months ago

@tearmoon

尝试显示 config.json 设置/配置。

config_mask.json

      {
        "type": "field",
        "outboundTag": "block",
        "ip": [
          "127.0.0.0/8"
        ]
      },
1027603857 commented 6 months ago

@tearmoon 不起作用,设置后插件不能正常运行,且cpu依然高占用 为什么网易云会走代理呢 image

1027603857 commented 6 months ago

垃圾网易云 换成youtube music