From 923f5fcb4f82942d03a0be865aaaec9d4cbbae82 Mon Sep 17 00:00:00 2001 From: LorenEteval Date: Fri, 19 Jun 2026 22:46:59 +0800 Subject: [PATCH] Remove direct rules check for custom routing in "Furious/Core/CoreManager.py" Signed-off-by: LorenEteval --- Furious/Core/CoreManager.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Furious/Core/CoreManager.py b/Furious/Core/CoreManager.py index d73f97a..d91e862 100644 --- a/Furious/Core/CoreManager.py +++ b/Furious/Core/CoreManager.py @@ -293,14 +293,17 @@ class CoreManager(Mixins.CleanupOnExit): elif customRoutingObjectFromSettings(routing) is not None: routingObject = customRoutingObjectFromSettings(routing) - if ( - routingObjectHasDirectRule(routingObject) - and not proxyModeOnly - and SystemRuntime.isTUNMode() - ): - showMBoxDirectRulesNotAllowed() - - return None, False + # + # TODO: Warning: no check for custom routing + # + # if ( + # routingObjectHasDirectRule(routingObject) + # and not proxyModeOnly + # and SystemRuntime.isTUNMode() + # ): + # showMBoxDirectRulesNotAllowed() + # + # return None, False elif routing == AppBuiltinRouting.Custom.value: routingObject = config.get('routing', {}) else: