3x-ui/internal/web/job
MHSanaei a69f2dee13
fix(node): keep a node's online and IP reports to its own clients
A node's online tree and both client-IP reports were stored as sent:
they could name any client of the master or another node, under any
panel's GUID, dated into the future, and in any number. That marked
master clients online, fed source addresses for clients the node does
not serve into the IP limit and its fail2ban log, and planted rows the
retention sweep never removed.

Each report is now cut to the clients linked to the node's inbounds and
to the node's own key and its sub-nodes' origins (never this panel's or
another node's GUID); timestamps are capped at now, and one client's
list from a node keeps at most its 256 newest entries.
2026-10-31 14:17:43 +01:00
..
amneziawg_job.go feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
amneziawg_job_traffic_restart_test.go feat(amneziawg): add opt-in Linux kernel datapath (#6877) 2026-10-25 13:24:50 +01:00
check_client_ip_ban_commit_test.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
check_client_ip_cas_test.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
check_client_ip_frozen_ban_test.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
check_client_ip_job.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
check_client_ip_job_integration_test.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
check_client_ip_job_test.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
check_client_ip_scale_test.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
check_client_ip_sync_postgres_test.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
check_cpu_usage.go style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
check_hash_storage.go
check_hash_storage_test.go
check_memory_usage.go style: adopt golangci-lint v2 and resolve all findings 2026-06-27 15:42:22 +02:00
check_xray_running_job.go
clear_logs_job.go fix(logs): limit Xray log growth (#5840) 2026-07-08 00:33:34 +03:00
clear_logs_job_test.go fix(logs): limit Xray log growth (#5840) 2026-07-08 00:33:34 +03:00
discord_notify_job.go feat(discord): add Discord notification bot service (#6486) 2026-09-13 14:04:53 +02:00
free_os_memory.go
ip_limit_allowlist.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
ip_limit_allowlist_agreement_test.go fix: follow-ups from the post-merge reviews of #6221, #6227, #6230 and #6239 (#6250) 2026-08-18 15:24:59 +02:00
ip_limit_allowlist_test.go perf(ip-sync): avoid redundant client IP reads and writes (#6930) 2026-10-25 14:13:18 +01:00
ldap_auto_delete_guard_test.go fix(ldap): stop auto-delete from wiping every client on an empty directory 2026-08-01 15:18:50 +02:00
ldap_sync_hung_node_test.go fix(ldap): apply LDAP enable, disable and cleanup through the bulk paths 2026-09-15 21:06:32 +02:00
ldap_sync_job.go fix(ldap): apply LDAP enable, disable and cleanup through the bulk paths 2026-09-15 21:06:32 +02:00
ldap_sync_job_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
limit_ip_disconnect_test.go fix(limit-ip): leave a reverse client out of the temporary disconnect (#6553) 2026-09-15 16:57:23 +03:00
mtproto_job.go fix(mtproto): stop dropping connections on client/inbound edits; add live updates + ad-tag (#5838) 2026-07-07 01:13:24 +02:00
node_down_threshold_test.go feat(notifications): add a failed-check threshold for node.down alerts (#6768) 2026-10-24 04:26:13 +02:00
node_heartbeat_descendants_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
node_heartbeat_job.go feat(notifications): add a failed-check threshold for node.down alerts (#6768) 2026-10-24 04:26:13 +02:00
node_reset_replay_test.go fix(traffic): make a client reset reach every counter enforcing its quota 2026-09-28 02:56:53 +02:00
node_traffic_sync_ip_push_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
node_traffic_sync_job.go fix(node): keep a node's online and IP reports to its own clients 2026-10-31 14:17:43 +01:00
node_traffic_sync_job_test.go fix(node): don't stamp InboundsAdoptedAt when the sync adopted nothing (#6284) 2026-08-22 20:37:55 +02:00
node_traffic_sync_online_prune_test.go perf(tests): copy a migrated template DB instead of migrating per test 2026-09-27 03:04:50 +02:00
node_transition_burst_test.go feat(notifications): add a failed-check threshold for node.down alerts (#6768) 2026-10-24 04:26:13 +02:00
outbound_subscription_job.go
periodic_traffic_reset_client_test.go fix(traffic): re-enable quota-disabled clients on inbound and reset-all resets (#6833) 2026-10-24 04:21:11 +02:00
periodic_traffic_reset_job.go fix(traffic): re-enable quota-disabled clients on inbound and reset-all resets (#6833) 2026-10-24 04:21:11 +02:00
periodic_traffic_reset_job_test.go fix(traffic): re-enable a quota-disabled inbound on its periodic reset (#6834) 2026-10-23 19:59:41 +02:00
periodic_traffic_reset_nodes_test.go fix(runtime): reset node inbound traffic by node-side id (#6717) 2026-10-03 00:59:11 +02:00
reap_sync_orphans_job.go fix(node): stop the node sync from deleting clients it never meant to 2026-08-01 15:19:08 +02:00
remote_routing_job.go feat(sub): bake Happ/INCY routing profiles into the JSON subscription (#6402) 2026-09-10 17:05:54 +02:00
stats_notify_job.go
tuic_job.go fix(tuic): client speed display and certificate button layout (#6723) 2026-10-05 19:46:46 +02:00
tuic_job_test.go fix(tuic): client speed display and certificate button layout (#6723) 2026-10-05 19:46:46 +02:00
tuic_journal.go feat(tuic): implement native in-process Go TUIC v5 server (#6577) 2026-10-03 02:56:02 +02:00
tuic_journal_test.go feat(tuic): implement native in-process Go TUIC v5 server (#6577) 2026-10-03 02:56:02 +02:00
warp_ip_job.go fix(warp): surface update-clock persistence failures (#6209) 2026-08-13 12:31:05 +02:00
warp_ip_job_test.go fix(warp): surface update-clock persistence failures (#6209) 2026-08-13 12:31:05 +02:00
xray_traffic_inform_test.go style: drop the line comments added with the triage fixes 2026-07-27 14:37:57 +02:00
xray_traffic_job.go perf(clients): make the clients page scale to large panels 2026-07-30 02:49:32 +02:00
xray_traffic_job_broadcast_test.go perf(clients): make the clients page scale to large panels 2026-07-30 02:49:32 +02:00