lox-simulation/setup_files/config.json

134 lines
4.2 KiB
JSON
Raw Normal View History

2024-06-18 18:56:16 -04:00
{
"backend": {
"extrainfo_file": "descriptors/cached-extrainfo",
"networkstatus_file": "descriptors/networkstatus-bridges",
"descriptors_file": "descriptors/bridge-descriptors",
"blocklist_file": "",
"allowlist_file": "",
"bridgestrap_endpoint": "http://127.0.0.1:5001/bridge-state",
"bridgestrap_token": "BridgestrapApiTokenPlaceholder",
"onbasca_endpoint": "http://127.0.0.1:5002/bridge-state",
"onbasca_token": "OnbascaApiTokenPlaceholder",
"bandwidth_ratio_threshold": 0.75,
"api_endpoint_resources": "/resources",
"api_endpoint_resource_stream": "/resource-stream",
"api_endpoint_targets": "/targets",
"web_endpoint_status": "/status",
"web_endpoint_metrics": "/rdsys-backend-metrics",
"storage_dir": "storage",
"assignments_file": "assignments.log",
"resources": {
"vanilla": {
"unpartitioned": false,
"stored": false,
"distributors": [
"https",
"moat"
]
},
"obfs2": {},
"obfs3": {},
"obfs4": {},
"scramblesuit": {},
"tblink": {
"unpartitioned": true,
"stored": true
}
},
"api_tokens": {
"https": "HttpsApiTokenPlaceholder"
},
"web_api": {
"api_address": "127.0.0.1:7100",
"cert_file": "",
"key_file": ""
},
"distribution_proportions": {
"https": 1
}
},
"distributors": {
"https": {
"resources": [
"obfs4",
"vanilla"
],
"web_api": {
"api_address": "127.0.0.1:7200",
"cert_file": "",
"key_file": ""
},
"time_distribution": {
"num_bridges_per_request": 2,
"rotation_period_hours": 24,
"num_periods": 2,
"storage_dir": "storage/https"
}
},
"stub": {
"resources": [
"obfs4"
],
"web_api": {
"api_address": "127.0.0.1:7400",
"cert_file": "",
"key_file": ""
}
},
"telegram": {
"resource": "obfs4",
"num_bridges_per_request": 2,
"rotation_period_hours": 24,
"token": "",
"min_user_id": 0,
"updater_tokens": {
"name": "DynamicBridgeTokenPlaceholder"
},
"storage_dir": "/tmp/storage_telegram",
"api_address": "127.0.0.1:7600",
"lox_server_address": "http://localhost:8001"
}
},
"updaters": {
"gettor": {
"github": {
"auth_token": "",
"owner": "TheTorProject",
"repo": "gettorbrowser"
},
"gitlab": {
"auth_token": "",
"owner": "TheTorProject"
},
"s3": [
{
"access_key": "",
"access_secret": "",
"signing_method": "archive_org_dangerous_workaround",
"endpoint_url": "https://s3.us.archive.org/",
"endpoint_region": "",
"name": "archive_org",
"bucket": "",
"name_procedural_generation_seed": "SECRET"
},
{
"access_key": "",
"access_secret": "",
"signing_method": "v4",
"endpoint_url": "https://s3.fr-par.scw.cloud",
"endpoint_region": "fr-par",
"name": "scaleway",
"bucket": "get-tor",
"name_procedural_generation_seed": ""
}
],
"gdrive": {
"app_credential_path": "",
"user_credential_path": "",
"parent_folder_id": ""
},
"metrics_address": "127.0.0.1:7800"
}
}
}