]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Tor: Do not attempt to establish connections via IPv6
authorPeter Müller <peter.mueller@ipfire.org>
Thu, 14 Sep 2023 17:45:12 +0000 (17:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 Sep 2023 06:56:21 +0000 (06:56 +0000)
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 <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/tor.cgi

index 96be35102bf0d2c3b128d7f3773e92b2762ecb54..75fdf0d5db47434a7bd13bf41702022adf3e4376 100644 (file)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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') {