Alexey
618b7a1837
ME Pool Beobachter
2026-02-25 02:10:14 +03:00
Vladislav Yaroslavlev
09f56dede2
fix: resolve clippy warnings
...
Reduce clippy warnings from54 to16 by fixing mechanical issues:
- collapsible_if: collapse nested if-let chains with let-chains
- clone_on_copy: remove unnecessary .clone() on Copy types
- manual_clamp: replace .max().min() with .clamp()
- unnecessary_cast: remove redundant type casts
- collapsible_else_if: flatten else-if chains
- contains_vs_iter_any: replace .iter().any() with .contains()
- unnecessary_closure: replace .or_else(|| x) with .or(x)
- useless_conversion: remove redundant .into() calls
- is_none_or: replace .map_or(true, ...) with .is_none_or(...)
- while_let_loop: convert loop with if-let-break to while-let
Remaining16 warnings are design-level issues (too_many_arguments,
await_holding_lock, type_complexity, new_ret_no_self) that require
architectural changes to fix.
2026-02-24 05:57:53 +03:00
Vladislav Yaroslavlev
68c3abee6c
fix: eliminate all compiler warnings
...
- Remove unused imports across multiple modules
- Add #![allow(dead_code)] for public API items preserved for future use
- Add #![allow(deprecated)] for rand::Rng::gen_range usage
- Add #![allow(unused_assignments)] in main.rs
- Add #![allow(unreachable_code)] in network/stun.rs
- Prefix unused variables with underscore (_ip_tracker, _prefer_ipv6)
- Fix unused_must_use warning in tls_front/cache.rs
This ensures clean compilation without warnings while preserving
public API items that may be used in the future.
2026-02-24 03:40:59 +03:00
Alexey
0e2d42624f
ME Pool Hardswap
2026-02-24 00:04:12 +03:00
Alexey
d08ddd718a
Desync Full Forensics
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-23 15:28:02 +03:00
Alexey
4011812fda
TLS FC TTL Improvements
2026-02-23 05:48:55 +03:00
Alexey
b5d0564f2a
Time-To-Life for TLS Full Certificate
2026-02-23 05:47:44 +03:00
Alexey
cfe8fc72a5
TLS-F tuning
...
Once - full certificate chain, next - only metadata
2026-02-23 05:42:07 +03:00
Alexey
eaba926fe5
ME Buffer reuse + Bytes Len over Full + Seq-no over Wrap-add
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-23 03:52:37 +03:00
Alexey
6ff29e43d3
Middle-End protocol hardening
...
- Secure framing / hot-path fix: enforced a single length + padding contract across the framing layer. Replaced legacy runtime `len % 4` recovery with strict validation to eliminate undefined behavior paths.
- ME RPC aligned with C reference contract: handshake now includes `flags + sender_pid + peer_pid`. Added negotiated CRC mode (CRC32 / CRC32C) and applied the negotiated mode consistently in read/write paths.
- Sequence fail-fast semantics: immediate connection termination on first sequence mismatch with dedicated counter increment.
- Keepalive reworked to RPC ping/pong: removed raw CBC keepalive frames. Introduced stale ping tracker with proper timeout accounting.
- Route/backpressure observability improvements: increased per-connection route queue to 4096. Added `RouteResult` with explicit failure reasons (NoConn, ChannelClosed, QueueFull) and per-reason counters.
- Direct-DC secure mode-gate relaxation: removed TLS/secure conflict in Direct-DC handshake path.
2026-02-23 02:28:00 +03:00
Alexey
d050c4794a
Hotpath tunings
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-23 00:50:10 +03:00
Alexey
197f9867e0
Flush-response experiments
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-22 23:53:10 +03:00
Alexey
3ab56f55e9
ME Connection error handling
2026-02-21 16:28:47 +03:00
Alexey
83fc9d6db3
Middle-End Fixes
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-21 03:36:13 +03:00
Alexey
c9a043d8d5
ME Frame too large Fixes
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-21 02:15:10 +03:00
Alexey
e8454ea370
HAProxy PROXY Protocol Fixes
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-20 16:42:40 +03:00
Alexey
2ea4c83d9d
Normalize IP + Masking + TLS
2026-02-20 16:32:14 +03:00
Alexey
708bedc95e
TLS-F: build fixes
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-20 13:14:09 +03:00
Alexey
f4b79f2f79
TLS-F: ClientHello Extractor
2026-02-20 12:58:04 +03:00
Alexey
9a907a2470
TLS-F: added Emu + Cache
2026-02-20 12:55:26 +03:00
Alexey
5e98b35fb7
Drafting Fake-TLS V2
2026-02-20 12:48:51 +03:00
unuunn
c7464d53e1
feat: implement selective routing for "scope_*" users
...
- Users with "scope_{name}" prefix are routed to upstreams where {name}
is present in the "scopes" property (comma-separated).
- Strict separation: Scoped upstreams are excluded from general routing, and vice versa.
- Constraint: SOCKS upstreams and DIRECT(`use_middle_proxy =
false`) mode only.
Example:
User "scope_hello" matches an upstream with `scopes = "world,hello"`
2026-02-18 23:29:08 +03:00
Alexey
8046381939
[network] in main
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-18 06:01:08 +03:00
Andrey Akifev
e54fb3fffc
Reduce per-frame flush overhead
2026-02-16 12:49:49 +07:00
Alexey
305c088bb7
Grabbing unknown dc into unknown-dc.txt
2026-02-15 23:59:53 +03:00
Alexey
904c17c1b3
DC=203 by default + IP Autodetect by STUN
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-15 23:30:21 +03:00
artemws
32bc3e1387
Refactor client handshake handling for clarity
2026-02-15 16:30:41 +03:00
Alexey
94a7058cc6
Middle Proxy Minimal
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-15 13:14:50 +03:00
Alexey
f2455c9cb1
Middle-End Drafts
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-15 12:30:40 +03:00
Alexey
0663e71c52
Revert "Unix socket listener + reverse proxy improvements"
2026-02-15 10:09:03 +03:00
Alexey
b2d36aac19
Revert "Main fix"
2026-02-15 10:08:20 +03:00
Alexey
56cd0cd1a9
Update client.rs
2026-02-15 03:27:53 +03:00
Alexey
358ad65d5f
Update client.rs
2026-02-15 03:24:20 +03:00
Alexey
9a25e8e810
Update client.rs
2026-02-15 03:17:45 +03:00
Alexey
a419cbbcf3
Merge branch 'main' into unix-socket
2026-02-15 02:48:24 +03:00
artemws
06161abbbc
Implement IP tracking and user limit checks
...
Added IP tracking and cleanup functionality for users.
2026-02-14 23:02:16 +02:00
Жора Змейкин
572e07a7fd
Unix socket listener + reverse proxy improvements
2026-02-14 23:29:39 +03:00
Alexey
e32d8e6c7d
ME Diagnostics
2026-02-14 04:19:44 +03:00
Alexey
d405756b94
HOL Minimized + Random conn_id + Target DC Magics
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-14 01:52:49 +03:00
Alexey
70859aa5cf
Middle Proxy is so real
2026-02-14 01:36:14 +03:00
Alexey
9b850b0bfb
IP Version Superfallback
2026-02-14 00:30:09 +03:00
Alexey
de28655dd2
Middle Proxy Fixes
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-13 16:09:33 +03:00
Alexey
e62b41ae64
RPC Flags Fixes
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-13 14:28:47 +03:00
Alexey
f1c1f42de8
Key derivation + me_health_monitor + QuickACK
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-13 12:51:49 +03:00
Alexey
a494dfa9eb
Middle Proxy Drafts
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-13 03:51:36 +03:00
Alexey
889a5fa19b
Add mask_unix_sock for [censorship] masking: merge pull request #33 from Katze-942/main
...
Add mask_unix_sock for [censorship] masking
2026-02-12 21:30:51 +03:00
Жора Змейкин
d8ff958481
Add mask_unix_sock for censorship masking via Unix socket
2026-02-12 21:11:20 +03:00
Alexey
a688bfe22f
New Relay on Tokio Copy Bidirectional
2026-02-12 20:20:01 +03:00
Alexey
61581203c4
Semaphore + Async Magics for Defcluster
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-12 18:38:05 +03:00
Alexey
84668e671e
Default Cluster Drafts
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-12 18:25:41 +03:00