github.com/imannamdari/v2ray-core/v5@v5.0.5/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/imannamdari/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  
    22    v2ray.core.transport.internet.tls.Config tls_config = 1;
    23    string imitate = 2;
    24    bool noSNI = 3;
    25    ForcedALPN force_alpn = 4;
    26  }