feat: tor support

This commit is contained in:
FUFSoB committed 2026-09-17 20:12:17 +05:00
1 parent 97332c1774
commit 321e9ca468
42 files changed
+1853 -69

No files matched your search

+18
View File
@@ -5,6 +5,7 @@
let
inherit (checkLib)
mkRouting
evalProxySuite
mkRoutingRules
mkRouteModeRules
@@ -124,6 +125,21 @@ let
;
};
torChecks = import ./tor.nix {
inherit
pkgs
evalProxySuite
mkBadProxySuiteFixture
mkFailingAssertions
mkRouting
mkTunConfig
mkTProxyConfig
mkInboundsSpec
mkInboundsConfig
mkProxyCtlDerived
;
};
proxyInboundsChecks = import ./proxy-inbounds.nix {
inherit
pkgs
@@ -276,6 +292,7 @@ let
++ localProxyAuthChecks.assertions
++ sshProxyChecks.assertions
++ warpChecks.assertions
++ torChecks.assertions
++ proxyInboundsChecks.assertions
++ tgWsProxyChecks.assertions
++ xrayBackendChecks.assertions
@@ -297,6 +314,7 @@ in
proxy-suite-module = builtins.seq validated (pkgs.writeText "proxy-suite-module-check" "ok");
amneziawg-secret-manifest = amneziaWgChecks.manifest;
xray-jq-filter-runtime = xrayBackendChecks.runtime;
tor-guard-runtime = torChecks.runtime;
per-app-zapret-runtime = perAppRoutingChecks.runtime;
zapret-hostlist-rules = zapretChecks.rules;
zapret2-config = zapret2Checks.runtime;