sing-box
sing-box copied to clipboard
重启手机后有概率无法启动sfa
操作系统
Android
系统版本
stock BP3A.250905.014 未root
安装类型
sing-box for Android 图形客户端程序
如果您使用图形客户端程序,请提供该程序版本。
1.12.5
版本
描述
在sfa开启时重启手机后,有概率无法启动sfa。点击启动按钮报错
此问题在 Android 16和sfa 1.12.3左右即出现。在16 QPR1仍出现。 临时解决方案是在设置中强行停止sfa再尝试启动sfa。
重现方式
- 启动sfa 使用VpnService
- 重启手机
- 再次尝试启动sfa (不能100%复现)。
{
"log": {
"disabled": false,
"level": "debug",
"timestamp": true,
"output": "box.log"
},
"dns": {
"servers": [
{"type": "quic","server": "223.5.5.5","server_port": 853,"tag": "dns_direct","tls": {"enabled": true,"server_name": "dns.alidns.com","min_version": "1.3","insecure": false}},
{"type": "fakeip","tag": "dns_fakeip","inet4_range": "198.18.0.1/16","inet6_range": "fc00::/18"}
],
"rules": [
{
"query_type": [
"A",
"AAAA"
],
"server": "dns_fakeip",
"action": "route"
}
],
"final": "dns_direct",
"disable_cache": false,
"disable_expire": false,
"independent_cache": true,
"reverse_mapping": true
},
"inbounds": [
{
"auto_route": true,
"auto_redirect": false,
"endpoint_independent_nat": false,
"mtu": 1350,
"stack": "gvisor",
"type": "tun",
"tag": "tun-in",
"route_address": [
"0.0.0.0/0",
"::/0"
],
"address": [
"172.18.0.1/30",
"fdfe:dcba:9876::1/126"
]
}
],
"outbounds": [
{
"tag": "direct",
"type": "direct"
}
],
"route": {
"auto_detect_interface": true,
"final": "direct",
"override_android_vpn": false,
"default_domain_resolver": {"server": "dns_direct"},
"rules": [
{
"action": "sniff"
},
{
"type": "logical",
"mode": "or",
"rules": [
{
"protocol": "dns"
},
{
"port": 53
}
],
"action": "hijack-dns"
}
]
}
}
日志
没有应用内日志。没有stderr.log。
支持我们
- [ ] 我已经 赞助
完整性要求
- [x] 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
- [x] 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
- [x] 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
- [x] 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。