Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cecylia Bocovich
probetest
Commits
b86c4d73
Commit
b86c4d73
authored
Jul 19, 2021
by
Cecylia Bocovich
Browse files
Move and rename analysis scripts to subdirectory
parent
00b97f5d
Changes
12
Hide whitespace changes
Inline
Side-by-side
README
View file @
b86c4d73
...
...
@@ -27,12 +27,12 @@ Add to crontab to run tests 4x a day:
Analyze Tor bootstrap progress from logs:
1. Make the CSV: find log -name '*.log' | sort | ./makecsv > bootstrap.csv
2. Plot the results: Rscript
g
rap
h
.R bootstrap.csv
2. Plot the results: Rscript
plot-bootst
rap.R bootstrap.csv
Analyze obfs4 throughput from pcap files:
1. Adapt the variables CLIENT_TUPLE and SERVER_TUPLE in infer-throughput.py.
2. Run the script: python
infer
-throughput.py download.pcap > download.csv
3. Plot the results: Rscript
plot
-throughput.R download.csv
2. Run the script: python
obfs4
-throughput.py download.pcap > download.csv
3. Plot the results: Rscript
obfs4
-throughput.R download.csv
Analyze snowflake throughput from pcap files:
1. Plot the results: Rscript snowflake-throughput.R snowflake-throughput.csv
...
...
makecsv
→
analysis/
makecsv
View file @
b86c4d73
File moved
plot
-throughput.R
→
analysis/obfs4
-throughput.R
View file @
b86c4d73
File moved
infer
-throughput.py
→
analysis/obfs4
-throughput.py
View file @
b86c4d73
File moved
g
rap
h
.R
→
analysis/plot-bootst
rap.R
View file @
b86c4d73
File moved
snowflake-stage.R
→
analysis/
snowflake-stage.R
View file @
b86c4d73
File moved
snowflake-stage.lua
→
analysis/
snowflake-stage.lua
View file @
b86c4d73
File moved
snowflake-stage.py
→
analysis/
snowflake-stage.py
View file @
b86c4d73
File moved
snowflake-throughput.R
→
analysis/
snowflake-throughput.R
View file @
b86c4d73
File moved
snowflake-throughput.py
→
analysis/
snowflake-throughput.py
View file @
b86c4d73
File moved
probetest.sh
View file @
b86c4d73
...
...
@@ -22,10 +22,7 @@ case $CASE in
'snowflake'
)
# First test reachability of STUN servers
"
$dirname
/stun-test/stun-test"
# Throughput/reachibility test of 10
0
snowflakes
# Throughput/reachibility test of 10 snowflakes
"
$dirname
/snowflaketest"
# Process .pcap files and delete
"
$dirname
/snowflake-throughput.py"
>
snowflake-throughput.csv
rm
*
.pcap
;;
esac
snowflaketest
View file @
b86c4d73
...
...
@@ -148,8 +148,6 @@ for x in range(0, 10):
#give data to log file
timestamp
=
datetime
.
utcnow
().
strftime
(
"%b %d %H:%M:%S.%f"
)
output
.
write
(
timestamp
+
"
\n
"
)
subprocess
.
Popen
([
"/usr/bin/tshark"
,
"-q"
,
"-Xlua_script:../../../../snowflake-stage.lua"
,
"-r"
,
"%s-%s.pcap"
%
(
nickname
,
"eth0"
)],
stdout
=
output
).
communicate
()[
0
]
logging
.
info
(
"Probed snowflake proxy %d time(s)"
%
(
x
+
1
))
finally
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment