mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-09 14:45:02 +03:00
feat(xray): add the XDRIVE transport
xray-core v26.10.10 tunnels a stream through files in shared cloud
storage ("network": "xdrive"): Google Drive, a local folder, or any HTTP
storage API described by a template. The panel could not select it, and
the stream schema rejected a pasted xdrive stream outright.
The inbound and outbound forms now offer XDRIVE with one shared editor:
service, folder, the three Google Drive secrets in the order the core
reads them, a template JSON editor with its {secretN} values, the
optional domain front (the stream-level address/port the storage client
dials), and the core's tuning knobs with their defaults as placeholders.
Switching an inbound to XDRIVE resets security to none, because the
core would otherwise read the inbound's TLS/REALITY as the storage API's
client TLS.
XDRIVE has no share-link format, and a link carrying the storage
secrets would print them into every QR code, so both link generators
emit none for it; the JSON subscription already passes the stream
through intact, and Clash drops the unknown transport.
This commit is contained in:
@@ -694,7 +694,31 @@
|
||||
"listen": "آدرس شنود ورودی",
|
||||
"custom": "سفارشی"
|
||||
},
|
||||
"autoFill": "تکمیل خودکار"
|
||||
"autoFill": "تکمیل خودکار",
|
||||
"xdrive": {
|
||||
"service": "سرویس ذخیرهسازی",
|
||||
"serviceLocal": "پوشهٔ محلی",
|
||||
"serviceTemplate": "قالب سفارشی",
|
||||
"remoteFolder": "پوشهٔ راه دور",
|
||||
"clientId": "Client ID",
|
||||
"clientSecret": "Client Secret",
|
||||
"refreshToken": "Refresh Token",
|
||||
"secrets": "مقادیر محرمانه",
|
||||
"secretsDesc": "مقادیری که قالب با {secret0}، {secret1}، … میخواند",
|
||||
"template": "قالب ذخیرهسازی",
|
||||
"templateInvalid": "باید یک شیء JSON باشد",
|
||||
"front": "آدرس Front",
|
||||
"frontDesc": "میزبان یا IP اختیاری که API ذخیرهساز از طریق آن وصل میشود (domain fronting).",
|
||||
"frontPort": "پورت Front",
|
||||
"segmentBytes": "اندازهٔ قطعه (بایت)",
|
||||
"flushInterval": "فاصلهٔ ارسال (میلیثانیه)",
|
||||
"pollInterval": "فاصلهٔ بررسی (میلیثانیه)",
|
||||
"maxPollInterval": "حداکثر فاصلهٔ بررسی (میلیثانیه)",
|
||||
"eagerWindow": "پنجرهٔ پیشارسال (میلیثانیه)",
|
||||
"holeTimeout": "مهلت قطعهٔ گمشده (میلیثانیه)",
|
||||
"sessionTtl": "TTL نشست (ثانیه)",
|
||||
"concurrency": "همزمانی"
|
||||
}
|
||||
},
|
||||
"info": {
|
||||
"mode": "حالت",
|
||||
|
||||
Reference in New Issue
Block a user