config-examples icon indicating copy to clipboard operation
config-examples copied to clipboard

SingBox update to version 1.11

Open cod3mas0n opened this issue 9 months ago • 4 comments
trafficstars

There is an update for singbox which is v1.11.0, so there is some warnings and some bad connections, I tried to update the configs if you have a plan for migrating the configuration, I can do some contributes

Warning Example:

WARN[0000] legacy wireguard outbound is deprecated in sing-box 1.11.0 and will be removed in sing-box 1.13.0, checkout documentation for migration: https://sing-box.sagernet.org/migration/#migrate-wireguard-outbound-to-endpoint

cod3mas0n avatar Feb 01 '25 10:02 cod3mas0n

thanks for notice , yeah the config changed but it works till 1.13... upgrading the configs is not the problem, the problem is about wireguard (warp) implementation in the code, did you read that part in the code?

TheyCallMeSecond avatar Feb 13 '25 16:02 TheyCallMeSecond

Reviewed that part functions like toggle_warp_ws(), toggle_warp_hysteria(),... think I need some help, otherwise, it will take a bit longer to figure out what should I change

cod3mas0n avatar Feb 13 '25 19:02 cod3mas0n

ask if you have any questions...do you know which functions should change? uninstall_warp toggle_warp_xxx (for each protocol) check_and_display_process_status

I was changing the Wireguard outbound type in the "outbounds" block by "jq", now we need to add Wireguard as "Endpoints" instead of "outbounds"

TheyCallMeSecond avatar Feb 14 '25 12:02 TheyCallMeSecond

I'm so Sorry, I have no time to fix and make a PR

Although there is another bug I encountered, when enabling Warp for configs, the whole config.json or server.json (all protocols, TUIC, hysteria, ...) gets empty, and the service won't work.

Do you think this bug is because of the version update? Or any idea what is happening?

cod3mas0n avatar Jun 27 '25 15:06 cod3mas0n