Skip to content
Snippets Groups Projects
Commit cec2b090 authored by Huai Che Chang's avatar Huai Che Chang
Browse files

Merge branch 'infra_test' into 'master'

11/22 infrastructure test

See merge request !7
parents fa6bf9b3 740f9908
Branches master
1 merge request!711/22 infrastructure test
{"google_api_key": "AIzaSyA1smCHQZK2pdMnHrW5cM6bWyqkGuq49UQ"}
......@@ -164,7 +164,7 @@ def ping_routed(f, args):
lines = [MULTISPACE_PATTERN.split(x) for x in lines]
lines = [dict(zip(ROUTE_COLUMNS, x)) for x in lines]
lines = [x for x in lines if not x["Destination"] == "255.255.255.255/32"]
# lines = [x for x in lines if x["Netif"] not in {"en0", "lo0", "vboxnet"}] # no Netif key exists
# lines = [x for x in lines if x["Netif"] not in {"en0", "lo0", "vboxnet"}]
output = utils.ping_all(
[line["Destination"].split("/", 1)[0] for line in lines])
......
{"google_api_key": "AIzaSyA1smCHQZK2pdMnHrW5cM6bWyqkGuq49UQ"}
......@@ -151,24 +151,24 @@ log_checkpoint "testing"
##############################################################################
info_box "EXECUTING LEAKAGE TESTS"
run_test test_dns_leakage dns_leak $ROOT/leakage_tests/dns/
run_test test_webrtc_leak rtc_leak $ROOT/leakage_tests/webrtc/
run_test test_ipv6_leakage ipv6_leakage
# info_box "EXECUTING LEAKAGE TESTS"
# run_test test_dns_leakage dns_leak $ROOT/leakage_tests/dns/
# run_test test_webrtc_leak rtc_leak $ROOT/leakage_tests/webrtc/
# run_test test_ipv6_leakage ipv6_leakage
###############################################################################
info_box "EXECUTING MANIPULATION TESTS"
run_test test_dns_manipulation dns_manipulation $ROOT/manipulation_tests/dns/
run_test test_dom_redirection dom_redirection $ROOT/manipulation_tests/redirection_dom/
# info_box "EXECUTING MANIPULATION TESTS"
# run_test test_dns_manipulation dns_manipulation $ROOT/manipulation_tests/dns/
# run_test test_dom_redirection dom_redirection $ROOT/manipulation_tests/redirection_dom/
#run_test test_ssl_collection ssl_collection $ROOT/manipulation_tests/ssl/
#run_test test_bad_requests bad_requests $ROOT/manipulation_tests/badrequests/
##############################################################################
info_box "EXECUTING INFRASTRUCTURE TESTS"
run_test test_recursive_dns_origin recursive_dns_origin
run_test test_backconnect backconnect
# run_test test_recursive_dns_origin recursive_dns_origin
# run_test test_backconnect backconnect
run_test test_infra_infer infrastructure_inference
################################################################################
......@@ -178,7 +178,7 @@ run_test test_infra_infer infrastructure_inference
#run_test test_netalyzr netalyzr "./manipulation_tests/netalyzr"
SKIP_IP_VERIFY=1 # Skip IP check for tunnel failure :-)
run_test test_tun_fail tunnel_failure "./leakage_tests/tunnel_failure/"
# run_test test_tun_fail tunnel_failure "./leakage_tests/tunnel_failure/"
################################################################################
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment