github.com/moqsien/xraycore@v1.8.5/proxy/freedom/config.proto (about) 1 syntax = "proto3"; 2 3 package xray.proxy.freedom; 4 option csharp_namespace = "Xray.Proxy.Freedom"; 5 option go_package = "github.com/xtls/xray-core/proxy/freedom"; 6 option java_package = "com.xray.proxy.freedom"; 7 option java_multiple_files = true; 8 9 import "common/protocol/server_spec.proto"; 10 11 message DestinationOverride { 12 xray.common.protocol.ServerEndpoint server = 1; 13 } 14 15 message Fragment { 16 uint64 packets_from = 1; 17 uint64 packets_to = 2; 18 uint64 length_min = 3; 19 uint64 length_max = 4; 20 uint64 interval_min = 5; 21 uint64 interval_max = 6; 22 } 23 24 message Config { 25 enum DomainStrategy { 26 AS_IS = 0; 27 USE_IP = 1; 28 USE_IP4 = 2; 29 USE_IP6 = 3; 30 } 31 DomainStrategy domain_strategy = 1; 32 uint32 timeout = 2 [deprecated = true]; 33 DestinationOverride destination_override = 3; 34 uint32 user_level = 4; 35 Fragment fragment = 5; 36 }