2016-09-22 10:49:20 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-09-26 09:14:16 -04:00
|
|
|
package v2ray.core.proxy.dokodemo;
|
2016-12-22 18:24:28 -05:00
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Dokodemo";
|
2022-01-02 10:16:23 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/dokodemo";
|
2016-09-26 09:14:16 -04:00
|
|
|
option java_package = "com.v2ray.core.proxy.dokodemo";
|
2017-02-03 17:15:10 -05:00
|
|
|
option java_multiple_files = true;
|
2016-09-22 10:49:20 -04:00
|
|
|
|
2020-08-24 08:10:26 -04:00
|
|
|
import "common/net/address.proto";
|
|
|
|
import "common/net/network.proto";
|
2021-09-06 10:58:48 -04:00
|
|
|
import "common/protoext/extensions.proto";
|
2016-09-22 10:49:20 -04:00
|
|
|
|
|
|
|
message Config {
|
2016-10-12 12:43:55 -04:00
|
|
|
v2ray.core.common.net.IPOrDomain address = 1;
|
2016-09-22 10:49:20 -04:00
|
|
|
uint32 port = 2;
|
2018-11-20 10:58:26 -05:00
|
|
|
|
|
|
|
// List of networks that the Dokodemo accepts.
|
|
|
|
// Deprecated. Use networks.
|
|
|
|
v2ray.core.common.net.NetworkList network_list = 3 [deprecated = true];
|
|
|
|
// List of networks that the Dokodemo accepts.
|
|
|
|
repeated v2ray.core.common.net.Network networks = 7;
|
|
|
|
|
2017-11-27 16:09:30 -05:00
|
|
|
uint32 timeout = 4 [deprecated = true];
|
2016-09-22 10:49:20 -04:00
|
|
|
bool follow_redirect = 5;
|
2017-11-27 16:09:30 -05:00
|
|
|
uint32 user_level = 6;
|
2020-08-24 08:10:26 -04:00
|
|
|
}
|
2021-09-06 10:58:48 -04:00
|
|
|
|
|
|
|
message SimplifiedConfig {
|
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "inbound";
|
2021-09-13 11:55:43 -04:00
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "dokodemo-door";
|
2021-09-06 10:58:48 -04:00
|
|
|
|
|
|
|
v2ray.core.common.net.IPOrDomain address = 1;
|
|
|
|
uint32 port = 2;
|
2022-08-19 08:41:18 -04:00
|
|
|
v2ray.core.common.net.NetworkList network = 3;
|
2021-09-06 10:58:48 -04:00
|
|
|
bool follow_redirect = 4;
|
|
|
|
}
|