config.router.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "source": {
  3. "type": "cfst_local"
  4. },
  5. "cfst_local": {
  6. "work_dir": "./cfst_darwin_arm64",
  7. "binary": "./cfst",
  8. "run_args": [
  9. "-f",
  10. "ip.txt",
  11. "-o",
  12. "result.csv",
  13. "-p",
  14. "10"
  15. ],
  16. "result_file": "result.csv",
  17. "run_timeout_sec": 600,
  18. "skip_run": false,
  19. "header_rows": 1,
  20. "columns": {
  21. "ip": 0,
  22. "sent": 1,
  23. "received": 2,
  24. "loss_rate": 3,
  25. "avg_latency": 4,
  26. "download_speed": 5,
  27. "region": 6
  28. }
  29. },
  30. "domain_filter": {
  31. "include_suffixes": [],
  32. "exclude_regex": []
  33. },
  34. "healthcheck": {
  35. "enabled": false,
  36. "attempts": 3,
  37. "timeout_ms": 1800,
  38. "port": 443,
  39. "tls_verify": false
  40. },
  41. "selection": {
  42. "top_n": 3
  43. },
  44. "output": {
  45. "runtime_dir": "./cfip_runtime",
  46. "selected_value_file": "current_ip.txt",
  47. "selected_value_json": "current_ip.json",
  48. "selected_value_json_key": "ip",
  49. "state_file": "state.json",
  50. "state_last_good_key": "last_good_ip",
  51. "export_vars_file": "substore_vars.json",
  52. "substore_value_key": "AUTO_CFIP"
  53. },
  54. "v2ray": {
  55. "template_file": "",
  56. "output_file": "",
  57. "replace_token": "__AUTO_DOMAIN__"
  58. },
  59. "notify": {
  60. "command": ""
  61. }
  62. }