[tor-bugs] #4248 [Analysis]: Hack up stunnel to test a transport that uses a vanilla SSL handshake

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Dec 9 09:40:14 UTC 2011


#4248: Hack up stunnel to test a transport that uses a vanilla SSL handshake
-------------------------+--------------------------------------------------
 Reporter:  arma         |          Owner:     
     Type:  task         |         Status:  new
 Priority:  normal       |      Milestone:     
Component:  Analysis     |        Version:     
 Keywords:  performance  |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------

Comment(by mazda):

 Here is the results for obfuscated test:

 on obfsproxy+tor:

 curl --socks5 127.0.0.1:5000 http://00.00.00.00/testfile.zip -o day2.zip
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 10.0M  100 10.0M    0     0  47929      0  0:03:38  0:03:38 --:--:--
 48169

 on normal tor:

 curl --socks5 127.0.0.1:9050 http://00.00.00.00/testfile.zip -o day2-2.zip
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 10.0M  100 10.0M    0     0   113k      0  0:01:30  0:01:30 --:--:--
  123k

 weird! isn't it? I've never experienced this speed over tor before!
 but at the very same time, on my other machine (Mac OS X). I'm
 experiencing pain over tor! pretty slow!

 Direct connection:

 curl http://00.00.00.00/testfile.zip -o day2-3.zip
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 10.0M  100 10.0M    0     0   113k      0  0:01:29  0:01:29 --:--:--
  109k

 I'm gonna test it once again...

 on tor:

 curl --socks5 127.0.0.1:9050 http://00.00.00.00/testfile.zip -o day2-4.zip
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 10.0M  100 10.0M    0     0  25764      0  0:06:46  0:06:46 --:--:--
 38053

 more realistic this time

 so now I will delete my tor data to make sure everything is alright:

 rm -rf ~/.tor/*

 now will start obfsproxy and test again...

 on obfsproxy+tor:

 the result is... impressive!

 curl --socks5 127.0.0.1:5000 http://00.00.00.00/testfile.zip -o day2-5.zip
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 10.0M  100 10.0M    0     0  88378      0  0:01:58  0:01:58 --:--:--
  108k

 direct connection (no proxy):

 curl http://00.00.00.00/testfile.zip -o day2-6.zip
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 10.0M  100 10.0M    0     0   124k      0  0:01:22  0:01:22 --:--:--
  123k

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4248#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list