taamarin / box_for_magisk

Transparent Proxy for Android(root)
GNU General Public License v3.0
1.31k stars 130 forks source link

sing-box v1.10 makes current configs obsolete #126

Closed Anderhar closed 3 months ago

Anderhar commented 4 months ago

sing-box v1.10 brings important novelties, especially to the TUN inbound. Here are some of them:

"inet4_address" & "inet6_address" – deprecated and removed in favor of "address" "inet4_route_exclude_address" & "inet6_route_exclude_address" – deprecated and removed in favor of "route_exclude_address" "auto_redirect" – аutomatically configure iptables/nftables to redirect connections "include_package" & "exclude_package" – not new for v1.10, but this is a good alternative for the current app whitelisting/blacklisting (personally tested)

sing-box also provides some other TUN options useful for Android, like "strict_route", so current config has significant room for improvement in more native way. (Hopefully some of this options will also help defeat IPv6 DNS leaks finally.)

Anderhar commented 4 months ago

Confirming successful implementation in v1.6.0 (all except "include_package" & "exclude_package", but I don't know how beneficial that really would be, so any clarification is welcome.)

Anderhar commented 3 months ago

With v1.7.0, "include_package" & "exclude_package" have been implemented and automatized too – great job!