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
d905de2dad
Nonce in Log only in DEBUG
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-18 20:02:43 +03:00
Alexey
c7bd1c98e7
Autofallback on ME-Init
2026-02-18 19:50:16 +03:00
Alexey
d3302d77d2
Blackmagics...
2026-02-18 19:49:19 +03:00
Alexey
df4494c37a
New reroute algo + flush() optimized + new IPV6 Parser
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-18 19:08:27 +03:00
Alexey
67bae1cf2a
[network] in upstream
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-18 06:02:24 +03:00
Alexey
eb9ac7fae4
ME Fixes
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-18 06:01:52 +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
Alexey
d4ebc7b5c6
New [network]
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-18 05:59:58 +03:00
Alexey
c03db683a5
Improved perf for ME
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-17 04:16:16 +03:00
Alexey
168fd59187
Fixed critical ME Problems
2026-02-17 03:40:39 +03:00
Mikhail
a1db082ec0
Add Prometheus /metrics HTTP endpoint
...
Wire up unused metrics_port/metrics_whitelist config into working
HTTP server exposing proxy stats in Prometheus text format.
2026-02-17 01:24:49 +03:00
vladon
16b5dc56f0
feat: extend announce_ip to accept hostnames
...
Add new 'announce' field to ListenerConfig that accepts both IP addresses
and hostnames for proxy link generation. The old 'announce_ip' field is
deprecated but still supported via automatic migration.
Changes:
- Add 'announce: Option<String>' field to ListenerConfig
- Add migration logic: announce_ip → announce if announce not set
- Update main.rs to use announce field for link generation
- Support both hostnames (e.g., 'proxy.example.com') and IPs
Backward compatible: existing configs using announce_ip continue to work.
2026-02-16 17:26:46 +03:00
Alexey
9e84528801
Update main.rs
2026-02-16 15:48:22 +03:00
Alexey
685c228190
Update main.rs
2026-02-16 15:16:26 +03:00
Alexey
e4f90cd7c1
ME Ping in log
2026-02-16 12:10:59 +03:00
Alexey
3013291ea0
Merge pull request #97 from AndreyAkifev/main
...
Fix ME relay HOL and reduce per-frame flush overhead
2026-02-16 10:29:40 +03:00
Andrey Akifev
e54fb3fffc
Reduce per-frame flush overhead
2026-02-16 12:49:49 +07:00
Andrey Akifev
dddf9f30dc
Fix HOL
2026-02-16 12:49:16 +07:00
Жора Змейкин
3091b5168f
Fix: public_host/public_port + unix socket
2026-02-16 04:22:26 +03:00
Alexey
305c088bb7
Grabbing unknown dc into unknown-dc.txt
2026-02-15 23:59:53 +03:00
Alexey
debdbfd73c
Ping for [dc_overrides]
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-15 23:46:49 +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
4a80bc8988
Refactor connectivity logging for upstream results
2026-02-15 22:33:25 +03:00
artemws
32bc3e1387
Refactor client handshake handling for clarity
2026-02-15 16:30:41 +03:00
artemws
0fa5914501
Add Unix socket listener support
2026-02-15 16:30:41 +03:00
Alexey
da108b2d8c
Middle Proxy läuft wie auf Schienen...
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-15 14:02:00 +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
427c7dd375
Deprecated failed KDF
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-15 12:29:34 +03:00
Alexey
e911a21a93
New hash in tests
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-15 12:29:08 +03:00
artemws
2a65d29e3b
Configure color output based on user settings
...
Added conditional color output configuration for logging.
2026-02-15 10:12:56 +02:00
artemws
c837a9b0c6
Add disable_colors field to GeneralConfig
...
Add option to disable colored output in logs
2026-02-15 10:12:33 +02: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
artemws
aee549f745
Integrate IP Tracker for user IP management
...
Added UserIpTracker for managing user IP limits.
2026-02-14 23:01:43 +02:00
artemws
50ec753c05
Add user_max_unique_ips to configuration
2026-02-14 23:01:09 +02:00
artemws
cf34c7e75c
Add files via upload
2026-02-14 23:00:26 +02:00
Alexey
b03312fa2e
Merge pull request #65 from telemt/2.0.0.0-h
...
2.0.0.1
2026-02-14 22:20:43 +03:00
Alexey
bcdbf033b2
Delete middle_proxy.rs
2026-02-14 22:15:41 +03:00
Alexey
7f8cde8317
NAT + STUN Probes...
2026-02-14 12:44:20 +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
a8c3128c50
Middle Proxy Magics
...
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com >
2026-02-14 01:51:10 +03:00
Alexey
70859aa5cf
Middle Proxy is so real
2026-02-14 01:36:14 +03:00
Max Vorobev
fc47e4d584
feature: support show_links = "*"
2026-02-14 01:02:47 +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