[GH-ISSUE #6785] [Feature Request] Support Xdrive transport for Xray-core #4520

Closed
opened 2026-10-31 20:40:14 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @alinasrollahzadeh405-sudo on GitHub (Oct 10, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6785

Feature Description

With the recent updates in Xray-core introducing the new xdrive transport protocol, it would be extremely beneficial to integrate native configuration support for xdrive into the 3X-UI panel interface.

Proposed Changes

  • Add xdrive to the available Transport selection dropdown when creating or editing inbounds (VLESS / VMess / Trojan, etc.).
  • Include relevant transport settings (path, host, headers, or specific configuration options required by Xdrive) in the panel GUI.
  • Ensure proper generation of the inbound JSON configuration for the updated Xray-core.

Additional Context

  • Core Version: Requires the latest Xray-core with Xdrive transport support.
  • Benefits: Provides users with the latest protocol/transport options for enhanced anti-censorship and routing capabilities directly through the panel.

Thank you for your hard work and continuous maintenance of this project!

Describe the solution you'd like

please add "xdrive" to inbound and outbound. thank you!

Alternatives you've considered

No response

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'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 @alinasrollahzadeh405-sudo on GitHub (Oct 10, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6785 ### Is your feature request related to a problem? ### Feature Description With the recent updates in Xray-core introducing the new `xdrive` transport protocol, it would be extremely beneficial to integrate native configuration support for `xdrive` into the 3X-UI panel interface. ### Proposed Changes * Add `xdrive` to the available **Transport** selection dropdown when creating or editing inbounds (VLESS / VMess / Trojan, etc.). * Include relevant transport settings (path, host, headers, or specific configuration options required by Xdrive) in the panel GUI. * Ensure proper generation of the inbound JSON configuration for the updated Xray-core. ### Additional Context * **Core Version:** Requires the latest Xray-core with Xdrive transport support. * **Benefits:** Provides users with the latest protocol/transport options for enhanced anti-censorship and routing capabilities directly through the panel. Thank you for your hard work and continuous maintenance of this project! ### Describe the solution you'd like please add "xdrive" to inbound and outbound. thank you! ### Alternatives you've considered _No response_ ### 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'd like to implement this feature myself and open a PR. - [ ] 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:40:14 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 10, 2026):

This is a valid feature request: 3x-ui has no xdrive transport today. Before it can be scoped, though, we need a pointer to where Xray-core defines it, because I could not find it.

What the panel supports now

The transport list is a fixed enum in frontend/src/schemas/protocols/stream/index.ts:25-33:

export const NetworkSchema = z.enum([
  'tcp',
  'kcp',
  'ws',
  'grpc',
  'httpupgrade',
  'xhttp',
  'hysteria',
]);

Each transport also needs its own <network>Settings branch in the TransportNetworkSettingsSchema discriminated union (same file, lines 45-56). A search of the whole repository for xdrive (any case) finds nothing in the Go backend, the frontend, the share-link generators or the docs.

What I could not confirm

  • A search of XTLS/Xray-core issues and PRs for xdrive returned no matching transport. The only results were unrelated XHTTP/REALITY threads.
  • The Xray-core this repo builds against is pinned in go.mod:31 (github.com/xtls/xray-core v1.260327.1-0.20260930074004-b26a91de4f32). I could not inspect that module's source here, so I can't tell whether it contains such a transport under some other name.

Adding a transport touches several places: the stream schema and form, the inbound/outbound form adapters in frontend/src/lib/xray/, the share-link and subscription generators (frontend, internal/sub/, and docs/lib/xray/), and the TLS/REALITY capability lists in frontend/src/lib/xray/protocol-capabilities.ts:9-11. For that the maintainer needs the exact upstream wire format. Please reply with:

  1. A link to the Xray-core release, commit or pull request that adds xdrive, so we can confirm it exists and see which core version it needs.
  2. The exact JSON key names it uses in streamSettings (for example "network": "xdrive" plus its settings object), or a link to the upstream config documentation.
  3. Whether it works with security: "tls" / "reality", and whether clients have a share-link format for it.

Verdict: Feature request

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

<!-- gh-comment-id:6097963531 --> @github-actions[bot] commented on GitHub (Oct 10, 2026): This is a valid feature request: 3x-ui has no `xdrive` transport today. Before it can be scoped, though, we need a pointer to where Xray-core defines it, because I could not find it. **What the panel supports now** The transport list is a fixed enum in `frontend/src/schemas/protocols/stream/index.ts:25-33`: ```ts export const NetworkSchema = z.enum([ 'tcp', 'kcp', 'ws', 'grpc', 'httpupgrade', 'xhttp', 'hysteria', ]); ``` Each transport also needs its own `<network>Settings` branch in the `TransportNetworkSettingsSchema` discriminated union (same file, lines 45-56). A search of the whole repository for `xdrive` (any case) finds nothing in the Go backend, the frontend, the share-link generators or the docs. **What I could not confirm** - A search of `XTLS/Xray-core` issues and PRs for `xdrive` returned no matching transport. The only results were unrelated XHTTP/REALITY threads. - The Xray-core this repo builds against is pinned in `go.mod:31` (`github.com/xtls/xray-core v1.260327.1-0.20260930074004-b26a91de4f32`). I could not inspect that module's source here, so I can't tell whether it contains such a transport under some other name. Adding a transport touches several places: the stream schema and form, the inbound/outbound form adapters in `frontend/src/lib/xray/`, the share-link and subscription generators (frontend, `internal/sub/`, and `docs/lib/xray/`), and the TLS/REALITY capability lists in `frontend/src/lib/xray/protocol-capabilities.ts:9-11`. For that the maintainer needs the exact upstream wire format. Please reply with: 1. A link to the Xray-core release, commit or pull request that adds `xdrive`, so we can confirm it exists and see which core version it needs. 2. The exact JSON key names it uses in `streamSettings` (for example `"network": "xdrive"` plus its settings object), or a link to the upstream config documentation. 3. Whether it works with `security: "tls"` / `"reality"`, and whether clients have a share-link format for it. Verdict: Feature request *This reply was generated automatically. A maintainer may follow up.* <!-- claude-issue:analyst -->
Author
Owner

@alinasrollahzadeh405-sudo commented on GitHub (Oct 10, 2026):

This is a valid feature request: 3x-ui has no xdrive transport today. Before it can be scoped, though, we need a pointer to where Xray-core defines it, because I could not find it.

What the panel supports now

The transport list is a fixed enum in frontend/src/schemas/protocols/stream/index.ts:25-33:

export const NetworkSchema = z.enum([
'tcp',
'kcp',
'ws',
'grpc',
'httpupgrade',
'xhttp',
'hysteria',
]);
Each transport also needs its own <network>Settings branch in the TransportNetworkSettingsSchema discriminated union (same file, lines 45-56). A search of the whole repository for xdrive (any case) finds nothing in the Go backend, the frontend, the share-link generators or the docs.

What I could not confirm

  • A search of XTLS/Xray-core issues and PRs for xdrive returned no matching transport. The only results were unrelated XHTTP/REALITY threads.
  • The Xray-core this repo builds against is pinned in go.mod:31 (github.com/xtls/xray-core v1.260327.1-0.20260930074004-b26a91de4f32). I could not inspect that module's source here, so I can't tell whether it contains such a transport under some other name.

Adding a transport touches several places: the stream schema and form, the inbound/outbound form adapters in frontend/src/lib/xray/, the share-link and subscription generators (frontend, internal/sub/, and docs/lib/xray/), and the TLS/REALITY capability lists in frontend/src/lib/xray/protocol-capabilities.ts:9-11. For that the maintainer needs the exact upstream wire format. Please reply with:

  1. A link to the Xray-core release, commit or pull request that adds xdrive, so we can confirm it exists and see which core version it needs.
  2. The exact JSON key names it uses in streamSettings (for example "network": "xdrive" plus its settings object), or a link to the upstream config documentation.
  3. Whether it works with security: "tls" / "reality", and whether clients have a share-link format for it.

Verdict: Feature request

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

hello. you can fined out xdrive in transport/internet/xdrive thank you for your support!

<!-- gh-comment-id:6098054086 --> @alinasrollahzadeh405-sudo commented on GitHub (Oct 10, 2026): > This is a valid feature request: 3x-ui has no `xdrive` transport today. Before it can be scoped, though, we need a pointer to where Xray-core defines it, because I could not find it. > > **What the panel supports now** > > The transport list is a fixed enum in `frontend/src/schemas/protocols/stream/index.ts:25-33`: > > export const NetworkSchema = z.enum([ > 'tcp', > 'kcp', > 'ws', > 'grpc', > 'httpupgrade', > 'xhttp', > 'hysteria', > ]); > Each transport also needs its own `<network>Settings` branch in the `TransportNetworkSettingsSchema` discriminated union (same file, lines 45-56). A search of the whole repository for `xdrive` (any case) finds nothing in the Go backend, the frontend, the share-link generators or the docs. > > **What I could not confirm** > > * A search of `XTLS/Xray-core` issues and PRs for `xdrive` returned no matching transport. The only results were unrelated XHTTP/REALITY threads. > * The Xray-core this repo builds against is pinned in `go.mod:31` (`github.com/xtls/xray-core v1.260327.1-0.20260930074004-b26a91de4f32`). I could not inspect that module's source here, so I can't tell whether it contains such a transport under some other name. > > Adding a transport touches several places: the stream schema and form, the inbound/outbound form adapters in `frontend/src/lib/xray/`, the share-link and subscription generators (frontend, `internal/sub/`, and `docs/lib/xray/`), and the TLS/REALITY capability lists in `frontend/src/lib/xray/protocol-capabilities.ts:9-11`. For that the maintainer needs the exact upstream wire format. Please reply with: > > 1. A link to the Xray-core release, commit or pull request that adds `xdrive`, so we can confirm it exists and see which core version it needs. > 2. The exact JSON key names it uses in `streamSettings` (for example `"network": "xdrive"` plus its settings object), or a link to the upstream config documentation. > 3. Whether it works with `security: "tls"` / `"reality"`, and whether clients have a share-link format for it. > > Verdict: Feature request > > _This reply was generated automatically. A maintainer may follow up._ hello. you can fined out xdrive in [transport/internet/xdrive](https://github.com/XTLS/Xray-core/tree/main/transport/internet/xdrive) thank you for your support!
Author
Owner

@github-actions[bot] commented on GitHub (Oct 10, 2026):

Thanks for the link. That settles it: XDRIVE is a real Xray-core transport, and the panel already ships a core that has it. The panel just doesn't let you pick or configure it yet, so this stays an open feature request.

Confirmation from this repository

I couldn't open the upstream transport/internet/xdrive directory from here. This repository's own history confirms it anyway. The commit that moved the panel to the new core, 62423cac ("feat(xray): update xray-core to v26.9.30 and adapt panel"), says in its message:

MASQUE (inbound, outbound, transport) and the XDRIVE transport are new
protocols the panel does not offer yet; their new loader refusals only
cover configs the panel never generates.

That commit is in the v3.9.0 release. So on v3.9.0 and later the bundled Xray-core has XDRIVE, but the panel has no UI for it. At the tip, frontend/src/schemas/protocols/stream/index.ts:25-33 still lists only tcp, kcp, ws, grpc, httpupgrade, xhttp and hysteria, and xdrive appears nowhere else in the repository.

Until it's supported

The bundled core can already run it, so you can add an XDRIVE inbound or outbound by hand through the Xray config template in the panel's Xray settings. Use the JSON format from the upstream Xray-core docs. The panel's forms and share links won't understand that entry.

Scope for the maintainer

Supporting it means adding xdrive to NetworkSchema, giving it its own xdriveSettings branch in TransportNetworkSettingsSchema (same file, lines 45-56), building its form, and adding share-link and subscription output in frontend/src/lib/xray/, internal/sub/ and docs/lib/xray/. The wire format and its settings keys come from the upstream transport/internet/xdrive package. I couldn't read that package from here.

You don't need to send anything else.

Verdict: Feature request

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

<!-- gh-comment-id:6098067504 --> @github-actions[bot] commented on GitHub (Oct 10, 2026): Thanks for the link. That settles it: XDRIVE is a real Xray-core transport, and the panel already ships a core that has it. The panel just doesn't let you pick or configure it yet, so this stays an open feature request. **Confirmation from this repository** I couldn't open the upstream `transport/internet/xdrive` directory from here. This repository's own history confirms it anyway. The commit that moved the panel to the new core, `62423cac` ("feat(xray): update xray-core to v26.9.30 and adapt panel"), says in its message: ``` MASQUE (inbound, outbound, transport) and the XDRIVE transport are new protocols the panel does not offer yet; their new loader refusals only cover configs the panel never generates. ``` That commit is in the `v3.9.0` release. So on `v3.9.0` and later the bundled Xray-core has XDRIVE, but the panel has no UI for it. At the tip, `frontend/src/schemas/protocols/stream/index.ts:25-33` still lists only `tcp`, `kcp`, `ws`, `grpc`, `httpupgrade`, `xhttp` and `hysteria`, and `xdrive` appears nowhere else in the repository. **Until it's supported** The bundled core can already run it, so you can add an XDRIVE inbound or outbound by hand through the Xray config template in the panel's Xray settings. Use the JSON format from the upstream Xray-core docs. The panel's forms and share links won't understand that entry. **Scope for the maintainer** Supporting it means adding `xdrive` to `NetworkSchema`, giving it its own `xdriveSettings` branch in `TransportNetworkSettingsSchema` (same file, lines 45-56), building its form, and adding share-link and subscription output in `frontend/src/lib/xray/`, `internal/sub/` and `docs/lib/xray/`. The wire format and its settings keys come from the upstream `transport/internet/xdrive` package. I couldn't read that package from here. You don't need to send anything else. Verdict: Feature request _This reply was generated automatically. A maintainer may follow up._ <!-- claude-issue:analyst -->
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#4520
No description provided.