[PR #3767] [MERGED] Add url speed test for outbound #5526

Closed
opened 2026-10-31 20:47:34 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3767
Author: @surbiks
Created: 2/8/2026
Status: ✅ Merged
Merged: 2/9/2026
Merged by: @MHSanaei

Base: main ← Head: add-URL-speed-test-for-outbound


📝 Commits (3)

  • 9f84166 add outbound testing functionality with configurable test URL
  • 1a8b29a use no kernel tun for conflict errors
  • a6d9de1 update

📊 Changes

23 files changed (+748 additions, -105 deletions)

View changed files

📝 web/controller/xray_setting.go (+42 -4)
📝 web/html/settings/xray/basics.html (+112 -51)
📝 web/html/settings/xray/outbounds.html (+64 -13)
📝 web/html/xray.html (+128 -28)
📝 web/job/check_client_ip_job.go (+2 -3)
📝 web/job/xray_traffic_job.go (+1 -1)
📝 web/service/outbound.go (+322 -0)
📝 web/service/setting.go (+10 -0)
📝 web/translation/translate.ar_EG.toml (+2 -0)
📝 web/translation/translate.en_US.toml (+8 -0)
📝 web/translation/translate.es_ES.toml (+2 -0)
📝 web/translation/translate.fa_IR.toml (+2 -0)
📝 web/translation/translate.id_ID.toml (+2 -0)
📝 web/translation/translate.ja_JP.toml (+2 -0)
📝 web/translation/translate.pt_BR.toml (+2 -0)
📝 web/translation/translate.ru_RU.toml (+2 -0)
📝 web/translation/translate.tr_TR.toml (+2 -0)
📝 web/translation/translate.uk_UA.toml (+2 -0)
📝 web/translation/translate.vi_VN.toml (+2 -0)
📝 web/translation/translate.zh_CN.toml (+2 -0)

...and 3 more files

📄 Description

What is the pull request?

When using an outbound in the panel settings, it is necessary to evaluate its status. For this purpose, a feature has been added that measures the latency of the outbound using a configurable URL. This feature exists in most clients, and when an outbound is defined, it can be tested.

Which part of the application is affected by the change?

  • [ x] Frontend
  • [ x] Backend

Type of Changes

  • Bug fix
  • [x ] New feature
  • Refactoring
  • Other

Screenshots

image

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3767 **Author:** [@surbiks](https://github.com/surbiks) **Created:** 2/8/2026 **Status:** ✅ Merged **Merged:** 2/9/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `add-URL-speed-test-for-outbound` --- ### 📝 Commits (3) - [`9f84166`](https://github.com/MHSanaei/3x-ui/commit/9f841662f178812dc2cba7f1d373d72658ee12e0) add outbound testing functionality with configurable test URL - [`1a8b29a`](https://github.com/MHSanaei/3x-ui/commit/1a8b29aad3547949d74494ba4a12fb2e39613363) use no kernel tun for conflict errors - [`a6d9de1`](https://github.com/MHSanaei/3x-ui/commit/a6d9de10bcdb0da0f048dd7665c4a84f8405aa4a) update ### 📊 Changes **23 files changed** (+748 additions, -105 deletions) <details> <summary>View changed files</summary> 📝 `web/controller/xray_setting.go` (+42 -4) 📝 `web/html/settings/xray/basics.html` (+112 -51) 📝 `web/html/settings/xray/outbounds.html` (+64 -13) 📝 `web/html/xray.html` (+128 -28) 📝 `web/job/check_client_ip_job.go` (+2 -3) 📝 `web/job/xray_traffic_job.go` (+1 -1) 📝 `web/service/outbound.go` (+322 -0) 📝 `web/service/setting.go` (+10 -0) 📝 `web/translation/translate.ar_EG.toml` (+2 -0) 📝 `web/translation/translate.en_US.toml` (+8 -0) 📝 `web/translation/translate.es_ES.toml` (+2 -0) 📝 `web/translation/translate.fa_IR.toml` (+2 -0) 📝 `web/translation/translate.id_ID.toml` (+2 -0) 📝 `web/translation/translate.ja_JP.toml` (+2 -0) 📝 `web/translation/translate.pt_BR.toml` (+2 -0) 📝 `web/translation/translate.ru_RU.toml` (+2 -0) 📝 `web/translation/translate.tr_TR.toml` (+2 -0) 📝 `web/translation/translate.uk_UA.toml` (+2 -0) 📝 `web/translation/translate.vi_VN.toml` (+2 -0) 📝 `web/translation/translate.zh_CN.toml` (+2 -0) _...and 3 more files_ </details> ### 📄 Description ## What is the pull request? When using an outbound in the panel settings, it is necessary to evaluate its status. For this purpose, a feature has been added that measures the latency of the outbound using a configurable URL. This feature exists in most clients, and when an outbound is defined, it can be tested. ## Which part of the application is affected by the change? - [ x] Frontend - [ x] Backend ## Type of Changes - [ ] Bug fix - [x ] New feature - [ ] Refactoring - [ ] Other ## Screenshots <img width="1075" height="462" alt="image" src="https://github.com/user-attachments/assets/9be7fe17-503b-4832-9ca3-f983b177fdd5" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:34 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5526
No description provided.