ShellCrash icon indicating copy to clipboard operation
ShellCrash copied to clipboard

[Bug] sing-box 1.11版本不可用了

Open yangtfu opened this issue 10 months ago • 13 comments

Verify steps

  • [x] 我已经在 Issue Tracker 中找过我要提出的问题 I have searched on the issue tracker for a related issue.
  • [x] 我已经使用公测版本测试过,问题依旧存在 I have tested using the test mod, and the issue still exists.
  • [x] 我已经仔细看过 常见问题 并无法自行解决问题

Description

route和dns模块大改,校验配置文件导致自定义json无法生效了

yangtfu avatar Mar 12 '25 08:03 yangtfu

@yangtfu 配置变更太频繁,暂时不会适配,有需求可以禁用配置覆写自己手搓配置文件

juewuy avatar Mar 12 '25 10:03 juewuy

@yangtfu I just disabled autoconfiguration and wrote the configuration from scratch with new syntax. Everything works with sing-box 1.12.0-beta.4

Quarx2k avatar Apr 20 '25 22:04 Quarx2k

@yangtfu I just disabled autoconfiguration and wrote the configuration from scratch with new syntax. Everything works with sing-box 1.12.0-beta.4

How to disable autoconfiguration?

Simonskiii avatar May 09 '25 16:05 Simonskiii

@Simonskiii In menu 6-6-9. Full Singbox config should be in one file config.json

Quarx2k avatar May 10 '25 14:05 Quarx2k

Thank you! But in that case it would not be possible to configure the firewall to enable continental traffic to bypass the kernel

Simonskiii avatar May 10 '25 14:05 Simonskiii

Even without autoconfig, ShellCrash still create iptables rules like RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 match-set cn_ip dst

Quarx2k avatar May 10 '25 16:05 Quarx2k

Even if I don't check 2-8? Image

Simonskiii avatar May 10 '25 16:05 Simonskiii

No, you have to set 2-8 to create this rule. This is not depend on singbox autoconfig

Quarx2k avatar May 10 '25 17:05 Quarx2k

But after I set 6-6-9, there is no option for 2-8. Is it still effective after your test?

Simonskiii avatar May 10 '25 17:05 Simonskiii

Yes, it still works even if not exist in menu :) You can check by command iptables -vnL -t nat | grep cn_ip

Quarx2k avatar May 10 '25 17:05 Quarx2k

Thanks for the information, mine is iftables, I'll test it tomorrow

Simonskiii avatar May 10 '25 17:05 Simonskiii

Yes, it still works even if not exist in menu :) You can check by command iptables -vnL -t nat | grep cn_ip

I just tested it, it works! Thanks bro

Simonskiii avatar May 10 '25 18:05 Simonskiii

Yes, it still works even if not exist in menu :) You can check by command iptables -vnL -t nat | grep cn_ip

I tested it again, because singbox1.11 is set to dns hijack, it will affect the dhcp service of dnsmasq on immortalwrt, causing me to be unable to access the Internet. I can only set dnsmasq to hijack all dns requests, but in this case, dns is leaked again.

Simonskiii avatar May 11 '25 08:05 Simonskiii