KKRainbow
b20075e3dc
fix: allow self virtual IP loopback ( #2161 )
2026-04-25 21:26:16 +08:00
Luna Yao
eb3b5aae51
utils: add DetachableTask & ContextGuard ( #2138 )
2026-04-25 18:24:36 +08:00
datayurei
af6b6ab6f1
fix: avoid panic when validating mapped listeners ( #2153 )
2026-04-25 17:45:57 +08:00
Luna Yao
5a1668c753
refactor: remove ScopedTask ( #2125 )
...
* replace ScopedTask with AbortOnDropHandle
2026-04-25 15:20:25 +08:00
Luna Yao
820d9095d3
replace AsyncRuntime with simpler CancellableTask ( #2136 )
2026-04-25 10:29:53 +08:00
KKRainbow
2fb41ccbba
bump version 262 ( #2158 )
2026-04-25 10:22:24 +08:00
Luna Yao
b4666be696
fix: disable SO_REUSEADDR & enable SO_EXCLUSIVEADDRUSE on Windows ( #2128 )
2026-04-25 00:37:34 +08:00
KKRainbow
4688ad74ad
Honor credential reusable flag ( #2157 )
...
- propagate reusable through credential storage, CLI, RPC, routing, and tests
- enforce reusable=false owner election with current topology
- preserve proof-backed groups when refreshing credential ACL groups
2026-04-25 00:22:40 +08:00
Luna Yao
f7ea78d4f0
lower max_udp_payload_size to 1200 ( #2156 )
2026-04-24 21:20:37 +08:00
james.zhang
ac112440c3
fix(UrlInput): update parseUrl and buildUrlValue to handle null ports correctly ( #2146 )
2026-04-23 13:45:09 +08:00
KKRainbow
958b246f05
improve webclient ( #2151 )
2026-04-23 13:44:18 +08:00
james.zhang
263f4c3bc9
fix(peer_route): exclude current peer ID from proxy CIDR lists ( #2149 )
2026-04-22 20:30:38 +08:00
Luna Yao
ffddc517e1
fix: listener parsing ( #2143 )
...
Fixes a CLI listener parsing regression where url crate special-casing for ws/wss could misinterpret inputs like ws:11011, and adds coverage to prevent future regressions.
Changes:
Refactors listener parsing to avoid url::Url parsing for proto:port forms and to support additional shorthand inputs (port-only / IP-only / SocketAddr).
Centralizes “expand to all IpScheme variants” logic in a helper (gen_listeners) while preserving the “port=0 is dynamic” behavior.
Adds unit tests covering valid/invalid listener inputs and expansion behavior.
2026-04-21 23:45:22 +08:00
Debugger Chen
5cd0a3e846
feat: add upnp support ( #1449 )
2026-04-21 17:19:04 +08:00
Luna Yao
f4319c4d4f
ci(test): always check everything ( #2142 )
...
* ci(test): always check everything
* move Cargo.lock check to the last step
2026-04-21 10:08:27 +08:00
Luna Yao
0091a535d5
use mimalloc for FreeBSD ( #2144 )
2026-04-21 08:40:21 +08:00
Luna Yao
d7a5fb8d66
remove --no-deps from lock check ( #2134 )
2026-04-20 00:46:26 +08:00
KKRainbow
f63054e937
fix: resolve Android APK version fallback to 1.0 on CI ( #2131 )
2026-04-19 19:06:37 +08:00
KKRainbow
efc043abbb
bump version to v2.6.1 ( #2129 )
2026-04-19 16:49:45 +08:00
Mg Pig
40c6de8e31
fix(core): restrict implicit config merge to explicit config files ( #2127 )
v2.6.1
2026-04-19 10:39:04 +08:00
KKRainbow
2db655bd6d
fix: refresh ACL groups and enable TCP_NODELAY for WebSocket ( #2118 )
...
* fix: refresh ACL groups and enable TCP_NODELAY for WebSocket
* add remove_peers to remove list of peer id in ospf route
* fix secure tunnel for unreliable udp tunnel
* fix(web-client): timeout secure tunnel handshake
* fix(web-server): tolerate delayed secure hello
* fix quic endpoint panic
* fix replay check
2026-04-19 10:37:39 +08:00
Mg Pig
c49c56612b
feat(ui): add ACL graphical configuration interface ( #1815 )
2026-04-18 20:23:53 +08:00
Mg Pig
6ca074abae
feat(nix): 添加 rustfmt 和 clippy 到 Rust 工具链扩展 ( #2126 )
2026-04-18 20:23:26 +08:00
Luna Yao
84430055ab
remove hashbrown ( #2108 )
2026-04-18 11:06:34 +08:00
Mg Pig
432fcb3fc3
build(nix): add mold to the flake dev shell ( #2122 )
2026-04-18 09:06:45 +08:00
Luna Yao
fae32361f2
chore: update Rust to 1.95; replace cfg_if with cfg_select ( #2121 )
2026-04-17 23:41:31 +08:00
Luna Yao
bcb2e512d4
utils: move code to a dedicated mod; add AsyncRuntime ( #2072 )
2026-04-16 23:32:07 +08:00
Luna Yao
82ca04a8a7
proto(utils): add MessageModel & RepeatedMessageModel ( #2068 )
...
* add FromIterator, Extend, AsRef, AsMut, TryFrom<[Message]>
2026-04-15 19:40:09 +08:00
Luna Yao
2ef3b72224
proto: add some conversion for Url ( #2067 )
2026-04-15 19:39:24 +08:00
Luna Yao
6d319cba1d
tests(relay_peer_e2e_encryption): wait for the key of inst3 before ping test ( #2069 )
2026-04-15 19:39:00 +08:00
Luna Yao
3687519ef3
turn off ansi for file log ( #2110 )
...
Co-authored-by: KKRainbow <443152178@qq.com >
2026-04-15 19:38:27 +08:00
Luna Yao
3a4ac59467
log: change default log level of tests to WARNING ( #2113 )
2026-04-14 18:10:38 +08:00
Luna Yao
1cfc135df3
ci: remove -D warnings from test ( #2109 )
...
Co-authored-by: KKRainbow <443152178@qq.com >
2026-04-14 12:35:05 +08:00
KKRainbow
5b35c51da9
fix packet split on udp tunnel and avoid tcp proxy access rpc portal ( #2107 )
...
* distinct control / data when forward packets
* fix rpc split for udp tunnel
* feat(easytier-web): pass public ip in validate token webhook
* protect rpc port from subnet proxy
2026-04-13 11:03:09 +08:00
Luna Yao
ec7ddd3bad
fix: filter overlapped proxy cidrs in ProxyCidrsMonitor ( #2079 )
...
* feat(route): add async methods to list proxy CIDRs for IPv4 and IPv6
* refactor(ProxyCidrsMonitor): get proxy cidrs from list_proxy_cidrs
2026-04-12 22:18:54 +08:00
Luna Yao
6f3e708679
tunnel(bind): gather all bind logic to a single function ( #2070 )
...
* extract a Bindable trait for binding TcpSocket, TcpListener, and UdpSocket
2026-04-12 22:16:58 +08:00
Luna Yao
869e1b89f5
fix: remove log (file) when level is explicitly set to OFF ( #2083 )
...
* fix level filter for OFF
* remove unwrap of file appender creation
2026-04-12 22:16:30 +08:00
Luna Yao
9e0a3b6936
ci: rewrite build workflows ( #2089 )
2026-04-12 22:14:41 +08:00
Luna Yao
c6cb1a77d0
chore: clippy fix some code on Windows ( #2106 )
2026-04-12 22:13:58 +08:00
deddey
83010861ba
Optimize network interface configuration for macOS and FreeBSD to avoid hard-coded IP addresses ( #1853 )
...
Co-authored-by: KKRainbow <443152178@qq.com >
2026-04-12 21:00:59 +08:00
Luna Yao
daa53e5168
log: auto-init log for tests ( #2073 )
2026-04-12 13:04:21 +08:00
fanyang
51befdbf87
fix(faketcp): harden packet parsing against malformed frames ( #2103 )
...
Discard malformed fake TCP frames instead of panicking so OpenWrt
nodes can survive unexpected or truncated packets.
Also emit the correct IPv6 ethertype and cover the parser with
round-trip and truncation regression tests.
2026-04-12 13:02:23 +08:00
Luna Yao
8311b11713
refactor: remove NoGroAsyncUdpSocket ( #1867 )
2026-04-10 23:22:08 +08:00
Luna Yao
19c80c7b9c
cli: do not add offset when port = 0 ( #2085 )
2026-04-10 23:21:15 +08:00
Luna Yao
a879dd1b14
chore: update Rust to 2024 edition ( #2066 )
2026-04-10 00:22:12 +08:00
Luna Yao
a8feb9ac2b
chore: use Debug to print errors ( #2086 )
2026-04-09 09:45:55 +08:00
Luna Yao
c5fbd29c0e
ci: fix skip condition for draft pull requests in CI workflows ( #2088 )
...
* ci: run xxx-result only when pre_job is run successfully
* fix get-result steps
2026-04-09 09:45:04 +08:00
Luna Yao
26b1794723
ci: accecelerate pipeline ( #2078 )
...
* enable concurrency
pr
* do not run build on draft PRs
pr
* enable fail-fast for build workflows
2026-04-08 08:43:03 +08:00
Luna Yao
371b4b70a3
proto(utils): add TransientDigest trait ( #2071 )
2026-04-08 00:06:48 +08:00
Luna Yao
b2cc38ee63
chore(clippy): disallow some methods from itertools ( #2075 )
2026-04-07 16:27:33 +08:00