telemt/src/tls_front
ivulit da684b11fe
feat: add mask_proxy_protocol option for PROXY protocol to mask_host
Adds mask_proxy_protocol config option (0 = off, 1 = v1 text, 2 = v2 binary)
that sends a PROXY protocol header when connecting to mask_host. This lets
the backend see the real client IP address.

Particularly useful when the masking site (nginx/HAProxy) runs on the same
host as telemt and listens on a local port — without this, the backend loses
the original client IP entirely.

PROXY protocol header is also sent during TLS emulation fetches so that
backends with proxy_protocol required don't reject the connection.
2026-02-26 13:36:33 +03:00
..
cache.rs fix: resolve clippy warnings 2026-02-24 05:57:53 +03:00
emulator.rs fix: resolve clippy warnings 2026-02-24 05:57:53 +03:00
fetcher.rs feat: add mask_proxy_protocol option for PROXY protocol to mask_host 2026-02-26 13:36:33 +03:00
mod.rs fix: eliminate all compiler warnings 2026-02-24 03:40:59 +03:00
types.rs Drafting TLS Certificates in TLS ServerHello 2026-02-23 05:12:35 +03:00