[or-cvs] minor cleanups on the control howto

arma at seul.org arma at seul.org
Mon Aug 15 08:39:34 UTC 2005


Update of /home2/or/cvsroot/control/doc
In directory moria:/home/arma/work/onion/cvs/control/doc

Modified Files:
	howto.txt 
Log Message:
minor cleanups on the control howto


Index: howto.txt
===================================================================
RCS file: /home2/or/cvsroot/control/doc/howto.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- howto.txt	14 Jul 2005 20:26:11 -0000	1.5
+++ howto.txt	15 Aug 2005 08:39:31 -0000	1.6
@@ -130,7 +130,7 @@
        tor -controlport 9100
 
    Then your controller can connect to Tor.  But see the notes on
-   authentication below (x.x).
+   authentication below (3.2).
 
    This document covers the Python and Java interfaces to Tor, and the
    underlying "v1" control protocol introduced in Tor version
@@ -154,7 +154,7 @@
        public static final void main(String[] args) {
          Socket s = new Socket("127.0.0.1", 9100);
          TorControlConnection conn = TorControlConnection.getConnection(s);
-         conn.authenticate(new byte[0]); // See section x.x
+         conn.authenticate(new byte[0]); // See section 3.2
          // ...
        }
      }
@@ -167,7 +167,7 @@
       s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
       s.connect(("127.0.0.1", 9100))
       conn = TorCtl.get_connection(s)
-      conn.authenticate("")  # See section x.x
+      conn.authenticate("")  # See section 3.2
       # ...
 
    The factory method that you use to create a connection will check whether



More information about the tor-commits mailing list