[tor-commits] [nyx/master] Connect by default to Tor Browser's default port

atagar at torproject.org atagar at torproject.org
Fri Dec 15 18:48:40 UTC 2017


commit e50d2f3228bf8a80b1e7cad6e00f32bf2a934f9c
Author: Damian Johnson <atagar at torproject.org>
Date:   Fri Dec 15 10:47:38 2017 -0800

    Connect by default to Tor Browser's default port
    
    Oops, Stem is smart enough to know about the default Tor Browser port, but
    since we explicitly pass in a port argument it overwrote that.
---
 nyx/arguments.py         | 2 +-
 web/changelog/index.html | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/nyx/arguments.py b/nyx/arguments.py
index 698328f..d8b793b 100644
--- a/nyx/arguments.py
+++ b/nyx/arguments.py
@@ -15,7 +15,7 @@ import nyx.log
 import stem.util.connection
 
 DEFAULT_ARGS = {
-  'control_port': ('127.0.0.1', 9051),
+  'control_port': ('127.0.0.1', 'default'),
   'control_socket': '/var/run/tor/control',
   'config': os.path.join(os.path.expanduser('~/.nyx'), 'config'),
   'debug_path': None,
diff --git a/web/changelog/index.html b/web/changelog/index.html
index 94d8886..333fa84 100644
--- a/web/changelog/index.html
+++ b/web/changelog/index.html
@@ -68,6 +68,12 @@
       <p>The following are only available within Nyx's <a href="https://gitweb.torproject.org/nyx.git">git repository</a>.</p>
 
       <ul>
+        <li><span class="component">Startup</span>
+          <ul>
+            <li>Connect by default to Tor Browser's default port (9151) when it's available</li>
+          </ul>
+        </li>
+
         <li><span class="component">Connections</span>
           <ul>
             <li>Geoip information unavailable for inbound connections</li>



More information about the tor-commits mailing list