github.com/xmplusdev/xray-core@v1.8.10/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/xmplusdev/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 USE_IP46 = 4; 31 USE_IP64 = 5; 32 FORCE_IP = 6; 33 FORCE_IP4 = 7; 34 FORCE_IP6 = 8; 35 FORCE_IP46 = 9; 36 FORCE_IP64 = 10; 37 } 38 DomainStrategy domain_strategy = 1; 39 uint32 timeout = 2 [deprecated = true]; 40 DestinationOverride destination_override = 3; 41 uint32 user_level = 4; 42 Fragment fragment = 5; 43 uint32 proxy_protocol = 6; 44 }