mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
rename domain override
This commit is contained in:
parent
fa0f0aba89
commit
6276bfa508
@ -166,7 +166,7 @@ func (d *DefaultDispatcher) Dispatch(ctx context.Context, destination net.Destin
|
||||
if err == nil {
|
||||
ctx = ContextWithSniffingResult(ctx, result)
|
||||
}
|
||||
if err == nil && shouldOverride(result, sniffingConfig.DomainOverride) {
|
||||
if err == nil && shouldOverride(result, sniffingConfig.DestinationOverride) {
|
||||
domain := result.Domain()
|
||||
newError("sniffed domain: ", domain).WriteToLog(session.ExportIDToError(ctx))
|
||||
destination.Address = net.ParseAddress(domain)
|
||||
|
@ -30,8 +30,8 @@ func (c *ReceiverConfig) GetEffectiveSniffingSettings() *SniffingConfig {
|
||||
}
|
||||
}
|
||||
return &SniffingConfig{
|
||||
Enabled: true,
|
||||
DomainOverride: p,
|
||||
Enabled: true,
|
||||
DestinationOverride: p,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ func (x KnownProtocols) String() string {
|
||||
return proto.EnumName(KnownProtocols_name, int32(x))
|
||||
}
|
||||
func (KnownProtocols) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{0}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{0}
|
||||
}
|
||||
|
||||
type AllocationStrategy_Type int32
|
||||
@ -67,7 +67,7 @@ func (x AllocationStrategy_Type) String() string {
|
||||
return proto.EnumName(AllocationStrategy_Type_name, int32(x))
|
||||
}
|
||||
func (AllocationStrategy_Type) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{1, 0}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{1, 0}
|
||||
}
|
||||
|
||||
type InboundConfig struct {
|
||||
@ -80,7 +80,7 @@ func (m *InboundConfig) Reset() { *m = InboundConfig{} }
|
||||
func (m *InboundConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*InboundConfig) ProtoMessage() {}
|
||||
func (*InboundConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{0}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{0}
|
||||
}
|
||||
func (m *InboundConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_InboundConfig.Unmarshal(m, b)
|
||||
@ -117,7 +117,7 @@ func (m *AllocationStrategy) Reset() { *m = AllocationStrategy{} }
|
||||
func (m *AllocationStrategy) String() string { return proto.CompactTextString(m) }
|
||||
func (*AllocationStrategy) ProtoMessage() {}
|
||||
func (*AllocationStrategy) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{1}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{1}
|
||||
}
|
||||
func (m *AllocationStrategy) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AllocationStrategy.Unmarshal(m, b)
|
||||
@ -173,7 +173,7 @@ func (m *AllocationStrategy_AllocationStrategyConcurrency) String() string {
|
||||
}
|
||||
func (*AllocationStrategy_AllocationStrategyConcurrency) ProtoMessage() {}
|
||||
func (*AllocationStrategy_AllocationStrategyConcurrency) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{1, 0}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{1, 0}
|
||||
}
|
||||
func (m *AllocationStrategy_AllocationStrategyConcurrency) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AllocationStrategy_AllocationStrategyConcurrency.Unmarshal(m, b)
|
||||
@ -215,7 +215,7 @@ func (m *AllocationStrategy_AllocationStrategyRefresh) String() string {
|
||||
}
|
||||
func (*AllocationStrategy_AllocationStrategyRefresh) ProtoMessage() {}
|
||||
func (*AllocationStrategy_AllocationStrategyRefresh) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{1, 1}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{1, 1}
|
||||
}
|
||||
func (m *AllocationStrategy_AllocationStrategyRefresh) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_AllocationStrategy_AllocationStrategyRefresh.Unmarshal(m, b)
|
||||
@ -245,9 +245,9 @@ func (m *AllocationStrategy_AllocationStrategyRefresh) GetValue() uint32 {
|
||||
type SniffingConfig struct {
|
||||
// Whether or not to enable content sniffing on an inbound connection.
|
||||
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
||||
// Override target domain if sniff'ed protocol is in the given list.
|
||||
// Override target destination if sniff'ed protocol is in the given list.
|
||||
// Supported values are "http", "tls".
|
||||
DomainOverride []string `protobuf:"bytes,2,rep,name=domain_override,json=domainOverride,proto3" json:"domain_override,omitempty"`
|
||||
DestinationOverride []string `protobuf:"bytes,2,rep,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
@ -257,7 +257,7 @@ func (m *SniffingConfig) Reset() { *m = SniffingConfig{} }
|
||||
func (m *SniffingConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*SniffingConfig) ProtoMessage() {}
|
||||
func (*SniffingConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{2}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{2}
|
||||
}
|
||||
func (m *SniffingConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SniffingConfig.Unmarshal(m, b)
|
||||
@ -284,9 +284,9 @@ func (m *SniffingConfig) GetEnabled() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *SniffingConfig) GetDomainOverride() []string {
|
||||
func (m *SniffingConfig) GetDestinationOverride() []string {
|
||||
if m != nil {
|
||||
return m.DomainOverride
|
||||
return m.DestinationOverride
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@ -312,7 +312,7 @@ func (m *ReceiverConfig) Reset() { *m = ReceiverConfig{} }
|
||||
func (m *ReceiverConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReceiverConfig) ProtoMessage() {}
|
||||
func (*ReceiverConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{3}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{3}
|
||||
}
|
||||
func (m *ReceiverConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReceiverConfig.Unmarshal(m, b)
|
||||
@ -395,7 +395,7 @@ func (m *InboundHandlerConfig) Reset() { *m = InboundHandlerConfig{} }
|
||||
func (m *InboundHandlerConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*InboundHandlerConfig) ProtoMessage() {}
|
||||
func (*InboundHandlerConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{4}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{4}
|
||||
}
|
||||
func (m *InboundHandlerConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_InboundHandlerConfig.Unmarshal(m, b)
|
||||
@ -446,7 +446,7 @@ func (m *OutboundConfig) Reset() { *m = OutboundConfig{} }
|
||||
func (m *OutboundConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*OutboundConfig) ProtoMessage() {}
|
||||
func (*OutboundConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{5}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{5}
|
||||
}
|
||||
func (m *OutboundConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OutboundConfig.Unmarshal(m, b)
|
||||
@ -481,7 +481,7 @@ func (m *SenderConfig) Reset() { *m = SenderConfig{} }
|
||||
func (m *SenderConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*SenderConfig) ProtoMessage() {}
|
||||
func (*SenderConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{6}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{6}
|
||||
}
|
||||
func (m *SenderConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SenderConfig.Unmarshal(m, b)
|
||||
@ -543,7 +543,7 @@ func (m *MultiplexingConfig) Reset() { *m = MultiplexingConfig{} }
|
||||
func (m *MultiplexingConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*MultiplexingConfig) ProtoMessage() {}
|
||||
func (*MultiplexingConfig) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_config_bab73170eded8a95, []int{7}
|
||||
return fileDescriptor_config_6857cd20ab15680d, []int{7}
|
||||
}
|
||||
func (m *MultiplexingConfig) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MultiplexingConfig.Unmarshal(m, b)
|
||||
@ -593,61 +593,61 @@ func init() {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("v2ray.com/core/app/proxyman/config.proto", fileDescriptor_config_bab73170eded8a95)
|
||||
proto.RegisterFile("v2ray.com/core/app/proxyman/config.proto", fileDescriptor_config_6857cd20ab15680d)
|
||||
}
|
||||
|
||||
var fileDescriptor_config_bab73170eded8a95 = []byte{
|
||||
// 819 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x41, 0x6f, 0xe3, 0x44,
|
||||
0x14, 0xc7, 0x37, 0x71, 0xb6, 0x49, 0x5f, 0xb7, 0xae, 0x3b, 0xac, 0xb4, 0x26, 0x80, 0x14, 0x02,
|
||||
0xa2, 0xd1, 0x82, 0xec, 0x25, 0x2b, 0x0e, 0x9c, 0xa0, 0xdb, 0xae, 0xb4, 0x05, 0xaa, 0x86, 0x71,
|
||||
0xc4, 0x61, 0x85, 0x64, 0x4d, 0xed, 0xa9, 0x19, 0x61, 0xcf, 0x58, 0x33, 0x93, 0x6c, 0xfd, 0x95,
|
||||
0x38, 0xf3, 0x01, 0x38, 0x72, 0xe0, 0x43, 0x21, 0x7b, 0xec, 0xa4, 0x69, 0xea, 0x42, 0xb5, 0xb7,
|
||||
0x89, 0xf3, 0x7f, 0x3f, 0xbf, 0xf7, 0x9f, 0xff, 0x8c, 0x61, 0xb2, 0x9c, 0x4a, 0x52, 0x78, 0x91,
|
||||
0xc8, 0xfc, 0x48, 0x48, 0xea, 0x93, 0x3c, 0xf7, 0x73, 0x29, 0xae, 0x8b, 0x8c, 0x70, 0x3f, 0x12,
|
||||
0xfc, 0x8a, 0x25, 0x5e, 0x2e, 0x85, 0x16, 0xe8, 0x59, 0xa3, 0x94, 0xd4, 0x23, 0x79, 0xee, 0x35,
|
||||
0xaa, 0xe1, 0xd1, 0x2d, 0x44, 0x24, 0xb2, 0x4c, 0x70, 0x9f, 0x53, 0xed, 0x93, 0x38, 0x96, 0x54,
|
||||
0x29, 0x43, 0x18, 0x7e, 0xde, 0x2e, 0xcc, 0x85, 0xd4, 0xb5, 0xca, 0xbb, 0xa5, 0xd2, 0x92, 0x70,
|
||||
0x55, 0xfe, 0xef, 0x33, 0xae, 0xa9, 0x2c, 0xd5, 0x37, 0xfb, 0x1a, 0xbe, 0xb8, 0x9b, 0xaa, 0xa8,
|
||||
0x64, 0x24, 0xf5, 0x75, 0x91, 0xd3, 0x38, 0xcc, 0xa8, 0x52, 0x24, 0xa1, 0xa6, 0x62, 0x7c, 0x00,
|
||||
0xfb, 0x67, 0xfc, 0x52, 0x2c, 0x78, 0x7c, 0x52, 0x81, 0xc6, 0x7f, 0x59, 0x80, 0x8e, 0xd3, 0x54,
|
||||
0x44, 0x44, 0x33, 0xc1, 0x03, 0x2d, 0x89, 0xa6, 0x49, 0x81, 0x4e, 0xa1, 0x57, 0x96, 0xbb, 0x9d,
|
||||
0x51, 0x67, 0x62, 0x4f, 0x5f, 0x78, 0x2d, 0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xcc,
|
||||
0x3f, 0x1a, 0x40, 0xef, 0xcd, 0x7c, 0x3e, 0x73, 0x1e, 0xa1, 0x3e, 0x58, 0xf3, 0x9f, 0x02, 0xa7,
|
||||
0xf3, 0xea, 0x04, 0x3e, 0x8a, 0x44, 0xd6, 0xd6, 0xfb, 0xac, 0xf3, 0x76, 0xd0, 0xac, 0xff, 0xe8,
|
||||
0x3e, 0xfb, 0x65, 0x8a, 0x49, 0xe1, 0x9d, 0x94, 0xaa, 0xe3, 0x3c, 0x37, 0x4e, 0x65, 0x84, 0x5f,
|
||||
0xee, 0x54, 0x9f, 0xd3, 0x97, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x88, 0x8f, 0xff, 0x44,
|
||||
0x08, 0x00, 0x00,
|
||||
var fileDescriptor_config_6857cd20ab15680d = []byte{
|
||||
// 825 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x4f, 0x6f, 0xdb, 0x36,
|
||||
0x18, 0xc6, 0x6b, 0xcb, 0x8d, 0x9d, 0x37, 0x8d, 0xaa, 0xb0, 0x01, 0xaa, 0x79, 0x1b, 0xe0, 0x79,
|
||||
0xc3, 0x6a, 0x74, 0x83, 0xd4, 0xba, 0xd8, 0x61, 0xa7, 0x2d, 0x4d, 0x0a, 0x34, 0xdb, 0x82, 0x78,
|
||||
0xb4, 0xb1, 0x43, 0xb1, 0x41, 0x60, 0x24, 0x46, 0x23, 0x26, 0x91, 0x02, 0x49, 0xbb, 0xd1, 0x57,
|
||||
0xda, 0x79, 0x1f, 0x60, 0xc7, 0x1d, 0xf6, 0xa1, 0x06, 0x89, 0x92, 0xff, 0xd4, 0x56, 0xd6, 0xa0,
|
||||
0x37, 0xda, 0x7a, 0xde, 0x9f, 0xde, 0xf7, 0xe1, 0x43, 0x0a, 0x46, 0x8b, 0xb1, 0x24, 0xb9, 0x17,
|
||||
0x8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, 0xd9, 0xc7, 0xc5,
|
||||
0x12, 0x4d, 0xe1, 0xa8, 0x1a, 0x5d, 0xae, 0xda, 0x30, 0xc1, 0xf8, 0x72, 0x47, 0x30, 0xcc, 0xf5,
|
||||
0x56, 0xde, 0x33, 0xd1, 0x85, 0xb9, 0xdd, 0xb0, 0x53, 0x03, 0x96, 0x9e, 0x5f, 0x80, 0x5d, 0xb6,
|
||||
0xbc, 0x22, 0x5a, 0x77, 0x22, 0x1e, 0x96, 0xd5, 0x35, 0x6e, 0xe8, 0x80, 0x7d, 0x39, 0xd7, 0xeb,
|
||||
0x37, 0xe7, 0x3f, 0x6d, 0x78, 0x30, 0xa5, 0x3c, 0x5a, 0x0e, 0xf6, 0x02, 0xac, 0x05, 0x23, 0xd5,
|
||||
0x71, 0x78, 0x8f, 0x44, 0x17, 0xea, 0x5d, 0x81, 0x6b, 0x7f, 0x78, 0xe0, 0x7e, 0x6e, 0x18, 0xfe,
|
||||
0xe9, 0xff, 0x40, 0x27, 0x45, 0x51, 0xc5, 0xdc, 0x34, 0x00, 0xbd, 0x01, 0x94, 0xce, 0x13, 0xcd,
|
||||
0xb2, 0x84, 0xde, 0xdc, 0x7a, 0x38, 0x36, 0xc2, 0x72, 0x51, 0x97, 0xac, 0x02, 0x73, 0xb4, 0xc4,
|
||||
0x2c, 0xcd, 0x9d, 0x00, 0xda, 0x16, 0xde, 0x72, 0x8b, 0x0d, 0xb6, 0xbf, 0x2b, 0x87, 0x1b, 0x1f,
|
||||
0x83, 0xa7, 0x9f, 0x83, 0xbd, 0x99, 0x7f, 0xd4, 0x83, 0xce, 0xeb, 0xd9, 0x6c, 0xe2, 0xdc, 0x43,
|
||||
0x5d, 0xb0, 0x66, 0x3f, 0x4d, 0x9d, 0xd6, 0xcb, 0x53, 0xf8, 0x38, 0x14, 0x69, 0x53, 0xef, 0x93,
|
||||
0xd6, 0x9b, 0x5e, 0xbd, 0xfe, 0xb3, 0xfd, 0xf8, 0x97, 0x31, 0x26, 0xb9, 0x77, 0x5a, 0xa8, 0x4e,
|
||||
0xb2, 0xcc, 0x38, 0x95, 0x12, 0x7e, 0xb5, 0x57, 0x7e, 0x58, 0x5f, 0xfc, 0x17, 0x00, 0x00, 0xff,
|
||||
0xff, 0x4d, 0xe1, 0x89, 0x0d, 0x4e, 0x08, 0x00, 0x00,
|
||||
}
|
||||
|
@ -55,9 +55,9 @@ message SniffingConfig {
|
||||
// Whether or not to enable content sniffing on an inbound connection.
|
||||
bool enabled = 1;
|
||||
|
||||
// Override target domain if sniff'ed protocol is in the given list.
|
||||
// Override target destination if sniff'ed protocol is in the given list.
|
||||
// Supported values are "http", "tls".
|
||||
repeated string domain_override = 2;
|
||||
repeated string destination_override = 2;
|
||||
}
|
||||
|
||||
message ReceiverConfig {
|
||||
|
Loading…
Reference in New Issue
Block a user