Documentation
¶
Index ¶
- Variables
- type InboundConfig
- type InboundHandlerConfig
- func (*InboundHandlerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *InboundHandlerConfig) GetProxySettings() *serial.TypedMessage
- func (x *InboundHandlerConfig) GetReceiverSettings() *serial.TypedMessage
- func (x *InboundHandlerConfig) GetTag() string
- func (*InboundHandlerConfig) ProtoMessage()
- func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message
- func (x *InboundHandlerConfig) Reset()
- func (x *InboundHandlerConfig) String() string
- type MultiplexingConfig
- func (*MultiplexingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MultiplexingConfig) GetConcurrency() int32
- func (x *MultiplexingConfig) GetEnabled() bool
- func (x *MultiplexingConfig) GetXudpConcurrency() int32
- func (x *MultiplexingConfig) GetXudpProxyUDP443() string
- func (*MultiplexingConfig) ProtoMessage()
- func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message
- func (x *MultiplexingConfig) Reset()
- func (x *MultiplexingConfig) String() string
- type OutboundConfig
- type ReceiverConfig
- func (*ReceiverConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiverConfig) GetListen() *net.IPOrDomain
- func (x *ReceiverConfig) GetPortList() *net.PortList
- func (x *ReceiverConfig) GetReceiveOriginalDestination() bool
- func (x *ReceiverConfig) GetSniffingSettings() *SniffingConfig
- func (x *ReceiverConfig) GetStreamSettings() *internet.StreamConfig
- func (*ReceiverConfig) ProtoMessage()
- func (x *ReceiverConfig) ProtoReflect() protoreflect.Message
- func (x *ReceiverConfig) Reset()
- func (x *ReceiverConfig) String() string
- type SenderConfig
- func (*SenderConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig
- func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig
- func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig
- func (x *SenderConfig) GetTargetStrategy() internet.DomainStrategy
- func (x *SenderConfig) GetVia() *net.IPOrDomain
- func (x *SenderConfig) GetViaCidr() string
- func (*SenderConfig) ProtoMessage()
- func (x *SenderConfig) ProtoReflect() protoreflect.Message
- func (x *SenderConfig) Reset()
- func (x *SenderConfig) String() string
- type SniffingConfig
- func (*SniffingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SniffingConfig) GetDestinationOverride() []string
- func (x *SniffingConfig) GetDomainsExcluded() []string
- func (x *SniffingConfig) GetEnabled() bool
- func (x *SniffingConfig) GetMetadataOnly() bool
- func (x *SniffingConfig) GetRouteOnly() bool
- func (*SniffingConfig) ProtoMessage()
- func (x *SniffingConfig) ProtoReflect() protoreflect.Message
- func (x *SniffingConfig) Reset()
- func (x *SniffingConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_app_proxyman_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type InboundConfig ¶
type InboundConfig struct {
// contains filtered or unexported fields
}
func (*InboundConfig) Descriptor
deprecated
func (*InboundConfig) Descriptor() ([]byte, []int)
Deprecated: Use InboundConfig.ProtoReflect.Descriptor instead.
func (*InboundConfig) ProtoMessage ¶
func (*InboundConfig) ProtoMessage()
func (*InboundConfig) ProtoReflect ¶
func (x *InboundConfig) ProtoReflect() protoreflect.Message
func (*InboundConfig) Reset ¶
func (x *InboundConfig) Reset()
func (*InboundConfig) String ¶
func (x *InboundConfig) String() string
type InboundHandlerConfig ¶
type InboundHandlerConfig struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
ReceiverSettings *serial.TypedMessage `protobuf:"bytes,2,opt,name=receiver_settings,json=receiverSettings,proto3" json:"receiver_settings,omitempty"`
ProxySettings *serial.TypedMessage `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
// contains filtered or unexported fields
}
func (*InboundHandlerConfig) Descriptor
deprecated
func (*InboundHandlerConfig) Descriptor() ([]byte, []int)
Deprecated: Use InboundHandlerConfig.ProtoReflect.Descriptor instead.
func (*InboundHandlerConfig) GetProxySettings ¶
func (x *InboundHandlerConfig) GetProxySettings() *serial.TypedMessage
func (*InboundHandlerConfig) GetReceiverSettings ¶
func (x *InboundHandlerConfig) GetReceiverSettings() *serial.TypedMessage
func (*InboundHandlerConfig) GetTag ¶
func (x *InboundHandlerConfig) GetTag() string
func (*InboundHandlerConfig) ProtoMessage ¶
func (*InboundHandlerConfig) ProtoMessage()
func (*InboundHandlerConfig) ProtoReflect ¶
func (x *InboundHandlerConfig) ProtoReflect() protoreflect.Message
func (*InboundHandlerConfig) Reset ¶
func (x *InboundHandlerConfig) Reset()
func (*InboundHandlerConfig) String ¶
func (x *InboundHandlerConfig) String() string
type MultiplexingConfig ¶
type MultiplexingConfig struct {
// Whether or not Mux is enabled.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Max number of concurrent connections that one Mux connection can handle.
Concurrency int32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"`
// Transport XUDP in another Mux.
XudpConcurrency int32 `protobuf:"varint,3,opt,name=xudpConcurrency,proto3" json:"xudpConcurrency,omitempty"`
// "reject" (default), "allow" or "skip".
XudpProxyUDP443 string `protobuf:"bytes,4,opt,name=xudpProxyUDP443,proto3" json:"xudpProxyUDP443,omitempty"`
// contains filtered or unexported fields
}
func (*MultiplexingConfig) Descriptor
deprecated
func (*MultiplexingConfig) Descriptor() ([]byte, []int)
Deprecated: Use MultiplexingConfig.ProtoReflect.Descriptor instead.
func (*MultiplexingConfig) GetConcurrency ¶
func (x *MultiplexingConfig) GetConcurrency() int32
func (*MultiplexingConfig) GetEnabled ¶
func (x *MultiplexingConfig) GetEnabled() bool
func (*MultiplexingConfig) GetXudpConcurrency ¶ added in v1.8.1
func (x *MultiplexingConfig) GetXudpConcurrency() int32
func (*MultiplexingConfig) GetXudpProxyUDP443 ¶ added in v1.8.1
func (x *MultiplexingConfig) GetXudpProxyUDP443() string
func (*MultiplexingConfig) ProtoMessage ¶
func (*MultiplexingConfig) ProtoMessage()
func (*MultiplexingConfig) ProtoReflect ¶
func (x *MultiplexingConfig) ProtoReflect() protoreflect.Message
func (*MultiplexingConfig) Reset ¶
func (x *MultiplexingConfig) Reset()
func (*MultiplexingConfig) String ¶
func (x *MultiplexingConfig) String() string
type OutboundConfig ¶
type OutboundConfig struct {
// contains filtered or unexported fields
}
func (*OutboundConfig) Descriptor
deprecated
func (*OutboundConfig) Descriptor() ([]byte, []int)
Deprecated: Use OutboundConfig.ProtoReflect.Descriptor instead.
func (*OutboundConfig) ProtoMessage ¶
func (*OutboundConfig) ProtoMessage()
func (*OutboundConfig) ProtoReflect ¶
func (x *OutboundConfig) ProtoReflect() protoreflect.Message
func (*OutboundConfig) Reset ¶
func (x *OutboundConfig) Reset()
func (*OutboundConfig) String ¶
func (x *OutboundConfig) String() string
type ReceiverConfig ¶
type ReceiverConfig struct {
// PortList specifies the ports which the Receiver should listen on.
PortList *net.PortList `protobuf:"bytes,1,opt,name=port_list,json=portList,proto3" json:"port_list,omitempty"`
// Listen specifies the IP address that the Receiver should listen on.
Listen *net.IPOrDomain `protobuf:"bytes,2,opt,name=listen,proto3" json:"listen,omitempty"`
StreamSettings *internet.StreamConfig `protobuf:"bytes,3,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
ReceiveOriginalDestination bool `` /* 142-byte string literal not displayed */
SniffingSettings *SniffingConfig `protobuf:"bytes,6,opt,name=sniffing_settings,json=sniffingSettings,proto3" json:"sniffing_settings,omitempty"`
// contains filtered or unexported fields
}
func (*ReceiverConfig) Descriptor
deprecated
func (*ReceiverConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReceiverConfig.ProtoReflect.Descriptor instead.
func (*ReceiverConfig) GetListen ¶
func (x *ReceiverConfig) GetListen() *net.IPOrDomain
func (*ReceiverConfig) GetPortList ¶ added in v1.5.1
func (x *ReceiverConfig) GetPortList() *net.PortList
func (*ReceiverConfig) GetReceiveOriginalDestination ¶
func (x *ReceiverConfig) GetReceiveOriginalDestination() bool
func (*ReceiverConfig) GetSniffingSettings ¶
func (x *ReceiverConfig) GetSniffingSettings() *SniffingConfig
func (*ReceiverConfig) GetStreamSettings ¶
func (x *ReceiverConfig) GetStreamSettings() *internet.StreamConfig
func (*ReceiverConfig) ProtoMessage ¶
func (*ReceiverConfig) ProtoMessage()
func (*ReceiverConfig) ProtoReflect ¶
func (x *ReceiverConfig) ProtoReflect() protoreflect.Message
func (*ReceiverConfig) Reset ¶
func (x *ReceiverConfig) Reset()
func (*ReceiverConfig) String ¶
func (x *ReceiverConfig) String() string
type SenderConfig ¶
type SenderConfig struct {
// Send traffic through the given IP. Only IP is allowed.
Via *net.IPOrDomain `protobuf:"bytes,1,opt,name=via,proto3" json:"via,omitempty"`
StreamSettings *internet.StreamConfig `protobuf:"bytes,2,opt,name=stream_settings,json=streamSettings,proto3" json:"stream_settings,omitempty"`
ProxySettings *internet.ProxyConfig `protobuf:"bytes,3,opt,name=proxy_settings,json=proxySettings,proto3" json:"proxy_settings,omitempty"`
MultiplexSettings *MultiplexingConfig `protobuf:"bytes,4,opt,name=multiplex_settings,json=multiplexSettings,proto3" json:"multiplex_settings,omitempty"`
ViaCidr string `protobuf:"bytes,5,opt,name=via_cidr,json=viaCidr,proto3" json:"via_cidr,omitempty"`
TargetStrategy internet.DomainStrategy `` /* 148-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SenderConfig) Descriptor
deprecated
func (*SenderConfig) Descriptor() ([]byte, []int)
Deprecated: Use SenderConfig.ProtoReflect.Descriptor instead.
func (*SenderConfig) GetMultiplexSettings ¶
func (x *SenderConfig) GetMultiplexSettings() *MultiplexingConfig
func (*SenderConfig) GetProxySettings ¶
func (x *SenderConfig) GetProxySettings() *internet.ProxyConfig
func (*SenderConfig) GetStreamSettings ¶
func (x *SenderConfig) GetStreamSettings() *internet.StreamConfig
func (*SenderConfig) GetTargetStrategy ¶ added in v1.250831.0
func (x *SenderConfig) GetTargetStrategy() internet.DomainStrategy
func (*SenderConfig) GetVia ¶
func (x *SenderConfig) GetVia() *net.IPOrDomain
func (*SenderConfig) GetViaCidr ¶ added in v1.8.10
func (x *SenderConfig) GetViaCidr() string
func (*SenderConfig) ProtoMessage ¶
func (*SenderConfig) ProtoMessage()
func (*SenderConfig) ProtoReflect ¶
func (x *SenderConfig) ProtoReflect() protoreflect.Message
func (*SenderConfig) Reset ¶
func (x *SenderConfig) Reset()
func (*SenderConfig) String ¶
func (x *SenderConfig) String() string
type SniffingConfig ¶
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 destination if sniff'ed protocol is in the given list.
// Supported values are "http", "tls", "fakedns".
DestinationOverride []string `protobuf:"bytes,2,rep,name=destination_override,json=destinationOverride,proto3" json:"destination_override,omitempty"`
DomainsExcluded []string `protobuf:"bytes,3,rep,name=domains_excluded,json=domainsExcluded,proto3" json:"domains_excluded,omitempty"`
// Whether should only try to sniff metadata without waiting for client input.
// Can be used to support SMTP like protocol where server send the first
// message.
MetadataOnly bool `protobuf:"varint,4,opt,name=metadata_only,json=metadataOnly,proto3" json:"metadata_only,omitempty"`
RouteOnly bool `protobuf:"varint,5,opt,name=route_only,json=routeOnly,proto3" json:"route_only,omitempty"`
// contains filtered or unexported fields
}
func (*SniffingConfig) Descriptor
deprecated
func (*SniffingConfig) Descriptor() ([]byte, []int)
Deprecated: Use SniffingConfig.ProtoReflect.Descriptor instead.
func (*SniffingConfig) GetDestinationOverride ¶
func (x *SniffingConfig) GetDestinationOverride() []string
func (*SniffingConfig) GetDomainsExcluded ¶ added in v1.2.3
func (x *SniffingConfig) GetDomainsExcluded() []string
func (*SniffingConfig) GetEnabled ¶
func (x *SniffingConfig) GetEnabled() bool
func (*SniffingConfig) GetMetadataOnly ¶ added in v1.4.0
func (x *SniffingConfig) GetMetadataOnly() bool
func (*SniffingConfig) GetRouteOnly ¶ added in v1.5.1
func (x *SniffingConfig) GetRouteOnly() bool
func (*SniffingConfig) ProtoMessage ¶
func (*SniffingConfig) ProtoMessage()
func (*SniffingConfig) ProtoReflect ¶
func (x *SniffingConfig) ProtoReflect() protoreflect.Message
func (*SniffingConfig) Reset ¶
func (x *SniffingConfig) Reset()
func (*SniffingConfig) String ¶
func (x *SniffingConfig) String() string
Click to show internal directories.
Click to hide internal directories.