github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/tls/utls/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.core.transport.internet.tls.utls;
     4  option csharp_namespace = "V2Ray.Core.Transport.Internet.Tls.UTls";
     5  option go_package = "github.com/v2fly/v2ray-core/v5/transport/internet/tls/utls";
     6  option java_package = "com.v2ray.core.transport.internet.tls.utls";
     7  option java_multiple_files = true;
     8  
     9  import "common/protoext/extensions.proto";
    10  import "transport/internet/tls/config.proto";
    11  
    12  enum ForcedALPN{
    13    TRANSPORT_PREFERENCE_TAKE_PRIORITY = 0;
    14    NO_ALPN = 1;
    15    UTLS_PRESET = 2;
    16  }
    17  
    18  message Config {
    19    option (v2ray.core.common.protoext.message_opt).type = "security";
    20    option (v2ray.core.common.protoext.message_opt).short_name = "utls";
    21    option (v2ray.core.common.protoext.message_opt).allow_restricted_mode_load = true;
    22  
    23    v2ray.core.transport.internet.tls.Config tls_config = 1;
    24    string imitate = 2;
    25    bool noSNI = 3;
    26    ForcedALPN force_alpn = 4;
    27  }