feat: whitelists bypass methods

This commit is contained in:
fufsob committed 2026-09-25 02:24:05 +00:00
1 parent 11c44deb61
commit f3e9140f62
22 files changed
+716 -3

No files matched your search

+14
View File
@@ -130,6 +130,18 @@ let
tls.keyFile = "/k";
};
};
whitelistBypass = {
enable = true;
joiners.wl = {
platform = "wbstream";
linkFile = "/run/secrets/wb-link";
};
creators.phone = {
platform = "dion";
cookiesFile = "/run/secrets/wb-cookies";
upstream = "proxy";
};
};
};
};
@@ -213,6 +225,8 @@ in
assert lib.hasInfix "proxy-suitectl ensure" nodCfg.environment.etc.profile.text;
assert forced nodCfg.build.activationAfter.proxySuite;
assert nodCfg.services.proxy-suite.internal.services.proxy-suite-tor.enable;
assert nodCfg.services.proxy-suite.internal.services.proxy-suite-wb-joiner-wl.enable;
assert nodCfg.services.proxy-suite.internal.services.proxy-suite-wb-creator-phone.enable;
# Android bans apps from netlink's route groups, which stock sing-box subscribes to.
assert nodCfg.services.proxy-suite.proxy.singBox.package.passthru.rootlessNetlink or false;
assert !(hmCfg.services.proxy-suite.proxy.singBox.package.passthru.rootlessNetlink or false);
+1
View File
@@ -753,6 +753,7 @@ in
sshProxyCfg = null;
warpCfg = null;
torCfg = null;
whitelistBypassJoiners = [ ];
awgOutbounds = null;
constants = null;
pureXrayEnabled = null;
@@ -20,6 +20,7 @@ let
sshProxyCfg = null;
warpCfg = null;
torCfg = null;
whitelistBypassJoiners = [ ];
awgOutbounds = null;
constants = null;
hybridEnabled = null;