1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-19 18:23:38 -04:00
v2fly/transport/internet/tls/utls/config.proto

27 lines
880 B
Protocol Buffer
Raw Normal View History

2022-12-16 15:50:53 -05:00
syntax = "proto3";
package v2ray.core.transport.internet.tls.utls;
option csharp_namespace = "V2Ray.Core.Transport.Internet.Tls.UTls";
option go_package = "github.com/v2fly/v2ray-core/v5/transport/internet/tls/utls";
option java_package = "com.v2ray.core.transport.internet.tls.utls";
option java_multiple_files = true;
import "common/protoext/extensions.proto";
import "transport/internet/tls/config.proto";
2023-01-12 10:33:08 -05:00
enum ForcedALPN{
TRANSPORT_PREFERENCE_TAKE_PRIORITY = 0;
NO_ALPN = 1;
UTLS_PRESET = 2;
}
2022-12-16 15:50:53 -05:00
message Config {
option (v2ray.core.common.protoext.message_opt).type = "security";
option (v2ray.core.common.protoext.message_opt).short_name = "utls";
option (v2ray.core.common.protoext.message_opt).allow_restricted_mode_load = true;
2022-12-16 15:50:53 -05:00
v2ray.core.transport.internet.tls.Config tls_config = 1;
string imitate = 2;
bool noSNI = 3;
2023-01-12 10:33:08 -05:00
ForcedALPN force_alpn = 4;
2022-12-16 15:50:53 -05:00
}