[PR #3585] [MERGED] Better Random Reality #5458

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

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3585
Author: @lillinlin
Created: 11/2/2025
Status: ✅ Merged
Merged: 11/2/2025
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (2)

📊 Changes

2 files changed (+11 additions, -66 deletions)

View changed files

📝 web/assets/js/model/inbound.js (+1 -1)
📝 web/assets/js/model/reality_targets.js (+10 -65)

📄 Description

What is the pull request?

Which part of the application is affected by the change?

Overview

This update replaces the random Reality target list with a set of globally accessible, high-availability domains from major international technology companies.

Why Replace Some popular websites
The original list included many well-known websites such asother major platforms.
However,despite their popularity, their CDN infrastructure cannot guarantee both low latency and accessibility across all regions, especially in areas with strict network controls or limited international connectivity.
In some regions, these services experience significantly higher latency or are partially/completely blocked due to regional network policies.
As a result, if your VPS hosting the Reality node happens to be located in such regions, the overall performance, stability, and reachability of the Reality connection may be severely affected.

Why Replace Google
The original list included sites such as Google, which are not universally reachable in all regions.
In particular, if a Reality node uses a Google domain as its target and is later used to access countries where Google services are blocked, that node’s IP address may be blacklisted or restricted by those countries’ networks, leading to connectivity failures or service denial.
Google services (e.g., cloud.google.com) are inaccessible in:
Mainland China
Iran
North Korea
Crimea region
Syria
China and Iran are regions that greatly need to use proxies.

Why Replace Cloudflare
See reference: https://github.com/XTLS/Xray-core/issues/2360
Cloudflare CDN should not be used as a Reality destination.
Using Cloudflare edge IPs can unintentionally expose your Reality node IP to be misused as a public Cloudflare proxy, which may lead to bandwidth abuse or IP blocking.
When a Reality destination resolves to a Cloudflare edge IP, external programs may route Cloudflare-based traffic through your server, resulting in traffic hijacking and resource abuse.

About the New Target List
All domains in this new list belong to well-established multinational enterprises
(Apple, Microsoft, Tesla, AMD, NVIDIA, Amazon, Intel, Oracle).
These companies:
robust global CDN networks (many use Akamai, Fastly, or proprietary edge systems).
Offer consistent latency and availability across continents.
Are reliable and safe for use as Reality targets, without regional blocking issues.

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots


🔄 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/3585 **Author:** [@lillinlin](https://github.com/lillinlin) **Created:** 11/2/2025 **Status:** ✅ Merged **Merged:** 11/2/2025 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`5e5f8f9`](https://github.com/MHSanaei/3x-ui/commit/5e5f8f966b892dc9bd00407544f08f8ef3be5b48) Update reality_targets.js - [`8db6593`](https://github.com/MHSanaei/3x-ui/commit/8db6593330140b97479843783eb7f01100be0996) Update inbound.js ### 📊 Changes **2 files changed** (+11 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `web/assets/js/model/inbound.js` (+1 -1) 📝 `web/assets/js/model/reality_targets.js` (+10 -65) </details> ### 📄 Description ## What is the pull request? <!-- Briefly describe the changes introduced by this pull request --> ## Which part of the application is affected by the change? Overview This update replaces the random Reality target list with a set of globally accessible, high-availability domains from major international technology companies. Why Replace Some popular websites The original list included many well-known websites such asother major platforms. However,despite their popularity, their CDN infrastructure cannot guarantee both low latency and accessibility across all regions, especially in areas with strict network controls or limited international connectivity. In some regions, these services experience significantly higher latency or are partially/completely blocked due to regional network policies. As a result, if your VPS hosting the Reality node happens to be located in such regions, the overall performance, stability, and reachability of the Reality connection may be severely affected. Why Replace Google The original list included sites such as Google, which are not universally reachable in all regions. In particular, if a Reality node uses a Google domain as its target and is later used to access countries where Google services are blocked, that node’s IP address may be blacklisted or restricted by those countries’ networks, leading to connectivity failures or service denial. Google services (e.g., cloud.google.com) are inaccessible in: Mainland China Iran North Korea Crimea region Syria China and Iran are regions that greatly need to use proxies. Why Replace Cloudflare See reference: https://github.com/XTLS/Xray-core/issues/2360 Cloudflare CDN should not be used as a Reality destination. Using Cloudflare edge IPs can unintentionally expose your Reality node IP to be misused as a public Cloudflare proxy, which may lead to bandwidth abuse or IP blocking. When a Reality destination resolves to a Cloudflare edge IP, external programs may route Cloudflare-based traffic through your server, resulting in traffic hijacking and resource abuse. About the New Target List All domains in this new list belong to well-established multinational enterprises (Apple, Microsoft, Tesla, AMD, NVIDIA, Amazon, Intel, Oracle). These companies: robust global CDN networks (many use Akamai, Fastly, or proprietary edge systems). Offer consistent latency and availability across continents. Are reliable and safe for use as Reality targets, without regional blocking issues. - [x] Frontend - [ ] Backend ## Type of Changes - [ ] Bug fix - [ ] New feature - [ ] Refactoring - [x] Other ## Screenshots <!-- Add screenshots to illustrate the changes --> <!-- Remove this section if it is not applicable. --> --- <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:07 +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#5458
No description provided.