Files
s5p/TASKS.md
user eddcc5f615 docs: update project docs for backoff, stale expiry, pool metrics
Add failure backoff and stale expiry sections to USAGE. Document pool=
field in metrics output. Update ROADMAP, TASKS, TODO with completed
items and remaining suggestions. Add metrics example to CHEATSHEET.
2026-02-15 15:56:06 +01:00

1.1 KiB

s5p -- Tasks

Current

  • Scaffold project structure

  • Implement SOCKS5 server

  • Implement protocol handshakes (SOCKS5, SOCKS4/4a, HTTP CONNECT)

  • Implement chain builder

  • CLI and config loading

  • Unit tests (config, proto)

  • Documentation

  • Smoke test with Tor

  • Containerfile + compose.yaml (Alpine)

  • Graceful SIGTERM shutdown

  • cProfile support (--cprofile)

  • Config split (example.yaml tracked, s5p.yaml gitignored)

  • Dynamic proxy source API integration

  • Connection retry with proxy rotation

  • Connection metrics (periodic + shutdown logging)

  • Managed proxy pool (multi-source, health-tested, persistent)

  • Weighted proxy selection (prefer recently-tested proxies)

  • Per-proxy backoff (60s cooldown after connection failure)

  • Stale proxy expiry (evict dead proxies not seen for 3 refresh cycles)

  • Pool stats in periodic metrics log (pool=alive/total)

Next

  • Integration tests with mock proxy server
  • SOCKS5 server-side authentication
  • Tor control port integration