[tor-commits] [tor/master] hs_config: Allow Tor to be configured as an IPv6-only v3 single onion service

asn at torproject.org asn at torproject.org
Fri May 10 09:49:20 UTC 2019


commit 3d89f0374a20571ca04068f10291ffefc9d76b40
Author: teor <teor at torproject.org>
Date:   Wed Apr 24 17:23:53 2019 +1000

    hs_config: Allow Tor to be configured as an IPv6-only v3 single onion service
    
    Part of #23588.
---
 src/feature/hs/hs_config.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/feature/hs/hs_config.c b/src/feature/hs/hs_config.c
index ee4499ef5..87f625759 100644
--- a/src/feature/hs/hs_config.c
+++ b/src/feature/hs/hs_config.c
@@ -496,15 +496,6 @@ config_generic_service(const config_line_t *line_,
    * becomes a single onion service. */
   if (rend_service_non_anonymous_mode_enabled(options)) {
     config->is_single_onion = 1;
-    /* We will add support for IPv6-only v3 single onion services in a future
-     * Tor version. This won't catch "ReachableAddresses reject *4", but that
-     * option doesn't work anyway. */
-    if (options->ClientUseIPv4 == 0 && config->version == HS_VERSION_THREE) {
-      log_warn(LD_CONFIG, "IPv6-only v3 single onion services are not "
-               "supported. Set HiddenServiceSingleHopMode 0 and "
-               "HiddenServiceNonAnonymousMode 0, or set ClientUseIPv4 1.");
-      goto err;
-    }
   }
 
   /* Success */





More information about the tor-commits mailing list