]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
ipv6: Flip ClientUseIPv6 to 1
authoragowa338 <gitlab.torproject.org@agowa338.de>
Sat, 29 Apr 2023 17:28:30 +0000 (17:28 +0000)
committerDavid Goulet <dgoulet@torproject.org>
Wed, 24 May 2023 15:03:15 +0000 (11:03 -0400)
Fixes #40785

Signed-off-by: David Goulet <dgoulet@torproject.org>
changes/ticket40785 [new file with mode: 0644]
doc/man/tor.1.txt
src/app/config/config.c

diff --git a/changes/ticket40785 b/changes/ticket40785
new file mode 100644 (file)
index 0000000..9981200
--- /dev/null
@@ -0,0 +1,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.
+
index 57992cd8d2be6407986c67c20f1ba3b35c8348d1..755cdfee5c2b263984fe03d9ae156a36eea5f4e4 100644 (file)
@@ -1180,7 +1180,7 @@ The following options are useful only for clients (that is, if
     entry nodes over IPv6. For IPv6 only hosts, you need to also set
     **ClientUseIPv4** to 0 to disable IPv4. Note that clients configured with
     an IPv6 address in a **Bridge**, proxy, or pluggable transportline will
-    try connecting over IPv6 even if **ClientUseIPv6** is set to 0. (Default: 0)
+    try connecting over IPv6 even if **ClientUseIPv6** is set to 0. (Default: 1)
 
 [[ConnectionPadding]] **ConnectionPadding** **0**|**1**|**auto**::
     This option governs Tor's use of padding to defend against some forms of
index 66a8fe5853636824195517d63290b6701c85aa72..c680946c49e9f83219f3b5c74e51ea0b147c934c 100644 (file)
@@ -375,7 +375,7 @@ static const config_var_t option_vars_[] = {
   OBSOLETE("ClientAutoIPv6ORPort"),
   V(ClientRejectInternalAddresses, BOOL,   "1"),
   V(ClientTransportPlugin,       LINELIST, NULL),
-  V(ClientUseIPv6,               BOOL,     "0"),
+  V(ClientUseIPv6,               BOOL,     "1"),
   V(ClientUseIPv4,               BOOL,     "1"),
   V(ConfluxEnabled,              AUTOBOOL, "auto"),
   V(ConnLimit,                   POSINT,     "1000"),