Clean readme

This commit is contained in:
Pascal Engélibert 2026-03-17 15:25:27 +01:00
commit b8ad9c1c03
3 changed files with 27 additions and 841 deletions

10
exp.py
View file

@ -260,7 +260,9 @@ CONFIGS = {
True,
],
"records": [
{ "filename": "wikipedia", "repeat": 12000, "time": 60 },
# Can't repeat more than 8000 times here
# TODO check if netreplay client frees ports correctly, or try to reuse ports
{ "filename": "wikipedia", "repeat": 8000, "time": 45 },
],
"repo_dir": "/home/pengelib/tlsbench",
"exp_dir": "/dev/shm/exp",
@ -275,7 +277,7 @@ CONFIGS = {
"rapl": False,
"sa": False,
"listen_port": 8080,
"idle": "idle - - - - - - - - - 1772205368.593937 1772206568.6941307 1200.1001937389374 0 298843 2217803 16.6 0 -",
"idle": "idle - - - - - - - - - 1772205368.593937 1772206568.6941307 1200.1001937389374 0 298843 2217803 5.53333333333333 0 -",
"notify_listen": ("0.0.0.0", 8090),
"notify_addr": "TODO:8090",
"ld_preload": {
@ -326,6 +328,8 @@ DOMAINS_ = [
"en.wikipedia.org", "auth.wikimedia.org", "upload.wikimedia.org", "meta.wikimedia.org", "intake-analytics.wikimedia.org",
# Google search
"www.google.com", "www.googleadservices.com", "www.gstatic.com", "csp.withgoogle.com", "ogads-pa.clients6.google.com", "play.google.com", "ssl.gstatic.com", "fonts.gstatic.com", "ogs.google.com",
# Firefox extensions
"addons.mozilla.org",
]
CERT_SIGN_ALGS = [
@ -929,7 +933,7 @@ def run_exp(config, only_record=None, idle=False, shutdown=False, debug=False):
session_count = 0
try:
while True:
rec_count = int.from_bytes(notify_socket.recv(4))
rec_count = int.from_bytes(notify_socket.recv(4), "big")
if rec_count == 0xffffffff:
break
if rec_count > session_count: