From 13b04e6998a4be3ed0c54221b8918b967f0e5395 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Thu, 14 Sep 2023 17:45:12 +0000 Subject: [PATCH] Tor: Do not attempt to establish connections via IPv6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To quote from the changelog of Tor 0.4.8.4: o Minor feature (client, IPv6): - Make client able to pick IPv6 relays by default now meaning ClientUseIPv6 option now defaults to 1. Closes ticket 40785. In order to avoid any malfunctions on IPFire installations, set this option to "0" explicitly. Signed-off-by: Peter Müller Signed-off-by: Michael Tremer --- html/cgi-bin/tor.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/cgi-bin/tor.cgi b/html/cgi-bin/tor.cgi index 96be35102b..75fdf0d5db 100644 --- a/html/cgi-bin/tor.cgi +++ b/html/cgi-bin/tor.cgi @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team # +# Copyright (C) 2007-2023 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -732,6 +732,7 @@ sub BuildConfiguration() { # Global settings. print FILE "Sandbox 1\n"; print FILE "HardwareAccel 1\n"; + print FILE "ClientUseIPv6 0\n"; print FILE "ControlPort $TOR_CONTROL_PORT\n"; if ($settings{'TOR_ENABLED'} eq 'on') { -- 2.39.5