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

QQ音乐导致VPN断开。 #1858

Closed
5 tasks done
yanhao98 opened this issue Jun 12, 2024 · 0 comments
Closed
5 tasks done

QQ音乐导致VPN断开。 #1858

yanhao98 opened this issue Jun 12, 2024 · 0 comments

Comments

@yanhao98
Copy link

yanhao98 commented Jun 12, 2024

操作系统

iOS

系统版本

iOS 17.5.1(21F90)

安装类型

sing-box for iOS 图形客户端程序

如果您使用图形客户端程序,请提供该程序版本。

1.9.3

版本

No response

描述

使用QQ音乐听歌听一会就会导致VPN断开。
平常不使用QQ音乐的情况不会出现这个情况。
下面给出的配置是我去掉了代理 outbound 的配置,因为直连就会出现问题。

重现方式

iOS客户端的 Settings 界面都点击了 Reset 使用的是默认设置。
录屏测试前我将QQ音乐也进行了卸载重新安装。
下面的两个视频最后都能看到手机状态栏的VPN没了。

客户端配置文件。

{
  "log": {
    "level": "debug",
    "timestamp": true
  },
  "experimental": {
    "clash_api": {
      "external_controller": "127.0.0.1:9090",
      "default_mode": "🔌 直连"
    }
  },
  "outbounds": [
    {
      "tag": "🔗 不代理",
      "type": "direct"
    },
    {
      "tag": "🧩 DNS解析",
      "type": "dns"
    }
  ],
  "inbounds": [
    {
      "type": "tun",
      "tag": "🚇 tun-in",
      "inet4_address": "172.19.0.1/30",
      "auto_route": true,
      "strict_route": true,
      "stack": "gvisor",
      "sniff": true
    }
  ],
  "route": {
    "auto_detect_interface": true,
    "rules": [
      {
        "port": 53,
        "outbound": "🧩 DNS解析"
      },
      {
        "protocol": "dns",
        "outbound": "🧩 DNS解析"
      },
      {
        "ip_is_private": true,
        "outbound": "🔗 不代理"
      },
      {
        "clash_mode": "🔌 直连",
        "outbound": "🔗 不代理"
      }
    ],
    "final": "🔗 不代理"
  },
  "dns": {
    "strategy": "ipv4_only",
    "final": "🧩 dns-local",
    "servers": [
      {
        "tag": "🧩 dns-local",
        "address": "https://223.5.5.5/dns-query",
        "detour": "🔗 不代理"
      }
    ],
    "rules": [
      {
        "outbound": "any",
        "server": "🧩 dns-local"
      },
      {
        "clash_mode": "🔌 直连",
        "server": "🧩 dns-local"
      }
    ]
  }
}

第一次复现的完整录屏:

RPReplay_Final1718159206.MP4

第一次复现断开后的日志截图:

IMG_2511

第二次复现的完整录屏:
第二次录屏是录屏的sing-box的日志界面。视频过大了,裁剪了最后的30秒。

default.mov

日志

Service Log 没有内容显示:Empty content,
如果需要提供更多信息,请指导我如何提供“”

支持我们

完整性要求

  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。
@yanhao98 yanhao98 changed the title QQ音乐大量UDP连接导致VPN断开。 QQ音乐导致VPN断开。 Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant