feat: warp endpoint; fix: hardening

This commit is contained in:
FUFSoB committed 2026-09-23 11:50:22 +05:00
1 parent 8f65fa9c25
commit 5f29f30790
32 files changed
+266 -381

No files matched your search

+6 -1
View File
@@ -591,7 +591,12 @@ let
(ok ((ruleByTag exitConfig "inbound-final").outboundTag == "direct"))
# Safety rules come first.
(ok (lib.take 2 (ruleTags relayConfig) == [ "inbound-stats-api" "inbound-block-private" ]))
(ok (
lib.take 2 (ruleTags relayConfig) == [
"inbound-stats-api"
"inbound-block-private"
]
))
(ok ((ruleByTag relayConfig "inbound-block-private").outboundTag == "block"))
(ok ((ruleByTag relayConfig "inbound-block-ru-domain").domain == [ "geosite:category-ru" ]))
(ok ((ruleByTag relayConfig "inbound-block-ru-ip").ip == [ "geoip:ru" ]))