Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram.
If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
Vous ne pouvez pas sélectionner plus de 25 sujetsLes noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Alexey Dolotov
fff48a0532
Address review feedback on SNI-DNS check refactor
- Bound public-IP detection with a 10s timeout context. The HTTP
fallback chain in getIP could otherwise block proxy startup
indefinitely on slow endpoints; the old single DNS lookup could
not. Plumbed via context through getIP/fetchPublicIP and added
context.WithTimeout in warnSNIMismatch, checkSecretHost, and
Access.Run.
- Emit a dedicated warning in warnSNIMismatch when the secret
hostname resolves successfully but to zero addresses, mirroring
the doctor's tplEDNSSNINoResolve branch instead of falling
through to a mismatch warning with an empty resolved list.
- Allow configuring network.public-ip-endpoints (TOML) /
publicIpEndpoints (JSON) so deployments can override the default
list (ifconfig.co, icanhazip.com, ifconfig.me). The default is
preserved when the option is omitted.