telemt/src
David Osipov 205fc88718
feat(proxy): enhance logging and deduplication for unknown datacenters
- Implemented a mechanism to log unknown datacenter indices with a distinct limit to avoid excessive logging.
- Introduced tests to ensure that logging is deduplicated per datacenter index and respects the distinct limit.
- Updated the fallback logic for datacenter resolution to prevent panics when only a single datacenter is available.

feat(proxy): add authentication probe throttling

- Added a pre-authentication probe throttling mechanism to limit the rate of invalid TLS and MTProto handshake attempts.
- Introduced a backoff strategy for repeated failures and ensured that successful handshakes reset the failure count.
- Implemented tests to validate the behavior of the authentication probe under various conditions.

fix(proxy): ensure proper flushing of masked writes

- Added a flush operation after writing initial data to the mask writer to ensure data integrity.

refactor(proxy): optimize desynchronization deduplication

- Replaced the Mutex-based deduplication structure with a DashMap for improved concurrency and performance.
- Implemented a bounded cache for deduplication to limit memory usage and prevent stale entries from persisting.

test(proxy): enhance security tests for middle relay and handshake

- Added comprehensive tests for the middle relay and handshake processes, including scenarios for deduplication and authentication probe behavior.
- Ensured that the tests cover edge cases and validate the expected behavior of the system under load.
2026-03-17 01:29:30 +04:00
..
api Inherited per-user unique IP limit 2026-03-15 12:43:31 +03:00
config feat(proxy): enhance logging and deduplication for unknown datacenters 2026-03-17 01:29:30 +04:00
crypto ME NoWait Routing + Upstream Connbudget + PROXY Header t/o + allocation cuts 2026-03-06 03:58:08 +03:00
maestro add support for data path option 2026-03-16 10:01:59 +03:00
network Src-IP in ME Routing + more strict bind_addresses 2026-03-14 02:20:51 +03:00
protocol feat(proxy): enhance logging and deduplication for unknown datacenters 2026-03-17 01:29:30 +04:00
proxy feat(proxy): enhance logging and deduplication for unknown datacenters 2026-03-17 01:29:30 +04:00
stats feat(proxy): enhance logging and deduplication for unknown datacenters 2026-03-17 01:29:30 +04:00
stream feat(proxy): enhance logging and deduplication for unknown datacenters 2026-03-17 01:29:30 +04:00
tls_front TLS-F New Methods 2026-03-14 20:38:24 +03:00
transport Configurable ME draining writer overflow threshold 2026-03-15 12:13:46 +03:00
util fix: resolve clippy warnings 2026-02-24 05:57:53 +03:00
cli.rs ME Pool Hardswap 2026-02-24 00:04:12 +03:00
error.rs fix: resolve clippy warnings 2026-02-24 05:57:53 +03:00
ip_tracker.rs Inherited per-user unique IP limit 2026-03-15 12:43:31 +03:00
main.rs Maestro - Refactored Main Format 2026-03-09 11:05:46 +03:00
metrics.rs Inherited per-user unique IP limit 2026-03-15 12:43:31 +03:00
startup.rs Init in API 2026-03-07 16:18:09 +03:00