|
@@ -7,9 +7,9 @@
|
|
|
package socks
|
|
package socks
|
|
|
|
|
|
|
|
import (
|
|
import (
|
|
|
- net "github.com/v2fly/v2ray-core/v4/common/net"
|
|
|
|
|
packetaddr "github.com/v2fly/v2ray-core/v4/common/net/packetaddr"
|
|
packetaddr "github.com/v2fly/v2ray-core/v4/common/net/packetaddr"
|
|
|
- protocol "github.com/v2fly/v2ray-core/v4/common/protocol"
|
|
|
|
|
|
|
+ net "github.com/v2fly/v2ray-core/v5/common/net"
|
|
|
|
|
+ protocol "github.com/v2fly/v2ray-core/v5/common/protocol"
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
reflect "reflect"
|
|
reflect "reflect"
|
|
@@ -27,7 +27,7 @@ const (
|
|
|
type AuthType int32
|
|
type AuthType int32
|
|
|
|
|
|
|
|
const (
|
|
const (
|
|
|
- // NO_AUTH is for anounymous authentication.
|
|
|
|
|
|
|
+ // NO_AUTH is for anonymous authentication.
|
|
|
AuthType_NO_AUTH AuthType = 0
|
|
AuthType_NO_AUTH AuthType = 0
|
|
|
// PASSWORD is for username/password authentication.
|
|
// PASSWORD is for username/password authentication.
|
|
|
AuthType_PASSWORD AuthType = 1
|
|
AuthType_PASSWORD AuthType = 1
|
|
@@ -395,7 +395,7 @@ var file_proxy_socks_config_proto_rawDesc = []byte{
|
|
|
0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78,
|
|
0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x78,
|
|
|
0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75,
|
|
0x79, 0x2e, 0x73, 0x6f, 0x63, 0x6b, 0x73, 0x50, 0x01, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75,
|
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61,
|
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61,
|
|
|
- 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f,
|
|
|
|
|
|
|
+ 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x35, 0x2f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f,
|
|
|
0x73, 0x6f, 0x63, 0x6b, 0x73, 0xaa, 0x02, 0x16, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f,
|
|
0x73, 0x6f, 0x63, 0x6b, 0x73, 0xaa, 0x02, 0x16, 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f,
|
|
|
0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x73, 0x62, 0x06,
|
|
0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x73, 0x62, 0x06,
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|