From 57c78f5563c34ea3c89296426f07895f84e524e4 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 15 Feb 2026 03:38:04 +0100 Subject: [PATCH] feat: split config into tracked example and gitignored live config config/example.yaml is the repo-safe sample. config/s5p.yaml holds real proxy addresses and is gitignored. --- .gitignore | 1 + config/example.yaml | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ef74a51..783156b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ __pycache__/ dist/ build/ .venv/ +config/s5p.yaml diff --git a/config/example.yaml b/config/example.yaml index 9bb0f3b..d6635fe 100644 --- a/config/example.yaml +++ b/config/example.yaml @@ -1,4 +1,5 @@ -# s5p configuration +# s5p example configuration +# Copy to config/s5p.yaml and edit to taste. listen: 127.0.0.1:1080 timeout: 10 @@ -7,9 +8,9 @@ log_level: info # Proxy chain -- connections tunnel through each hop in order. # Supported protocols: socks5://, socks4://, http:// # -# Example: route through Tor, then an external SOCKS5 proxy +# Example: Tor first hop, then a public proxy chain: - socks5://127.0.0.1:9050 # Tor - # - socks5://user:pass@proxy:1080 # authenticated SOCKS5 - # - socks4://proxy:1080 # SOCKS4/4a - # - http://user:pass@proxy:8080 # HTTP CONNECT + # - socks5://user:pass@proxy:1080 # post-Tor SOCKS5 proxy + # - socks4://proxy:1080 # post-Tor SOCKS4/4a proxy + # - http://user:pass@proxy:8080 # post-Tor HTTP CONNECT proxy