From: Peter Müller Date: Thu, 14 Sep 2023 17:45:12 +0000 (+0000) Subject: Tor: Do not attempt to establish connections via IPv6 X-Git-Tag: v2.27-core180~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13b04e6998a4be3ed0c54221b8918b967f0e5395;p=ipfire-2.x.git Tor: Do not attempt to establish connections via IPv6 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 --- 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') {