lbl
|
a81dc83915
|
fix(tun): replace_task_fd 收窄为 Android 专用
replace_task_fd 的唯一调用点在 apply_mobile_change_fd 的
#[cfg(target_os = "android")] 块内(99358e1 起 iOS/tvOS 改走 restart_task),
但方法自身仍是 #[cfg(unix)],在 Linux/macOS/iOS/tvOS 上被编出来却无调用点;
又因 tun 模块是 pub(crate) mod,pub 不构成对外 API,dead_code 遂报警告。
改为 #[cfg(target_os = "android")] 与调用点对齐。
该方法本就只适用于 Android:set_network 在非 Android 平台才编译,Android 上
tun-rs 不支持 set_network_address,地址必须随新任务一并写入 DeviceState,
这也是它独立于 restart_task 的原因。
顺带修正文档:原文称新设备先验证再停旧任务、竞态时旧设备会从 Arc 重建,
与 swap_running_device 现有实现(新任务启动失败即停止、不回滚)不符。
验证:x86_64-unknown-linux-gnu 改动前复现警告,改动后 Linux / aarch64-linux-android /
Windows 宿主三目标均零警告。
|
2026-09-26 15:08:36 +08:00 |
|
lbl
|
2dd347860b
|
chore: bump version to 2.0.10
|
2026-09-26 11:13:15 +08:00 |
|
lbl
|
15ca3a4565
|
feat(web): 组网实例卡片新增编辑按钮
实例卡片顶部新增编辑按钮,点击跳转到组网配置页,通过 ?edit=文件名
打开对应配置的编辑器,消费参数后立即清理 URL,避免刷新重复弹出。
ConfigEditor 加载配置的 watcher 补充 immediate:从总览页跳转时编辑器
带着 show=true 首次挂载,非 immediate 的 watcher 不会触发,导致配置
不加载、弹窗显示为空的新建表单。
|
2026-09-26 11:11:46 +08:00 |
|
lbl
|
e686748b59
|
feat(web): 启动组网面板新增配置预览按钮
选择配置下拉框旁新增预览按钮,点击后弹窗展示该配置文件的 TOML 原文,
支持一键复制;读取失败时 toast 提示并关闭弹窗。
|
2026-09-26 11:11:42 +08:00 |
|
lbl
|
dd7df076bc
|
fix(web): 组网配置二维码改用订阅链接内容
订阅链接配置的 TOML 中没有 network_code/server,点击二维码按钮会报
"组网编号不能为空"。现在检测到订阅链接时直接以链接本身生成二维码
(参考 vnts 的做法),客户端扫码即可按订阅接入;无订阅链接的普通
配置仍走原来的组网参数二维码。
|
2026-09-26 10:12:22 +08:00 |
|
lbl
|
3886606773
|
perf(p2p): 收敛探测与通告的每节点路由数
- ping_all 每节点只探评分最高的前 3 条路由。原 index > 4 判断因
MAX_ROUTES_PER_NODE=5 永远不命中,等效于全发;备用路由不再保活,
由 route_timeout_task 的过期阈值自然淘汰,减少持续探测开销
- flood_direct 每个对端只经其最优直连路由发送一份,不再每条路由各
发一份。拓扑传播由接收方接力完成,备用边的发现与保活统一交由
ping 探测上限控制;选择逻辑下沉为 RouteTable::best_direct_routes,
direct_routes 生产路径已无调用方,转为测试观测原语
|
2026-09-25 23:50:25 +08:00 |
|
lbl
|
01834ad024
|
fix(android): 修复订阅启动失败与停止卡死
- nativeStop 不再直接锁 RuntimeChangeManager:运行期监听线程在
next_event 等待期间持有管理器锁,停止流程去锁会死锁,安卓端点
停止后 shutdown 不返回,一直卡在“停止中”。改为经创建时登记的
任务组句柄停机(与 vnt-web stop_running_instance 同构),监听
线程的 wait_all_stopped 随即唤醒 next_event,退出后释放锁并
drop 管理器,订阅连接随 Drop 断开;带 10s 超时兜底
- parse_config_from_json 增加 managed 参数:托管(订阅)模式下
缺省 device_id 时留空串占位,不再触发 get_device_id 的落盘
兜底。Android 上兜底路径锚定 current_exe(/system/bin)所在
只读目录,写失败导致订阅启动报 Failed to create network:
failed to get device_id;身份本就被首份订阅信封覆盖,无需本地
生成
|
2026-09-25 23:02:01 +08:00 |
|
lbl
|
e5d2b834d8
|
fmt
|
2026-09-24 23:04:58 +08:00 |
|
lbl
|
99358e1e94
|
refactor subscription listener and network lifecycle
|
2026-09-24 22:55:55 +08:00 |
|
lbl
|
ac6d4dfc25
|
feat: add subscription-based managed configuration
|
2026-09-19 23:39:34 +08:00 |
|
lbl
|
e002eb8bc0
|
perf: optimize selective broadcast forwarding
v2.0.9
|
2026-09-13 09:06:04 +08:00 |
|
lbl
|
c700fba5d8
|
chore: update rustp2p revision
|
2026-09-12 21:24:50 +08:00 |
|
lbl
|
c299e02726
|
chore: bump version to 2.0.9
|
2026-09-12 13:31:18 +08:00 |
|
lbl
|
3a1552e674
|
feat(jni): expose tunnel listener addresses
|
2026-09-12 11:20:33 +08:00 |
|
lbl
|
6a67565cd3
|
feat(web): show bound tunnel addresses
|
2026-09-12 11:09:55 +08:00 |
|
lbl
|
f035999f17
|
feat: support dynamic direct peer addresses
|
2026-09-12 09:37:15 +08:00 |
|
lbl
|
1b4e282986
|
fix(web): revalidate HTML entrypoint
|
2026-09-11 23:27:17 +08:00 |
|
lbl
|
4464ff6b61
|
perf: optimize unicast route selection
|
2026-09-11 23:06:25 +08:00 |
|
lbl
|
641f183574
|
feat(p2p): add unreachable feedback and fallback forwarding
|
2026-09-11 22:31:36 +08:00 |
|
lbl
|
cd4807444b
|
perf(p2p): reduce node announcement frequency when connected
|
2026-09-11 21:52:09 +08:00 |
|
lbl
|
efa30bf4a3
|
refactor(p2p): separate node info from routes
|
2026-09-11 21:24:43 +08:00 |
|
lbl
|
91a074c23b
|
refactor: advertise relay hints through gossip
|
2026-09-11 20:56:18 +08:00 |
|
lbl
|
0482bc83f8
|
refactor: rely on gossip for route convergence
|
2026-09-11 20:32:54 +08:00 |
|
lbl
|
1feb62054b
|
fix: harden serverless peer discovery
|
2026-09-11 20:13:27 +08:00 |
|
lbl
|
c360ec84d3
|
feat: support serverless gossip networking
|
2026-09-11 20:04:16 +08:00 |
|
lbl
|
a4fc545f3f
|
docs: streamline README usage guide
|
2026-09-09 22:06:53 +08:00 |
|
lbl
|
e49085e020
|
feat: support configurable tunnel listen addresses
|
2026-09-09 22:05:43 +08:00 |
|
lbl
|
5e20fc6e8e
|
fix: support IPv6 WSS server addresses
|
2026-09-09 21:19:44 +08:00 |
|
lbl
|
fab4983bf3
|
update README.md
|
2026-09-08 22:02:45 +08:00 |
|
lbl
|
af71aeae8d
|
test: cover WireGuard subnet relay
|
2026-09-08 20:01:34 +08:00 |
|
lbl
|
3413dddbe3
|
feat: relay IKEv2 subnet traffic
|
2026-09-08 21:21:20 +08:00 |
|
lbl
|
dce306981c
|
chore: bump version to 2.0.8
v2.0.8
|
2026-09-07 23:30:34 +08:00 |
|
lbl
|
6f4b55d59d
|
feat: support WireGuard relay clients
|
2026-09-06 22:38:24 +08:00 |
|
lbl
|
7ade3ebe6f
|
fix(android): avoid uninitialized platform TLS verifier
|
2026-09-06 21:40:51 +08:00 |
|
lbl
|
251e251a64
|
feat: improve multi-server startup resilience
|
2026-09-05 23:39:02 +08:00 |
|
lbl
|
f1e26b66c8
|
Merge branch 'ikev2'
|
2026-09-05 23:19:13 +08:00 |
|
lbl
|
94f0dbd049
|
fix(web): correct TCP route label
|
2026-09-05 23:09:21 +08:00 |
|
vnt-dev
|
a54d722098
|
Merge pull request #195 from vnt-dev/ikev2
Ikev2
v2.0.7
|
2026-09-05 19:20:32 +08:00 |
|
lbl
|
b856f4bce6
|
fix: satisfy clippy for checksum word iteration
|
2026-09-05 19:11:00 +08:00 |
|
lbl
|
8e220ea73e
|
ci: skip web UI build in Rust PR checks
|
2026-09-05 18:56:28 +08:00 |
|
lbl
|
8b3bcb6139
|
chore: bump version to 2.0.7
|
2026-09-05 18:48:34 +08:00 |
|
lbl
|
0409e5018e
|
fix(web): include IKEv2 option in network QR
|
2026-09-05 18:39:25 +08:00 |
|
lbl
|
50f63235d5
|
docs(vnt): update IKEv2 deployment guidance
|
2026-09-05 17:30:44 +08:00 |
|
lbl
|
0e9af71dca
|
feat: warn when IKEv2 clients are unreachable
|
2026-09-05 17:08:41 +08:00 |
|
lbl
|
83d7949de5
|
chore(skills): add VNT operations skill
|
2026-09-05 00:16:24 +08:00 |
|
lbl
|
e7065c477b
|
fix(p2p): punch only missing route types
|
2026-09-05 00:11:34 +08:00 |
|
lbl
|
5656633feb
|
fix(p2p): allow bidirectional punch with cooldown
|
2026-09-04 23:46:48 +08:00 |
|
lbl
|
88c279a4ba
|
refactor(ui): 重组配置编辑器分组并支持分区折叠
基础配置只保留配置名称、网络编号、服务器地址;新增连接与打洞
分区(可直连节点、中转规则、打洞方式规则、隧道端口、关闭P2P打洞);
虚拟网卡模式移入网络设置;NAT与路由改名子网路由并移出网卡模式。
高级分区(子网路由、端口映射、STUN)默认折叠,已有数据时自动展开。
|
2026-09-04 23:22:02 +08:00 |
|
lbl
|
b956b41faa
|
feat(p2p): configure punch modes per target
|
2026-09-04 22:57:15 +08:00 |
|
lbl
|
751db88ae4
|
fix(p2p): limit concurrent punch tasks
|
2026-09-04 22:32:29 +08:00 |
|