2016-08-25 19:55:49 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-09-26 13:14:16 +00:00
|
|
|
package v2ray.core.proxy.freedom;
|
2016-12-22 23:24:28 +00:00
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Freedom";
|
2016-08-25 19:55:49 +00:00
|
|
|
option go_package = "freedom";
|
2016-09-26 13:14:16 +00:00
|
|
|
option java_package = "com.v2ray.core.proxy.freedom";
|
2017-02-03 22:15:10 +00:00
|
|
|
option java_multiple_files = true;
|
2016-08-25 19:55:49 +00:00
|
|
|
|
2017-01-26 22:05:24 +00:00
|
|
|
import "v2ray.com/core/common/protocol/server_spec.proto";
|
|
|
|
|
|
|
|
message DestinationOverride {
|
|
|
|
v2ray.core.common.protocol.ServerEndpoint server = 1;
|
|
|
|
}
|
|
|
|
|
2016-08-25 19:55:49 +00:00
|
|
|
message Config {
|
|
|
|
enum DomainStrategy {
|
|
|
|
AS_IS = 0;
|
|
|
|
USE_IP = 1;
|
|
|
|
}
|
2017-01-26 22:05:24 +00:00
|
|
|
DomainStrategy domain_strategy = 1;
|
2017-11-27 21:09:30 +00:00
|
|
|
uint32 timeout = 2 [deprecated = true];
|
2017-01-26 22:05:24 +00:00
|
|
|
DestinationOverride destination_override = 3;
|
2017-11-27 21:09:30 +00:00
|
|
|
uint32 user_level = 4;
|
2017-01-26 22:05:24 +00:00
|
|
|
}
|