watchd: remove use_ssl config, use HTTP for non-ssl checks
All checks were successful
CI / syntax-check (push) Successful in 2s
CI / memory-leak-check (push) Successful in 11s

This commit is contained in:
Username
2025-12-26 21:25:52 +01:00
parent f7a762331a
commit 9f81e1e4af
3 changed files with 11 additions and 30 deletions

View File

@@ -18,22 +18,14 @@ profiling = 0
# Database file for proxy storage
database = proxies.sqlite
# Check type(s): judges, ssl, irc, head (comma-separated for random selection)
# Check type(s): judges, ssl, irc, head, tor (comma-separated for random selection)
# judges - HTTP judge servers that echo back request headers
# ssl - TLS handshake test (fast, no payload, verifies MITM)
# irc - IRC server connection test
# head - HTTP HEAD request test
# ssl - TLS handshake test (port 443, verifies MITM)
# irc - IRC server connection test (port 6667)
# head - HTTP HEAD request test (port 80)
# tor - Tor exit check via check.torproject.org (port 80)
checktype = judges,head
# SSL verification mode (1=always, 0=never, 2=random)
# When enabled, tests TLS handshake with certificate verification.
# Benefits:
# - Fast: TLS handshake completes quickly, no payload transfer
# - Meaningful: Verifies proxy supports encrypted connections
# - MITM detection: Certificate validation catches interception
# - Fallback: Works when judge servers are blocked/rate-limited
use_ssl = 1
# Thread configuration
threads = 50
min_threads = 5