config.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. {
  2. "backend": {
  3. "extrainfo_file": "descriptors/cached-extrainfo",
  4. "networkstatus_file": "descriptors/networkstatus-bridges",
  5. "descriptors_file": "descriptors/bridge-descriptors",
  6. "blocklist_file": "",
  7. "allowlist_file": "",
  8. "bridgestrap_endpoint": "http://127.0.0.1:5001/bridge-state",
  9. "bridgestrap_token": "BridgestrapApiTokenPlaceholder",
  10. "onbasca_endpoint": "http://127.0.0.1:5002/bridge-state",
  11. "onbasca_token": "OnbascaApiTokenPlaceholder",
  12. "bandwidth_ratio_threshold": 0.75,
  13. "api_endpoint_resources": "/resources",
  14. "api_endpoint_resource_stream": "/resource-stream",
  15. "api_endpoint_targets": "/targets",
  16. "web_endpoint_status": "/status",
  17. "web_endpoint_metrics": "/rdsys-backend-metrics",
  18. "storage_dir": "storage",
  19. "assignments_file": "assignments.log",
  20. "resources": {
  21. "vanilla": {
  22. "unpartitioned": false,
  23. "stored": false,
  24. "distributors": [
  25. "https",
  26. "moat"
  27. ]
  28. },
  29. "obfs2": {},
  30. "obfs3": {},
  31. "obfs4": {},
  32. "scramblesuit": {},
  33. "tblink": {
  34. "unpartitioned": true,
  35. "stored": true
  36. }
  37. },
  38. "api_tokens": {
  39. "https": "HttpsApiTokenPlaceholder"
  40. },
  41. "web_api": {
  42. "api_address": "127.0.0.1:7100",
  43. "cert_file": "",
  44. "key_file": ""
  45. },
  46. "distribution_proportions": {
  47. "https": 1
  48. }
  49. },
  50. "distributors": {
  51. "https": {
  52. "resources": [
  53. "obfs4",
  54. "vanilla"
  55. ],
  56. "web_api": {
  57. "api_address": "127.0.0.1:7200",
  58. "cert_file": "",
  59. "key_file": ""
  60. },
  61. "time_distribution": {
  62. "num_bridges_per_request": 2,
  63. "rotation_period_hours": 24,
  64. "num_periods": 2,
  65. "storage_dir": "storage/https"
  66. }
  67. },
  68. "stub": {
  69. "resources": [
  70. "obfs4"
  71. ],
  72. "web_api": {
  73. "api_address": "127.0.0.1:7400",
  74. "cert_file": "",
  75. "key_file": ""
  76. }
  77. },
  78. "telegram": {
  79. "resource": "obfs4",
  80. "num_bridges_per_request": 2,
  81. "rotation_period_hours": 24,
  82. "token": "",
  83. "min_user_id": 0,
  84. "updater_tokens": {
  85. "name": "DynamicBridgeTokenPlaceholder"
  86. },
  87. "storage_dir": "/tmp/storage_telegram",
  88. "api_address": "127.0.0.1:7600",
  89. "lox_server_address": "http://localhost:8001"
  90. }
  91. },
  92. "updaters": {
  93. "gettor": {
  94. "github": {
  95. "auth_token": "",
  96. "owner": "TheTorProject",
  97. "repo": "gettorbrowser"
  98. },
  99. "gitlab": {
  100. "auth_token": "",
  101. "owner": "TheTorProject"
  102. },
  103. "s3": [
  104. {
  105. "access_key": "",
  106. "access_secret": "",
  107. "signing_method": "archive_org_dangerous_workaround",
  108. "endpoint_url": "https://s3.us.archive.org/",
  109. "endpoint_region": "",
  110. "name": "archive_org",
  111. "bucket": "",
  112. "name_procedural_generation_seed": "SECRET"
  113. },
  114. {
  115. "access_key": "",
  116. "access_secret": "",
  117. "signing_method": "v4",
  118. "endpoint_url": "https://s3.fr-par.scw.cloud",
  119. "endpoint_region": "fr-par",
  120. "name": "scaleway",
  121. "bucket": "get-tor",
  122. "name_procedural_generation_seed": ""
  123. }
  124. ],
  125. "gdrive": {
  126. "app_credential_path": "",
  127. "user_credential_path": "",
  128. "parent_folder_id": ""
  129. },
  130. "metrics_address": "127.0.0.1:7800"
  131. }
  132. }
  133. }