[GH-ISSUE #5847] [Feature]: Could you please add the functionality to save modifications to the custom list of frequently used candidates for Reality? #4060

Closed
opened 2026-10-31 20:36:52 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @StarNolFurry on GitHub (Jul 7, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5847

In my daily usage, I often work with a specific set of custom, non-built-in target candidates. It would be highly appreciated if functionality could be added to modify this frequently used candidates list. This would allow me to directly detect and configure them when creating new inbound connections, eliminating the need to use external tools to search for previously identified targets.

Describe the solution you'd like

It would be perfectly fine to simply place the button for modifying the Reality custom candidate list within the General Settings.

Alternatives you've considered

No response

Concrete use case

This would allow me to quickly add them when configuring a new inbound connection, eliminating the need to test my target candidates one by one.

Mockups, screenshots, or examples

No response

Which parts of the panel would this affect?

No response

Are you willing to help?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.
Originally created by @StarNolFurry on GitHub (Jul 7, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5847 ### Is your feature request related to a problem? In my daily usage, I often work with a specific set of custom, non-built-in target candidates. It would be highly appreciated if functionality could be added to modify this frequently used candidates list. This would allow me to directly detect and configure them when creating new inbound connections, eliminating the need to use external tools to search for previously identified targets. ### Describe the solution you'd like It would be perfectly fine to simply place the button for modifying the Reality custom candidate list within the General Settings. ### Alternatives you've considered _No response_ ### Concrete use case This would allow me to quickly add them when configuring a new inbound connection, eliminating the need to test my target candidates one by one. ### Mockups, screenshots, or examples _No response_ ### Which parts of the panel would this affect? _No response_ ### Are you willing to help? - [ ] I'd like to implement this feature myself and open a PR. - [x] I can help test once a PR is open. ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
bsakaguchi 2026-10-31 20:36:52 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 7, 2026):

This is not currently supported, and confirmed there is no existing place to persist a custom Reality target list.

What exists today:

  • The Reality target field (frontend/src/pages/inbounds/form/security/reality.tsx) is a single free-text input with a "Scan" button that validates whatever is typed there.
  • The "Find Targets" button opens a scanner modal (RealityTargetScannerModal.tsx) that, by default, probes a fixed built-in list (defaultRealityScanCandidates in internal/web/service/reality_scan.go): www.cloudflare.com:443, www.microsoft.com:443, www.amazon.com:443, aws.amazon.com:443, www.samsung.com:443, www.nvidia.com:443, www.amd.com:443, www.intel.com:443, www.sony.com:443, dl.google.com:443.
  • That modal's search box does let you type your own comma-separated targets (or CIDR ranges) for a one-off scan (posted to /panel/api/server/scanRealityTargets), but nothing is saved — the field resets every time the modal is reopened, so there is no way to keep a personal shortlist across sessions or inbounds.
  • I also checked frontend/src/pages/settings/GeneralTab.tsx (the General Settings tab); there is no field there related to Reality targets.

So the request is accurate: today you must retype or rescan your known-good targets every time. Adding a persisted, editable custom-candidate list (e.g. stored as a setting and surfaced both in General Settings and as the default list in the "Find Targets" scanner) would be new functionality, not a bug fix. The codebase already stores comparable comma-separated lists as settings (e.g. trustedProxyCIDRs, ldapInboundTags), so the general shape of this request is consistent with existing patterns, but it has not been implemented.

Since you did not check the "I'd like to implement this myself" box, this will need to wait for a maintainer or another contributor to pick it up; there is no timeline to share.

This reply was generated automatically. A maintainer may follow up.

<!-- gh-comment-id:4902938738 --> @github-actions[bot] commented on GitHub (Jul 7, 2026): This is not currently supported, and confirmed there is no existing place to persist a custom Reality target list. What exists today: - The Reality `target` field (`frontend/src/pages/inbounds/form/security/reality.tsx`) is a single free-text input with a "Scan" button that validates whatever is typed there. - The "Find Targets" button opens a scanner modal (`RealityTargetScannerModal.tsx`) that, by default, probes a fixed built-in list (`defaultRealityScanCandidates` in `internal/web/service/reality_scan.go`): `www.cloudflare.com:443`, `www.microsoft.com:443`, `www.amazon.com:443`, `aws.amazon.com:443`, `www.samsung.com:443`, `www.nvidia.com:443`, `www.amd.com:443`, `www.intel.com:443`, `www.sony.com:443`, `dl.google.com:443`. - That modal's search box does let you type your own comma-separated targets (or CIDR ranges) for a one-off scan (posted to `/panel/api/server/scanRealityTargets`), but nothing is saved — the field resets every time the modal is reopened, so there is no way to keep a personal shortlist across sessions or inbounds. - I also checked `frontend/src/pages/settings/GeneralTab.tsx` (the General Settings tab); there is no field there related to Reality targets. So the request is accurate: today you must retype or rescan your known-good targets every time. Adding a persisted, editable custom-candidate list (e.g. stored as a setting and surfaced both in General Settings and as the default list in the "Find Targets" scanner) would be new functionality, not a bug fix. The codebase already stores comparable comma-separated lists as settings (e.g. `trustedProxyCIDRs`, `ldapInboundTags`), so the general shape of this request is consistent with existing patterns, but it has not been implemented. Since you did not check the "I'd like to implement this myself" box, this will need to wait for a maintainer or another contributor to pick it up; there is no timeline to share. *This reply was generated automatically. A maintainer may follow up.*
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#4060
No description provided.