[tor-bugs] #2478 [Tor Client]: Gather simulator parameters for test lab

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Feb 8 01:16:13 UTC 2011


#2478: Gather simulator parameters for test lab
------------------------+---------------------------------------------------
 Reporter:  mikeperry   |       Owner:  ioerror
     Type:  task        |      Status:  new    
 Priority:  normal      |   Milestone:         
Component:  Tor Client  |     Version:         
 Keywords:              |      Points:         
   Parent:  #2492       |  
------------------------+---------------------------------------------------

Comment(by ioerror):

 Additionally, I'm running the following script ("run-tests.sh") to
 download the files:

 {{{
 #!/bin/bash -x

 DATE=`date -u`
 # Start tcpdump to capture all traffic
 sudo -b tcpdump -n -i wlan1 -s 0 -w "$DATE.cap"

 echo "Tests started!";
 echo "`date -u`";
 # Are we using tor?
 wget check.torproject.org -O- 2>&1|grep -i img|grep -i "You are"|head -n 1

 # Download the files with wget (may be transparently Torified)
 # Data is $7USD per MB - we'll run 64M tests after we know the data
 captured is useful
 #wget --no-check-certificate https://38.229.70.19/64M
 #wget --no-check-certificate https://38.229.70.2/64M
 wget --no-check-certificate https://38.229.70.19/1M
 wget --no-check-certificate https://38.229.70.2/1M
 wget --no-check-certificate https://38.229.70.19/256k
 wget --no-check-certificate https://38.229.70.2/256k

 # Kill our running tcpdump
 sudo -b killall tcpdump
 echo "Tests finished!";
 echo "`date -u`";
 }}}

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


More information about the tor-bugs mailing list