mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5076] [MERGED] feat(mtproto): add MTProto (FakeTLS) protocol via managed mtg sidecar #5770
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5770
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5076
Author: @MHSanaei
Created: 6/8/2026
Status: ✅ Merged
Merged: 6/8/2026
Merged by: @MHSanaei
Base:
main← Head:mtproto📝 Commits (5)
df6d13dfeat(mtproto): add MTProto (FakeTLS) protocol via managed mtg sidecard79d314Merge branch 'main' into mtprotoa064f62fix2b2d68bfix83d3163fix: address Copilot review comments on mtproto PR📊 Changes
46 files changed (+1381 additions, -9 deletions)
View changed files
📝
.github/workflows/release.yml(+19 -0)📝
DockerInit.sh(+12 -0)📝
database/model/model.go(+68 -1)➕
database/model/model_mtproto_test.go(+71 -0)📝
frontend/public/openapi.json(+2 -1)📝
frontend/src/generated/schemas.ts(+2 -1)📝
frontend/src/generated/zod.ts(+1 -1)📝
frontend/src/lib/xray/inbound-defaults.ts(+41 -1)📝
frontend/src/lib/xray/inbound-link.ts(+24 -0)📝
frontend/src/pages/inbounds/form/InboundFormModal.tsx(+4 -0)📝
frontend/src/pages/inbounds/form/protocols/index.ts(+1 -0)➕
frontend/src/pages/inbounds/form/protocols/mtproto.tsx(+40 -0)📝
frontend/src/pages/inbounds/info/InboundInfoModal.tsx(+29 -0)📝
frontend/src/schemas/primitives/protocol.ts(+2 -0)📝
frontend/src/schemas/protocols/inbound/index.ts(+3 -0)➕
frontend/src/schemas/protocols/inbound/mtproto.ts(+10 -0)📝
frontend/src/test/__snapshots__/protocol-capabilities.test.ts.snap(+168 -0)📝
frontend/src/test/__snapshots__/protocols.test.ts.snap(+10 -0)➕
frontend/src/test/golden/fixtures/inbound/mtproto-basic.json(+7 -0)📝
install.sh(+9 -0)...and 26 more files
📄 Description
Xray-core has no mtproto proxy, so mtproto inbounds run as standalone mtg (9seconds/mtg) sidecar processes managed by the panel — one per inbound — and are excluded from the generated Xray config entirely.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.