Skip to content

[Feature]: Automatic rotation of Reality short IDs #6014

Description

@nickshiro

Is your feature request related to a problem?

Currently, Reality shortIds for VLESS inbounds must be manually regenerated and updated through the panel whenever a target domain or fingerprint gets flagged by DPI systems. In regions with active DPI (e.g., Russia's TSPU¹), short ID lists can accumulate detectable statistical patterns over time, and manually rotating them across multiple inbounds is tedious and error-prone, especially when running several Reality inbounds simultaneously.

¹ https://ooni.org/post/2024-russia-report/

Describe the solution you'd like

Add an optional auto-renew setting for Reality shortIds per inbound, similar to how some panels handle automatic cert renewal. For example, configurable rotation interval (e.g., every N days) that regenerates a subset or all of the shortIds list automatically. Optional, webhook on rotation so admins running automation (e.g., Telegram bots) can react to the change.

Alternatives you've considered

  • Manually regenerating short IDs via xray x25519/reality-shortid and updating the panel by hand
  • Cron script hitting the 3x-ui API to PATCH inbound settings

Concrete use case

No response

Mockups, screenshots, or examples

No response

Which parts of the panel would this affect?

No response

Are you willing to help?

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

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions