[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor] branch main updated: ipv6: Flip ClientUseIPv6 to 1



This is an automated email from the git hooks/post-receive script.

dgoulet pushed a commit to branch main
in repository tor.

The following commit(s) were added to refs/heads/main by this push:
     new ffb764949e ipv6: Flip ClientUseIPv6 to 1
     new 6afe03aa51 Merge branch 'tor-gitlab/mr/708'
ffb764949e is described below

commit ffb764949e7c1699af715298ce65279a2ee5df6e
Author: agowa338 <gitlab.torproject.org@xxxxxxxxxxx>
AuthorDate: Sat Apr 29 17:28:30 2023 +0000

    ipv6: Flip ClientUseIPv6 to 1
    
    Fixes #40785
    
    Signed-off-by: David Goulet <dgoulet@xxxxxxxxxxxxxx>
---
 changes/ticket40785     | 4 ++++
 doc/man/tor.1.txt       | 2 +-
 src/app/config/config.c | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/changes/ticket40785 b/changes/ticket40785
new file mode 100644
index 0000000000..998120011d
--- /dev/null
+++ b/changes/ticket40785
@@ -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.
+
diff --git a/doc/man/tor.1.txt b/doc/man/tor.1.txt
index 57992cd8d2..755cdfee5c 100644
--- a/doc/man/tor.1.txt
+++ b/doc/man/tor.1.txt
@@ -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
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 66a8fe5853..c680946c49 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -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"),

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits