Roger Dingledine commited on 2012-01-24 06:06:03
              Zeige 1 geänderte Dateien mit 18 Einfügungen und 41 Löschungen.
            
| ... | ... | 
                      @@ -14,9 +14,9 @@  | 
                  
| 14 | 14 | 
                         | 
                    
| 15 | 15 | 
                        <!-- PUT CONTENT AFTER THIS TAG -->  | 
                    
| 16 | 16 | 
                         | 
                    
| 17 | 
                        - <h1 id="instructions">Instructions</h1>  | 
                    |
| 17 | 
                        + <h1 id="instructions">Obfsproxy Instructions</h1>  | 
                    |
| 18 | 18 | 
                         | 
                    
| 19 | 
                        - <h3>Step One: Install necessary dependencies</h3>  | 
                    |
| 19 | 
                        + <h3>Step 1: Install dependencies, obfsproxy, and Tor</h3>  | 
                    |
| 20 | 20 | 
                        <br>  | 
                    
| 21 | 21 | 
                         | 
                    
| 22 | 22 | 
                        <p>  | 
                    
| ... | ... | 
                      @@ -31,12 +31,9 @@  | 
                  
| 31 | 31 | 
                        <tt># apt-get install autotools gcc git libevent-2.0-5 libevent-openssl-2.0-5 libssl-dev</tt>  | 
                    
| 32 | 32 | 
                        </p>  | 
                    
| 33 | 33 | 
                         | 
                    
| 34 | 
                        - <h3>Step Two: Install obfsproxy</h3>  | 
                    |
| 35 | 
                        - <br>  | 
                    |
| 36 | 
                        -  | 
                    |
| 37 | 34 | 
                        <p>  | 
                    
| 38 | 35 | 
                        Clone obfsproxy from its git repository:<br>  | 
                    
| 39 | 
                        - <tt>$ git clone git://git.torproject.org/obfsproxy.git</tt> <br>  | 
                    |
| 36 | 
                        + <tt>$ git clone https://git.torproject.org/obfsproxy.git</tt> <br>  | 
                    |
| 40 | 37 | 
                         | 
                    
| 41 | 38 | 
                        The above command should create and populate a directory named  | 
                    
| 42 | 39 | 
                        'obfsproxy' in your current directory. </p>  | 
                    
| ... | ... | 
                      @@ -52,39 +49,24 @@  | 
                  
| 52 | 49 | 
                        <tt># make install</tt>  | 
                    
| 53 | 50 | 
                        </p>  | 
                    
| 54 | 51 | 
                         | 
                    
| 55 | 
                        - <h3>Step Three: Install tor</h3>  | 
                    |
| 56 | 
                        - <br>  | 
                    |
| 57 | 
                        -  | 
                    |
| 58 | 52 | 
                        <p>  | 
                    
| 59 | 
                        - To follow this guide, you will need the current git master.  | 
                    |
| 60 | 
                        -  | 
                    |
| 53 | 
                        + You will need Tor 0.2.3.11-alpha or later.  | 
                    |
| 61 | 54 | 
                        </p>  | 
                    
| 62 | 55 | 
                         | 
                    
| 63 | 
                        - <p>  | 
                    |
| 64 | 
                        - <img align="left"  | 
                    |
| 65 | 
                        - style="margin-top:5px;margin-left:-10px;margin-right:5px"  | 
                    |
| 66 | 
                        - src="$(IMGROOT)/warning.png"> <strong>If you want to set up a Tor  | 
                    |
| 67 | 
                        - bridge with obfsproxy, click <a class="anchor"  | 
                    |
| 68 | 
                        - href="#bridge_instructions">here</a> for bridge instructions,  | 
                    |
| 69 | 
                        - otherwise continue to <a class="anchor"  | 
                    |
| 70 | 
                        - href="#client_instructions">step four.</a></strong>  | 
                    |
| 71 | 
                        - </p>  | 
                    |
| 56 | 
                        + <hr>  | 
                    |
| 72 | 57 | 
                         | 
                    
| 73 | 
                        - <h3 id="client_instructions">Step Four (client): Configure tor</h3>  | 
                    |
| 58 | 
                        + <h3 id="client_instructions">Step 2a: If you're the client...</h3>  | 
                    |
| 74 | 59 | 
                        <br>  | 
                    
| 75 | 60 | 
                         | 
                    
| 76 | 61 | 
                        <p>  | 
                    
| 77 | 
                        - Set up your tor configuration file:<br><br>  | 
                    |
| 62 | 
                        + Set up your Tor configuration file:<br><br>  | 
                    |
| 78 | 63 | 
                        <img src="$(IMGROOT)/obfs-torrc_client.png" alt="client torrc"></a>  | 
                    
| 79 | 64 | 
                        </p>  | 
                    
| 80 | 65 | 
                         | 
                    
| 81 | 
                        - <h3>Step Five (client): Launch tor</h3>  | 
                    |
| 82 | 
                        - <br>  | 
                    |
| 83 | 
                        -  | 
                    |
| 84 | 66 | 
                        <p>  | 
                    
| 85 | 
                        - Launch tor using the configuration file you made in the previous  | 
                    |
| 86 | 
                        - step. You can do this by using your favorite init script, or by  | 
                    |
| 87 | 
                        - pointing the tor binary to the torrc:  | 
                    |
| 67 | 
                        + Launch Tor using this configuration file. You can do this by using  | 
                    |
| 68 | 
                        + your favorite init script, or by pointing the Tor binary to the  | 
                    |
| 69 | 
                        + torrc file:  | 
                    |
| 88 | 70 | 
                        </p>  | 
                    
| 89 | 71 | 
                         | 
                    
| 90 | 72 | 
                        <img src="$(IMGROOT)/obfs-spawn_tor_client.png" alt="spawn tor" height="101" width="882">  | 
                    
| ... | ... | 
                      @@ -101,32 +83,27 @@  | 
                  
| 101 | 83 | 
                         | 
                    
| 102 | 84 | 
                        <br> <br> <br> <br>  | 
                    
| 103 | 85 | 
                         | 
                    
| 104 | 
                        - <h3 id="bridge_instructions">Step Four (bridge): Configure tor</h3>  | 
                    |
| 86 | 
                        + <h3 id="bridge_instructions">Step 2b: If you're the bridge...</h3>  | 
                    |
| 105 | 87 | 
                        <br>  | 
                    
| 106 | 88 | 
                         | 
                    
| 107 | 89 | 
                        <p>  | 
                    
| 108 | 
                        - Set up your tor configuration file:<br><br>  | 
                    |
| 90 | 
                        + Set up your Tor configuration file:<br><br>  | 
                    |
| 109 | 91 | 
                        <img src="$(IMGROOT)/obfs-torrc_bridge.png" alt="bridge torrc"></a>  | 
                    
| 110 | 92 | 
                        </p>  | 
                    
| 111 | 93 | 
                         | 
                    
| 112 | 
                        - <h3>Step Five (bridge): Launch tor</h3>  | 
                    |
| 113 | 
                        - <br>  | 
                    |
| 114 | 
                        -  | 
                    |
| 115 | 94 | 
                        <p>  | 
                    
| 116 | 
                        - Launch tor using the configuration file you made in the previous  | 
                    |
| 117 | 
                        - step. You can do this by using your favorite init script, or by  | 
                    |
| 118 | 
                        - pointing the tor binary to the torrc:  | 
                    |
| 95 | 
                        + Launch Tor using this configuration file. You can do this by using  | 
                    |
| 96 | 
                        + your favorite init script, or by pointing the Tor binary to the  | 
                    |
| 97 | 
                        + torrc file:  | 
                    |
| 119 | 98 | 
                        <p>  | 
                    
| 120 | 99 | 
                         | 
                    
| 121 | 100 | 
                        <p>  | 
                    
| 122 | 101 | 
                        <img src="$(IMGROOT)/obfs-spawn_tor_bridge.png" alt="spawn tor" height="101" width="882"></a>  | 
                    
| 123 | 102 | 
                        </p>  | 
                    
| 124 | 103 | 
                         | 
                    
| 125 | 
                        - <h3>Step Six (bridge): Find the TCP ports opened by obfsproxy</h3>  | 
                    |
| 126 | 
                        - <br>  | 
                    |
| 127 | 
                        -  | 
                    |
| 128 | 104 | 
                        <p>  | 
                    
| 129 | 
                        - Look in your log file for a line similar to this one: <br>  | 
                    |
| 105 | 
                        + Next, Find the TCP port opened by obfsproxy. Look in your log file  | 
                    |
| 106 | 
                        + for a line similar to this one: <br>  | 
                    |
| 130 | 107 | 
                        <img src="$(IMGROOT)/obfs-log_checking.png" alt="bridge torrc" width="437" height="14"></a>  | 
                    
| 131 | 108 | 
                        <br>  | 
                    
| 132 | 109 | 
                        The last number, in this case <em>34545</em>, is the TCP port  | 
                    
| ... | ... | 
                      @@ -136,7 +113,7 @@  | 
                  
| 136 | 113 | 
                        <p>  | 
                    
| 137 | 114 | 
                        <img src="$(IMGROOT)/sidenav-arrow.png">  | 
                    
| 138 | 115 | 
                        <strong>Congratulations!</strong> Tell your clients to point their  | 
                    
| 139 | 
                        - obfsproxy to your IP and to port <em>34545</em>.  | 
                    |
| 116 | 
                        + obfsproxy to your IP address and to port <em>34545</em>.  | 
                    |
| 140 | 117 | 
                        </p>  | 
                    
| 141 | 118 | 
                         | 
                    
| 142 | 119 | 
                        <br>  | 
                    
| 143 | 120 |