mirror of https://github.com/XTLS/Xray-core
				
				
				
			Fix: protobuf file (#724)
							parent
							
								
									ffc2f7c4e2
								
							
						
					
					
						commit
						7033f7cf5f
					
				| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/commander/config.proto
 | 
			
		||||
 | 
			
		||||
package commander
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/dispatcher/config.proto
 | 
			
		||||
 | 
			
		||||
package dispatcher
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/dns/config.proto
 | 
			
		||||
 | 
			
		||||
package dns
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/dns/fakedns/fakedns.proto
 | 
			
		||||
 | 
			
		||||
package fakedns
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/log/command/config.proto
 | 
			
		||||
 | 
			
		||||
package command
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/log/config.proto
 | 
			
		||||
 | 
			
		||||
package log
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/policy/config.proto
 | 
			
		||||
 | 
			
		||||
package policy
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/proxyman/command/command.proto
 | 
			
		||||
 | 
			
		||||
package command
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/proxyman/config.proto
 | 
			
		||||
 | 
			
		||||
package proxyman
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/reverse/config.proto
 | 
			
		||||
 | 
			
		||||
package reverse
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/router/command/command.proto
 | 
			
		||||
 | 
			
		||||
package command
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/router/config.proto
 | 
			
		||||
 | 
			
		||||
package router
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/stats/command/command.proto
 | 
			
		||||
 | 
			
		||||
package command
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: app/stats/config.proto
 | 
			
		||||
 | 
			
		||||
package stats
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/log/log.proto
 | 
			
		||||
 | 
			
		||||
package log
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/net/address.proto
 | 
			
		||||
 | 
			
		||||
package net
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/net/destination.proto
 | 
			
		||||
 | 
			
		||||
package net
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/net/network.proto
 | 
			
		||||
 | 
			
		||||
package net
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/net/port.proto
 | 
			
		||||
 | 
			
		||||
package net
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/protocol/headers.proto
 | 
			
		||||
 | 
			
		||||
package protocol
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/protocol/server_spec.proto
 | 
			
		||||
 | 
			
		||||
package protocol
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/protocol/user.proto
 | 
			
		||||
 | 
			
		||||
package protocol
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: common/serial/typed_message.proto
 | 
			
		||||
 | 
			
		||||
package serial
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: core/config.proto
 | 
			
		||||
 | 
			
		||||
package core
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -54,7 +54,8 @@ func (v *ShadowsocksServerConfig) Build() (proto.Message, error) {
 | 
			
		|||
			if account.Password == "" {
 | 
			
		||||
				return nil, newError("Shadowsocks password is not specified.")
 | 
			
		||||
			}
 | 
			
		||||
			if account.CipherType < 5 || account.CipherType > 7 {
 | 
			
		||||
			if account.CipherType < shadowsocks.CipherType_AES_128_GCM ||
 | 
			
		||||
				account.CipherType > shadowsocks.CipherType_CHACHA20_POLY1305 {
 | 
			
		||||
				return nil, newError("unsupported cipher method: ", user.Cipher)
 | 
			
		||||
			}
 | 
			
		||||
			config.Users = append(config.Users, &protocol.User{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/blackhole/config.proto
 | 
			
		||||
 | 
			
		||||
package blackhole
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/dns/config.proto
 | 
			
		||||
 | 
			
		||||
package dns
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/dokodemo/config.proto
 | 
			
		||||
 | 
			
		||||
package dokodemo
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/freedom/config.proto
 | 
			
		||||
 | 
			
		||||
package freedom
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/http/config.proto
 | 
			
		||||
 | 
			
		||||
package http
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/mtproto/config.proto
 | 
			
		||||
 | 
			
		||||
package mtproto
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/shadowsocks/config.proto
 | 
			
		||||
 | 
			
		||||
package shadowsocks
 | 
			
		||||
| 
						 | 
				
			
			@ -26,27 +26,27 @@ type CipherType int32
 | 
			
		|||
 | 
			
		||||
const (
 | 
			
		||||
	CipherType_UNKNOWN           CipherType = 0
 | 
			
		||||
	CipherType_AES_128_GCM       CipherType = 1
 | 
			
		||||
	CipherType_AES_256_GCM       CipherType = 2
 | 
			
		||||
	CipherType_CHACHA20_POLY1305 CipherType = 3
 | 
			
		||||
	CipherType_NONE              CipherType = 4
 | 
			
		||||
	CipherType_AES_128_GCM       CipherType = 5
 | 
			
		||||
	CipherType_AES_256_GCM       CipherType = 6
 | 
			
		||||
	CipherType_CHACHA20_POLY1305 CipherType = 7
 | 
			
		||||
	CipherType_NONE              CipherType = 8
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// Enum value maps for CipherType.
 | 
			
		||||
var (
 | 
			
		||||
	CipherType_name = map[int32]string{
 | 
			
		||||
		0: "UNKNOWN",
 | 
			
		||||
		1: "AES_128_GCM",
 | 
			
		||||
		2: "AES_256_GCM",
 | 
			
		||||
		3: "CHACHA20_POLY1305",
 | 
			
		||||
		4: "NONE",
 | 
			
		||||
		5: "AES_128_GCM",
 | 
			
		||||
		6: "AES_256_GCM",
 | 
			
		||||
		7: "CHACHA20_POLY1305",
 | 
			
		||||
		8: "NONE",
 | 
			
		||||
	}
 | 
			
		||||
	CipherType_value = map[string]int32{
 | 
			
		||||
		"UNKNOWN":           0,
 | 
			
		||||
		"AES_128_GCM":       1,
 | 
			
		||||
		"AES_256_GCM":       2,
 | 
			
		||||
		"CHACHA20_POLY1305": 3,
 | 
			
		||||
		"NONE":              4,
 | 
			
		||||
		"AES_128_GCM":       5,
 | 
			
		||||
		"AES_256_GCM":       6,
 | 
			
		||||
		"CHACHA20_POLY1305": 7,
 | 
			
		||||
		"NONE":              8,
 | 
			
		||||
	}
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -267,10 +267,10 @@ var file_proxy_shadowsocks_config_proto_rawDesc = []byte{
 | 
			
		|||
	0x72, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65,
 | 
			
		||||
	0x72, 0x2a, 0x5c, 0x0a, 0x0a, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12,
 | 
			
		||||
	0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b,
 | 
			
		||||
	0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x47, 0x43, 0x4d, 0x10, 0x01, 0x12, 0x0f, 0x0a,
 | 
			
		||||
	0x0b, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x5f, 0x47, 0x43, 0x4d, 0x10, 0x02, 0x12, 0x15,
 | 
			
		||||
	0x41, 0x45, 0x53, 0x5f, 0x31, 0x32, 0x38, 0x5f, 0x47, 0x43, 0x4d, 0x10, 0x05, 0x12, 0x0f, 0x0a,
 | 
			
		||||
	0x0b, 0x41, 0x45, 0x53, 0x5f, 0x32, 0x35, 0x36, 0x5f, 0x47, 0x43, 0x4d, 0x10, 0x06, 0x12, 0x15,
 | 
			
		||||
	0x0a, 0x11, 0x43, 0x48, 0x41, 0x43, 0x48, 0x41, 0x32, 0x30, 0x5f, 0x50, 0x4f, 0x4c, 0x59, 0x31,
 | 
			
		||||
	0x33, 0x30, 0x35, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x04, 0x42,
 | 
			
		||||
	0x33, 0x30, 0x35, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x08, 0x42,
 | 
			
		||||
	0x64, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x78, 0x72, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x78,
 | 
			
		||||
	0x79, 0x2e, 0x73, 0x68, 0x61, 0x64, 0x6f, 0x77, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x50, 0x01, 0x5a,
 | 
			
		||||
	0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x78, 0x74, 0x6c, 0x73,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,10 +17,10 @@ message Account {
 | 
			
		|||
 | 
			
		||||
enum CipherType {
 | 
			
		||||
  UNKNOWN = 0;
 | 
			
		||||
  AES_128_GCM = 1;
 | 
			
		||||
  AES_256_GCM = 2;
 | 
			
		||||
  CHACHA20_POLY1305 = 3;
 | 
			
		||||
  NONE = 4;
 | 
			
		||||
  AES_128_GCM = 5;
 | 
			
		||||
  AES_256_GCM = 6;
 | 
			
		||||
  CHACHA20_POLY1305 = 7;
 | 
			
		||||
  NONE = 8;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
message ServerConfig {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/socks/config.proto
 | 
			
		||||
 | 
			
		||||
package socks
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/trojan/config.proto
 | 
			
		||||
 | 
			
		||||
package trojan
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/vless/account.proto
 | 
			
		||||
 | 
			
		||||
package vless
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/vless/encoding/addons.proto
 | 
			
		||||
 | 
			
		||||
package encoding
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/vless/inbound/config.proto
 | 
			
		||||
 | 
			
		||||
package inbound
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/vless/outbound/config.proto
 | 
			
		||||
 | 
			
		||||
package outbound
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/vmess/account.proto
 | 
			
		||||
 | 
			
		||||
package vmess
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/vmess/inbound/config.proto
 | 
			
		||||
 | 
			
		||||
package inbound
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: proxy/vmess/outbound/config.proto
 | 
			
		||||
 | 
			
		||||
package outbound
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/global/config.proto
 | 
			
		||||
 | 
			
		||||
package global
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/config.proto
 | 
			
		||||
 | 
			
		||||
package internet
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/domainsocket/config.proto
 | 
			
		||||
 | 
			
		||||
package domainsocket
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/grpc/config.proto
 | 
			
		||||
 | 
			
		||||
package grpc
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/grpc/encoding/stream.proto
 | 
			
		||||
 | 
			
		||||
package encoding
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/headers/http/config.proto
 | 
			
		||||
 | 
			
		||||
package http
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/headers/noop/config.proto
 | 
			
		||||
 | 
			
		||||
package noop
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/headers/srtp/config.proto
 | 
			
		||||
 | 
			
		||||
package srtp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/headers/tls/config.proto
 | 
			
		||||
 | 
			
		||||
package tls
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/headers/utp/config.proto
 | 
			
		||||
 | 
			
		||||
package utp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/headers/wechat/config.proto
 | 
			
		||||
 | 
			
		||||
package wechat
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/headers/wireguard/config.proto
 | 
			
		||||
 | 
			
		||||
package wireguard
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/http/config.proto
 | 
			
		||||
 | 
			
		||||
package http
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/kcp/config.proto
 | 
			
		||||
 | 
			
		||||
package kcp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/quic/config.proto
 | 
			
		||||
 | 
			
		||||
package quic
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/tcp/config.proto
 | 
			
		||||
 | 
			
		||||
package tcp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/tls/config.proto
 | 
			
		||||
 | 
			
		||||
package tls
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/udp/config.proto
 | 
			
		||||
 | 
			
		||||
package udp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/websocket/config.proto
 | 
			
		||||
 | 
			
		||||
package websocket
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
// Code generated by protoc-gen-go. DO NOT EDIT.
 | 
			
		||||
// versions:
 | 
			
		||||
// 	protoc-gen-go v1.27.1
 | 
			
		||||
// 	protoc        v3.15.8
 | 
			
		||||
// 	protoc        v3.18.0
 | 
			
		||||
// source: transport/internet/xtls/config.proto
 | 
			
		||||
 | 
			
		||||
package xtls
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue