mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-30 21:16:03 +00:00
https://github.com/XTLS/Xray-core/pull/6565#issuecomment-5202554275 Fixes https://github.com/XTLS/Xray-core/issues/6408 Fixes https://github.com/XTLS/Xray-core/issues/6598 ...
33 lines
767 B
Protocol Buffer
33 lines
767 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package xray.transport.internet.finalmask.realm;
|
|
option csharp_namespace = "Xray.Transport.Internet.Finalmask.Realm";
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/finalmask/realm";
|
|
option java_package = "com.xray.transport.internet.finalmask.realm";
|
|
option java_multiple_files = true;
|
|
|
|
import "transport/internet/tls/config.proto";
|
|
|
|
enum Family {
|
|
Dual = 0;
|
|
V4 = 1;
|
|
V6 = 2;
|
|
}
|
|
|
|
message PortMapping {
|
|
bool enabled = 1;
|
|
int64 timeout = 2;
|
|
int64 lifetime = 3;
|
|
}
|
|
|
|
message Config {
|
|
string scheme = 1;
|
|
string host = 2;
|
|
string port = 3;
|
|
string token = 4;
|
|
string ID = 5;
|
|
repeated string stun_servers = 6;
|
|
xray.transport.internet.tls.Config tls_config = 7;
|
|
string IPMode = 8;
|
|
PortMapping port_mapping = 9;
|
|
} |