2020-11-25 13:01:53 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package xray.proxy.freedom;
|
|
|
|
option csharp_namespace = "Xray.Proxy.Freedom";
|
2020-12-04 03:36:16 +02:00
|
|
|
option go_package = "github.com/xtls/xray-core/proxy/freedom";
|
2020-11-25 13:01:53 +02:00
|
|
|
option java_package = "com.xray.proxy.freedom";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
import "common/protocol/server_spec.proto";
|
|
|
|
|
|
|
|
message DestinationOverride {
|
|
|
|
xray.common.protocol.ServerEndpoint server = 1;
|
|
|
|
}
|
|
|
|
|
2023-05-22 05:59:58 +03:00
|
|
|
message Fragment {
|
2023-07-06 19:30:39 +03:00
|
|
|
uint64 packets_from = 1;
|
|
|
|
uint64 packets_to = 2;
|
|
|
|
uint64 length_min = 3;
|
|
|
|
uint64 length_max = 4;
|
|
|
|
uint64 interval_min = 5;
|
|
|
|
uint64 interval_max = 6;
|
2023-05-22 05:59:58 +03:00
|
|
|
}
|
2024-08-29 00:10:11 +03:00
|
|
|
message Noise {
|
|
|
|
uint64 length_min = 1;
|
|
|
|
uint64 length_max = 2;
|
|
|
|
uint64 delay_min = 3;
|
|
|
|
uint64 delay_max = 4;
|
2024-09-16 15:46:30 +03:00
|
|
|
bytes str_noise = 5;
|
2024-08-29 00:10:11 +03:00
|
|
|
}
|
2023-05-22 05:59:58 +03:00
|
|
|
|
2020-11-25 13:01:53 +02:00
|
|
|
message Config {
|
|
|
|
enum DomainStrategy {
|
|
|
|
AS_IS = 0;
|
|
|
|
USE_IP = 1;
|
|
|
|
USE_IP4 = 2;
|
|
|
|
USE_IP6 = 3;
|
2023-11-12 23:27:39 +02:00
|
|
|
USE_IP46 = 4;
|
|
|
|
USE_IP64 = 5;
|
|
|
|
FORCE_IP = 6;
|
|
|
|
FORCE_IP4 = 7;
|
|
|
|
FORCE_IP6 = 8;
|
|
|
|
FORCE_IP46 = 9;
|
|
|
|
FORCE_IP64 = 10;
|
2020-11-25 13:01:53 +02:00
|
|
|
}
|
|
|
|
DomainStrategy domain_strategy = 1;
|
|
|
|
DestinationOverride destination_override = 3;
|
|
|
|
uint32 user_level = 4;
|
2024-02-03 03:10:23 +02:00
|
|
|
Fragment fragment = 5;
|
|
|
|
uint32 proxy_protocol = 6;
|
2024-09-16 15:46:30 +03:00
|
|
|
repeated Noise noises = 7;
|
2020-11-25 13:01:53 +02:00
|
|
|
}
|