mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-11-21 00:59:12 +00:00
https://github.com/XTLS/Xray-core/pull/6769#issuecomment-6117945421 https://github.com/XTLS/Xray-core/issues/7394#issuecomment-6855385193 https://github.com/XTLS/Xray-core/pull/6769#issuecomment-6880324101 https://github.com/XTLS/Xray-core/pull/7402#issuecomment-6887468010 https://github.com/XTLS/Xray-core/pull/7402#issuecomment-6890345279 https://github.com/XTLS/Xray-core/pull/7402#issuecomment-6896090317 https://github.com/XTLS/Xray-core/issues/7394#issuecomment-6897315492 https://github.com/XTLS/Xray-core/pull/7402#issuecomment-6912788851
41 lines
1.3 KiB
Protocol Buffer
41 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.transport.internet.finalmask.xmc;
|
|
option csharp_namespace = "Xray.Transport.Internet.Finalmask.XMC";
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/finalmask/xmc";
|
|
option java_package = "com.xray.transport.internet.finalmask.xmc";
|
|
option java_multiple_files = true;
|
|
|
|
message Profile {
|
|
// Resolve the UUID from https://api.mojang.com/users/profiles/minecraft/{username}.
|
|
string username = 1;
|
|
bytes uuid = 2;
|
|
// Copy the signed textures property returned by
|
|
// https://sessionserver.mojang.com/session/minecraft/profile/{uuid}?unsigned=false.
|
|
string textures_value = 3;
|
|
string textures_signature = 4;
|
|
}
|
|
|
|
message Config {
|
|
string password = 1;
|
|
reserved 2;
|
|
bytes rsa_private_key = 8;
|
|
bytes rsa_public_key = 9;
|
|
string hostname = 10;
|
|
repeated Profile profiles = 11;
|
|
// Startup padding turns. Empty uses the built-in preset.
|
|
repeated Padding paddings = 12;
|
|
}
|
|
|
|
message Padding {
|
|
int64 length_min = 1;
|
|
int64 length_max = 2;
|
|
// 1 = client to server, 2 = server to client
|
|
int32 direction = 3;
|
|
// Millisecond pause after this turn, including the last one. The sender
|
|
// waits for a uniformly selected value in [delay_min, delay_max]; the
|
|
// receiver waits at least delay_min. Zero means no delay.
|
|
int64 delay_min = 4;
|
|
int64 delay_max = 5;
|
|
}
|