Mirotin Artem
677195e587
feat(api): add GET /v1/stats/users/active-ips endpoint
...
Lightweight endpoint that returns only users with active TCP connections
and their IP addresses. Calls only get_active_ips_for_users() without
collecting recent IPs or building full UserInfo, significantly reducing
CPU and memory overhead compared to /v1/stats/users.
2026-03-26 10:00:29 +03:00
Alexey
7b570be5b3
DC -> Client Runtime in Metrics and API
2026-03-22 15:28:55 +03:00
David Osipov
c8632de5b6
Update dependencies and refactor random number generation
...
- Bump versions of several dependencies in Cargo.toml for improved functionality and security, including:
- socket2 to 0.6
- nix to 0.31
- toml to 1.0
- x509-parser to 0.18
- dashmap to 6.1
- rand to 0.10
- reqwest to 0.13
- notify to 8.2
- ipnetwork to 0.21
- webpki-roots to 1.0
- criterion to 0.8
- Introduce `OnceLock` for secure random number generation in multiple modules to ensure thread safety and reduce overhead.
- Refactor random number generation calls to use the new `RngExt` trait methods for consistency and clarity.
- Add new PNG files for architectural documentation.
2026-03-21 15:43:07 +04:00
David Osipov
ebd37932c5
Merge latest upstream/main into test/main-into-flow-sec
2026-03-20 23:21:22 +04:00
Maxim Myalin
66867d3f5b
Merge branch 'main' into feat/shadowsocks-upstream
...
# Conflicts:
# Cargo.lock
# src/api/runtime_stats.rs
2026-03-20 15:22:36 +03:00
Alexey
ef9b7b1492
Teardown Monitoring in API
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-20 12:45:53 +03:00
David Osipov
c07b600acb
Integration hardening: reconcile main+flow-sec API drift and restore green suite
2026-03-19 20:24:44 +04:00
Alexey
8d1faece60
Instadrain + Hard-remove for long draining-state
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-19 17:45:17 +03:00
Maxim Myalin
062464175e
Merge branch 'main' into feat/shadowsocks-upstream
2026-03-18 12:38:23 +03:00
Maxim Myalin
def42f0baa
Add Shadowsocks upstream support
2026-03-18 12:36:44 +03:00
Alexey
2aa7ea5137
ME Coverage Ratio in API + as Draining Factor
2026-03-18 11:46:13 +03:00
Alexey
3739f38440
Adaptive Buffers + Session Eviction Method
2026-03-18 10:49:02 +03:00
Alexey
ac0698b772
ME Writer Rebinding - Lifecycle and Consistency fixes
2026-03-15 00:17:54 +03:00
Alexey
fca0e3f619
ME Writer Pick in Metrics+API
2026-03-08 03:06:45 +03:00
Alexey
5f77f83b48
ME Adaptive Floor Upper-Limit
2026-03-07 17:27:56 +03:00
Alexey
ce9698d39b
ME Adaptive Floor Planner
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-07 02:50:11 +03:00
Alexey
0b1a8cd3f8
IP Limit fixes
2026-03-05 13:41:41 +03:00
Alexey
565b4ee923
Unique IP always in Metrics+API
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-05 13:21:11 +03:00
Alexey
de2047adf2
API UpstreamManager
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-04 11:41:41 +03:00
Alexey
f1efaf4491
User-links in API
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-04 02:48:43 +03:00
Alexey
716b4adef2
Runtime Stats in API
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-04 02:46:47 +03:00
Alexey
349bbbb8fa
API Pool Status Model
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-04 01:41:33 +03:00
Alexey
f7d451e689
API V1 Drafts
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
2026-03-04 01:08:05 +03:00