[tor-commits] [atlas/master] Use the default IPv6 exit policy when it is empty

irl at torproject.org irl at torproject.org
Sun Apr 16 11:52:16 UTC 2017


commit 14de81984189ca24847cf6621ed25befa0dc7798
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Sun Apr 16 11:19:48 2017 +0000

    Use the default IPv6 exit policy when it is empty
    
    According to the Tor directory protocol, a missing "ipv6-policy" line is
    equivalent to "ipv6-policy reject 1-65535".
    
    Closes #21743.
---
 templates/details/router.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/details/router.html b/templates/details/router.html
index f582b01..603282a 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -48,7 +48,7 @@
         <pre class="pre-scrollable">reject<% _.each(relay.get('exit_policy_v6_summary')['reject'],
           function(ports) { %><br>  <%= $.trim(ports) %><% });} %></pre>
       <% if (relay.get('exit_policy_v6_summary') == null) { %>
-        <pre class="pre-scrollable">none defined</pre>
+        <pre class="pre-scrollable">reject<br>  1-65535</pre>
       <% } %>
       </dd>
       <dt><span class="tip" title="Policy of exit connections that the relay is going to accept or reject." data-original-title="Exit policy">Exit Policy</span></dt>



More information about the tor-commits mailing list