From d7084cab9edbe41e7f66c049e15a43f2d9cb548d Mon Sep 17 00:00:00 2001 From: SimplifiedPrivacy Date: Mon, 29 Jun 2026 15:08:20 -0400 Subject: [PATCH] Fixed IPv6 Tor-PyProxy Issue --- essentials/modules/TorModule.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/essentials/modules/TorModule.py b/essentials/modules/TorModule.py index a7f2e0d..9f18848 100644 --- a/essentials/modules/TorModule.py +++ b/essentials/modules/TorModule.py @@ -33,12 +33,13 @@ class TorModule: def start_service(self, connection_observer: Optional[ConnectionObserver] = None): - print("started tor service") - Path(self.state_home).mkdir(mode=0o700, parents=True, exist_ok=True) + print("[TOR MODULE] Making sure any existing Tor Service is stopped.") self.stop_service() + print("[TOR MODULE] Starting Tor service without IPv6") + # if connection_observer is not None: # connection_observer.notify("tor_bootstrapping") @@ -51,6 +52,7 @@ class TorModule: "ControlSocket": self.control_socket_path, "PIDFile": self.process_identifier_path, "SocksPort": "0", + "ClientUseIPv6": '0', }, init_msg_handler=lambda contents: TorModule.__on_initialization_message( contents, connection_observer @@ -147,7 +149,7 @@ class TorModule: controller.set_conf("SocksPort", socks_port_numbers) def destroy_session(self, port_number: int): - print("destroying session") + print("destroying Tor session") try: