nima1024m
af3f460065
fix(routing): sync xray rules when panel inbound tags change or are deleted ( #5367 )
...
* fix(routing): sync xray rules when panel inbound tags change or are deleted
When an auto-generated inbound tag changes (e.g. port edit), propagate the
rename into xrayTemplateConfig routing rules and loopback outbounds. On
inbound delete, drop rules that only matched that tag and strip the tag from
rules that also match on domain, IP, or other fields.
Run the template update after the inbound DB transaction commits so SQLite
WAL reads see the stored xray settings reliably.
* fix(inbounds): return needRestart after deferred routing tag sync
Use a named needRestart return in UpdateInbound so the post-commit PropagateInboundTagRename defer can signal callers to restart Xray.
---------
Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com >
2026-06-20 01:18:31 +02:00
..
2026-06-17 17:24:16 +02:00
2026-06-17 17:24:16 +02:00
2026-06-13 11:48:02 +02:00
2026-06-10 15:19:22 +02:00
2026-06-17 17:24:16 +02:00
2026-06-17 17:24:16 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-12 01:22:15 +02:00
2026-06-17 15:55:47 +02:00
2026-06-17 15:55:56 +02:00
2026-06-10 15:19:22 +02:00
2026-06-14 20:57:14 +02:00
2026-06-11 12:04:02 +02:00
2026-06-17 15:55:56 +02:00
2026-06-12 15:30:41 +02:00
2026-06-17 15:55:47 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-11 15:14:08 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-20 00:36:35 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 23:01:33 +02:00
2026-06-10 15:19:22 +02:00
2026-06-11 15:14:08 +02:00
2026-06-17 12:06:55 +02:00
2026-06-17 12:06:55 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-11 14:05:02 +02:00
2026-06-11 15:14:08 +02:00
2026-06-12 13:00:04 +02:00
2026-06-15 15:17:03 +02:00
2026-06-15 15:17:03 +02:00
2026-06-12 17:58:45 +02:00
2026-06-15 23:50:05 +02:00
2026-06-15 23:50:05 +02:00
2026-06-14 23:10:52 +02:00
2026-06-20 00:36:35 +02:00
2026-06-11 12:04:02 +02:00
2026-06-11 12:04:02 +02:00
2026-06-12 12:03:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-11 15:14:08 +02:00
2026-06-20 00:36:35 +02:00
2026-06-11 20:24:15 +02:00
2026-06-12 12:03:22 +02:00
2026-06-20 01:18:31 +02:00
2026-06-17 17:24:16 +02:00
2026-06-15 15:46:19 +02:00
2026-06-20 00:36:35 +02:00
2026-06-20 01:09:53 +02:00
2026-06-15 17:56:12 +02:00
2026-06-16 12:19:33 +02:00
2026-06-16 12:19:33 +02:00
2026-06-16 12:19:33 +02:00
2026-06-11 20:24:15 +02:00
2026-06-10 15:19:22 +02:00
2026-06-11 20:48:26 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-20 01:09:53 +02:00
2026-06-10 15:19:22 +02:00
2026-06-10 15:19:22 +02:00
2026-06-15 17:21:06 +02:00
2026-06-15 17:21:06 +02:00
2026-06-10 15:19:22 +02:00
2026-06-20 00:37:35 +02:00
2026-06-20 00:37:35 +02:00
2026-06-16 12:19:33 +02:00
2026-06-16 12:19:33 +02:00
2026-06-15 21:03:41 +02:00
2026-06-17 12:06:55 +02:00
2026-06-17 14:11:35 +02:00
2026-06-10 15:19:22 +02:00
2026-06-17 17:24:16 +02:00
2026-06-10 15:19:22 +02:00
2026-06-17 15:55:47 +02:00
2026-06-10 15:19:22 +02:00
2026-06-12 17:58:45 +02:00
2026-06-15 21:03:41 +02:00
2026-06-20 01:18:31 +02:00
2026-06-20 01:18:31 +02:00
2026-06-10 15:19:22 +02:00
2026-06-17 17:24:16 +02:00
2026-06-15 00:43:49 +02:00
2026-06-15 00:43:49 +02:00