sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

hijack-dns 在 macos 26系统无效

Open iamckun opened this issue 11 months ago • 4 comments

操作系统

macOS

系统版本

26.1

安装类型

sing-box 原始命令行程序

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

No response

版本

sing-box version                                      
sing-box version 1.12.12

Environment: go1.25.3 darwin/arm64
Tags: with_acme,with_clash_api,with_dhcp,with_gvisor,with_quic,with_tailscale,with_utls,with_wireguard
CGO: enabled

描述

{ "inbounds": [ { "type": "tun", "tag": "tun-in", "interface_name": "", "address": [ "172.19.0.1/30" ], "mtu": 9000, "auto_route": true, "strict_route": true, "stack": "system", "auto_redirect_input_mark": "0x2023", "auto_redirect_output_mark": "0x2024", "route_exclude_address": [ "172.16.1.0/24", "172.168.0.0/20", "172.168.4.0/24" ] } ], "route": { "auto_detect_interface": true, "final": "🐟 兜底分流", "default_domain_resolver": { "server": "Local", "rewrite_ttl": 60, "strategy": "ipv4_only" }, "rules": [ { "action": "sniff" }, { "protocol": "dns", "action": "hijack-dns" }] } }

配置如下。配置了hijack-dns 但是并没有生效,流量没有走到dns模块。

重现方式

一次这个规则都没有触发。只有吧本地电脑的dns改为127.0.0.1 的时候会有用

日志


支持我们

完整性要求

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

iamckun avatar Dec 12 '25 03:12 iamckun

请问下26.2系统,用SFM 1.12.12还能用吗?

看到1.12.13没有SFM了,想问下在26.2下用SFM 1.12.12是否还能正常使用?

Unfortunately, for non-technical reasons, we are currently unable to notarize the standalone version of the macOS client: because system extensions require signatures to function, we have had to temporarily halt its release.

We plan to fix the App Store release issue and launch a new standalone desktop client, but until then, only clients on TestFlight will be available (unless you have an Apple Developer Program and compile from source code).

gitercn avatar Jan 07 '26 10:01 gitercn

maybe related: https://github.com/SagerNet/sing-box/issues/1271 and https://github.com/SagerNet/sing-box/issues/2873

Utaea avatar Jan 08 '26 11:01 Utaea

请问下26.2系统,用SFM 1.12.12还能用吗?

看到1.12.13没有SFM了,想问下在26.2下用SFM 1.12.12是否还能正常使用?

Unfortunately, for non-technical reasons, we are currently unable to notarize the standalone version of the macOS client: because system extensions require signatures to function, we have had to temporarily halt its release.

We plan to fix the App Store release issue and launch a new standalone desktop client, but until then, only clients on TestFlight will be available (unless you have an Apple Developer Program and compile from source code).

我反正更新后就不行了。但是手机居然可以我没搞明白是不是配置哪里没搞对。直接升级的时候还可以用。我重置了系统后重新安装不行了

iamckun avatar Jan 12 '26 07:01 iamckun

安装最新 beta 的 SFM.pkg

nekohasekai avatar Jan 12 '26 07:01 nekohasekai