SagerNet / SagerNet/sing-box

[sfa_mt] loopback_address 不生效

Open
#4,479 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
38.1k
Forks
4.6k
Avg merge
19d 15h
Merged PRs (30d)
1

Description

操作系统

iOS

系统版本

iOS 18.7

安装类型

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

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

1.14.4

版本

描述

tun中配置loopback_address:"10.7.0.1"无效。

重现方式

1、Wi-Fi环境
2、sfa_mt最简配置如下{ "inbounds": [ { "type": "tun", "tag": "tun_in", "interface_name": "utun100", "address": [ "172.18.0.1/30", "fdfe:dcba:9876::1/126" ], "auto_route": true, "loopback_address": "10.7.0.1", "strict_route": true, "route_address": "2000::/3" } ], "outbounds": [ { "type": "direct", "tag": "direct-out" } ] }
3、打开sidestore->setting->healthcheck,一直转圈,并且底部无法获取当前接口信息。换用LocalDevVPN正常。注:sidestore(0.6.4-20260714)是live container(3.8.0)内置的版本.

日志

支持我们
完整性要求
  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the sfa_mt minimal TUN configuration in the reproduction steps and the loopback_address behavior on iOS. Reproduce the SideStore healthcheck failure, then compare it with the reported working LocalDevVPN setup. Done means the healthcheck stops spinning and retrieves the current interface information with loopback_address set to 10.7.0.1.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, ios
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.