2016-09-24 17:11:58 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-09-26 09:14:16 -04:00
|
|
|
package v2ray.core.proxy.vmess.inbound;
|
2016-12-22 18:24:28 -05:00
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Vmess.Inbound";
|
2021-02-16 15:31:50 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v4/proxy/vmess/inbound";
|
2016-09-26 09:14:16 -04:00
|
|
|
option java_package = "com.v2ray.core.proxy.vmess.inbound";
|
2017-02-03 17:15:10 -05:00
|
|
|
option java_multiple_files = true;
|
2016-09-24 17:11:58 -04:00
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
import "common/protocol/user.proto";
|
2021-09-04 16:16:13 -04:00
|
|
|
import "common/protoext/extensions.proto";
|
2016-09-24 17:11:58 -04:00
|
|
|
|
|
|
|
message DetourConfig {
|
|
|
|
string to = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message DefaultConfig {
|
|
|
|
uint32 alter_id = 1;
|
|
|
|
uint32 level = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Config {
|
2016-09-26 09:14:16 -04:00
|
|
|
repeated v2ray.core.common.protocol.User user = 1;
|
2016-09-24 17:11:58 -04:00
|
|
|
DefaultConfig default = 2;
|
|
|
|
DetourConfig detour = 3;
|
2018-02-23 06:13:02 -05:00
|
|
|
bool secure_encryption_only = 4;
|
|
|
|
}
|
2021-09-04 16:16:13 -04:00
|
|
|
|
|
|
|
message SimplifiedConfig{
|
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "inbound";
|
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "vmess";
|
|
|
|
|
|
|
|
repeated string users = 1;
|
|
|
|
}
|