Documentation ¶
Overview ¶
Copied from lantern-cloud: e57d588aa976ca9d1a8531c92972e20a7d1640f9
This file should be kept in sync with lantern-cloud
Index ¶
- Variables
- func ProxyToLegacyConfig(cfg *ProxyConnectConfig) (*commonconfig.ProxyConfig, error)
- type BypassRequest
- func (*BypassRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BypassRequest) GetConfig() *LegacyConnectConfig
- func (x *BypassRequest) GetVersion() int32
- func (*BypassRequest) ProtoMessage()
- func (x *BypassRequest) ProtoReflect() protoreflect.Message
- func (x *BypassRequest) Reset()
- func (x *BypassRequest) String() string
- type BypassResponse
- type ConfigRequest
- func (*ConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest) GetClientInfo() *ConfigRequest_ClientInfo
- func (x *ConfigRequest) GetProxy() *ConfigRequest_Proxy
- func (*ConfigRequest) ProtoMessage()
- func (x *ConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest) Reset()
- func (x *ConfigRequest) String() string
- type ConfigRequest_ClientInfo
- func (*ConfigRequest_ClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_ClientInfo) GetClientVersion() string
- func (x *ConfigRequest_ClientInfo) GetCountry() string
- func (x *ConfigRequest_ClientInfo) GetFlashlightVersion() string
- func (x *ConfigRequest_ClientInfo) GetIp() string
- func (x *ConfigRequest_ClientInfo) GetProToken() string
- func (x *ConfigRequest_ClientInfo) GetUserId() string
- func (*ConfigRequest_ClientInfo) ProtoMessage()
- func (x *ConfigRequest_ClientInfo) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_ClientInfo) Reset()
- func (x *ConfigRequest_ClientInfo) String() string
- type ConfigRequest_Proxy
- func (*ConfigRequest_Proxy) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigRequest_Proxy) GetLastRequest() *timestamppb.Timestamp
- func (x *ConfigRequest_Proxy) GetNames() []string
- func (*ConfigRequest_Proxy) ProtoMessage()
- func (x *ConfigRequest_Proxy) ProtoReflect() protoreflect.Message
- func (x *ConfigRequest_Proxy) Reset()
- func (x *ConfigRequest_Proxy) String() string
- type ConfigResponse
- func (*ConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigResponse) GetCountry() string
- func (x *ConfigResponse) GetIp() string
- func (x *ConfigResponse) GetProToken() string
- func (x *ConfigResponse) GetProxy() *ConfigResponse_Proxy
- func (*ConfigResponse) ProtoMessage()
- func (x *ConfigResponse) ProtoReflect() protoreflect.Message
- func (x *ConfigResponse) Reset()
- func (x *ConfigResponse) String() string
- type ConfigResponse_Proxy
- func (*ConfigResponse_Proxy) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigResponse_Proxy) GetProxies() []*ProxyConnectConfig
- func (*ConfigResponse_Proxy) ProtoMessage()
- func (x *ConfigResponse_Proxy) ProtoReflect() protoreflect.Message
- func (x *ConfigResponse_Proxy) Reset()
- func (x *ConfigResponse_Proxy) String() string
- type LegacyConnectConfig
- func (*LegacyConnectConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LegacyConnectConfig) GetAddr() string
- func (x *LegacyConnectConfig) GetAuthToken() string
- func (x *LegacyConnectConfig) GetBias() int32
- func (x *LegacyConnectConfig) GetCert() string
- func (x *LegacyConnectConfig) GetENHTTPURL() string
- func (x *LegacyConnectConfig) GetLocation() *LegacyConnectConfig_ProxyLocation
- func (x *LegacyConnectConfig) GetMaxPreconnect() int32
- func (x *LegacyConnectConfig) GetMultipathEndpoint() string
- func (x *LegacyConnectConfig) GetMultiplexedAddr() string
- func (x *LegacyConnectConfig) GetMultiplexedPhysicalConns() int32
- func (x *LegacyConnectConfig) GetMultiplexedProtocol() string
- func (x *LegacyConnectConfig) GetMultiplexedSettings() map[string]string
- func (x *LegacyConnectConfig) GetName() string
- func (x *LegacyConnectConfig) GetPluggableTransport() string
- func (x *LegacyConnectConfig) GetPluggableTransportSettings() map[string]string
- func (x *LegacyConnectConfig) GetRegion() string
- func (x *LegacyConnectConfig) GetTLSClientHelloID() string
- func (x *LegacyConnectConfig) GetTLSClientHelloSplitting() bool
- func (x *LegacyConnectConfig) GetTLSClientSessionCacheSize() int32
- func (x *LegacyConnectConfig) GetTLSClientSessionState() string
- func (x *LegacyConnectConfig) GetTLSDesktopOrderedCipherSuiteNames() []string
- func (x *LegacyConnectConfig) GetTLSMobileOrderedCipherSuiteNames() []string
- func (x *LegacyConnectConfig) GetTLSServerNameIndicator() string
- func (x *LegacyConnectConfig) GetTrack() string
- func (x *LegacyConnectConfig) GetTrusted() bool
- func (*LegacyConnectConfig) ProtoMessage()
- func (x *LegacyConnectConfig) ProtoReflect() protoreflect.Message
- func (x *LegacyConnectConfig) Reset()
- func (x *LegacyConnectConfig) String() string
- type LegacyConnectConfig_ProxyLocation
- func (*LegacyConnectConfig_ProxyLocation) Descriptor() ([]byte, []int)deprecated
- func (x *LegacyConnectConfig_ProxyLocation) GetCity() string
- func (x *LegacyConnectConfig_ProxyLocation) GetCountry() string
- func (x *LegacyConnectConfig_ProxyLocation) GetCountryCode() string
- func (x *LegacyConnectConfig_ProxyLocation) GetLatitude() float32
- func (x *LegacyConnectConfig_ProxyLocation) GetLongitude() float32
- func (*LegacyConnectConfig_ProxyLocation) ProtoMessage()
- func (x *LegacyConnectConfig_ProxyLocation) ProtoReflect() protoreflect.Message
- func (x *LegacyConnectConfig_ProxyLocation) Reset()
- func (x *LegacyConnectConfig_ProxyLocation) String() string
- type ProxyConnectConfig
- func (*ProxyConnectConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig) GetAddr() string
- func (x *ProxyConnectConfig) GetAuthToken() string
- func (x *ProxyConnectConfig) GetCertPem() []byte
- func (x *ProxyConnectConfig) GetConnectCfgAlgeneva() *ProxyConnectConfig_AlgenevaConfig
- func (x *ProxyConnectConfig) GetConnectCfgBroflake() *ProxyConnectConfig_BroflakeConfig
- func (x *ProxyConnectConfig) GetConnectCfgShadowsocks() *ProxyConnectConfig_ShadowsocksConfig
- func (x *ProxyConnectConfig) GetConnectCfgStarbridge() *ProxyConnectConfig_StarbridgeConfig
- func (x *ProxyConnectConfig) GetConnectCfgTls() *ProxyConnectConfig_TLSConfig
- func (x *ProxyConnectConfig) GetConnectCfgTlsmasq() *ProxyConnectConfig_TLSMasqConfig
- func (x *ProxyConnectConfig) GetConnectCfgVmess() *ProxyConnectConfig_VMessConfig
- func (x *ProxyConnectConfig) GetConnectCfgWater() *ProxyConnectConfig_WATERConfig
- func (x *ProxyConnectConfig) GetLocation() *ProxyConnectConfig_ProxyLocation
- func (x *ProxyConnectConfig) GetName() string
- func (x *ProxyConnectConfig) GetPort() int32
- func (x *ProxyConnectConfig) GetProtocol() string
- func (m *ProxyConnectConfig) GetProtocolConfig() isProxyConnectConfig_ProtocolConfig
- func (x *ProxyConnectConfig) GetTrack() string
- func (x *ProxyConnectConfig) GetTrusted() bool
- func (*ProxyConnectConfig) ProtoMessage()
- func (x *ProxyConnectConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig) Reset()
- func (x *ProxyConnectConfig) String() string
- type ProxyConnectConfig_AlgenevaConfig
- func (*ProxyConnectConfig_AlgenevaConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_AlgenevaConfig) GetStrategy() string
- func (*ProxyConnectConfig_AlgenevaConfig) ProtoMessage()
- func (x *ProxyConnectConfig_AlgenevaConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_AlgenevaConfig) Reset()
- func (x *ProxyConnectConfig_AlgenevaConfig) String() string
- type ProxyConnectConfig_BroflakeConfig
- func (*ProxyConnectConfig_BroflakeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_BroflakeConfig) GetCtableSize() int32
- func (x *ProxyConnectConfig_BroflakeConfig) GetDiscoverySrv() string
- func (x *ProxyConnectConfig_BroflakeConfig) GetEgressCa() string
- func (x *ProxyConnectConfig_BroflakeConfig) GetEgressInsecureSkipVerify() bool
- func (x *ProxyConnectConfig_BroflakeConfig) GetEgressServerName() string
- func (x *ProxyConnectConfig_BroflakeConfig) GetEndpoint() string
- func (x *ProxyConnectConfig_BroflakeConfig) GetIceFailTimeout() int32
- func (x *ProxyConnectConfig_BroflakeConfig) GetNatFailTimeout() int32
- func (x *ProxyConnectConfig_BroflakeConfig) GetPtableSize() int32
- func (x *ProxyConnectConfig_BroflakeConfig) GetStunBatchSize() int32
- func (x *ProxyConnectConfig_BroflakeConfig) GetStunServers() []string
- func (*ProxyConnectConfig_BroflakeConfig) ProtoMessage()
- func (x *ProxyConnectConfig_BroflakeConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_BroflakeConfig) Reset()
- func (x *ProxyConnectConfig_BroflakeConfig) String() string
- type ProxyConnectConfig_ConnectCfgAlgeneva
- type ProxyConnectConfig_ConnectCfgBroflake
- type ProxyConnectConfig_ConnectCfgShadowsocks
- type ProxyConnectConfig_ConnectCfgStarbridge
- type ProxyConnectConfig_ConnectCfgTls
- type ProxyConnectConfig_ConnectCfgTlsmasq
- type ProxyConnectConfig_ConnectCfgVmess
- type ProxyConnectConfig_ConnectCfgWater
- type ProxyConnectConfig_ProxyLocation
- func (*ProxyConnectConfig_ProxyLocation) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_ProxyLocation) GetCity() string
- func (x *ProxyConnectConfig_ProxyLocation) GetCountry() string
- func (x *ProxyConnectConfig_ProxyLocation) GetCountryCode() string
- func (x *ProxyConnectConfig_ProxyLocation) GetLatitude() float32
- func (x *ProxyConnectConfig_ProxyLocation) GetLongitude() float32
- func (*ProxyConnectConfig_ProxyLocation) ProtoMessage()
- func (x *ProxyConnectConfig_ProxyLocation) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_ProxyLocation) Reset()
- func (x *ProxyConnectConfig_ProxyLocation) String() string
- type ProxyConnectConfig_ShadowsocksConfig
- func (*ProxyConnectConfig_ShadowsocksConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_ShadowsocksConfig) GetCipher() string
- func (x *ProxyConnectConfig_ShadowsocksConfig) GetPrefixGenerator() string
- func (x *ProxyConnectConfig_ShadowsocksConfig) GetSecret() string
- func (x *ProxyConnectConfig_ShadowsocksConfig) GetWithTls() bool
- func (*ProxyConnectConfig_ShadowsocksConfig) ProtoMessage()
- func (x *ProxyConnectConfig_ShadowsocksConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_ShadowsocksConfig) Reset()
- func (x *ProxyConnectConfig_ShadowsocksConfig) String() string
- type ProxyConnectConfig_StarbridgeConfig
- func (*ProxyConnectConfig_StarbridgeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_StarbridgeConfig) GetPublicKey() string
- func (*ProxyConnectConfig_StarbridgeConfig) ProtoMessage()
- func (x *ProxyConnectConfig_StarbridgeConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_StarbridgeConfig) Reset()
- func (x *ProxyConnectConfig_StarbridgeConfig) String() string
- type ProxyConnectConfig_TLSConfig
- func (*ProxyConnectConfig_TLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_TLSConfig) GetServerNameIndicator() string
- func (x *ProxyConnectConfig_TLSConfig) GetSessionState() *ProxyConnectConfig_TLSConfig_SessionState
- func (x *ProxyConnectConfig_TLSConfig) GetTlsFrag() string
- func (*ProxyConnectConfig_TLSConfig) ProtoMessage()
- func (x *ProxyConnectConfig_TLSConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_TLSConfig) Reset()
- func (x *ProxyConnectConfig_TLSConfig) String() string
- type ProxyConnectConfig_TLSConfig_SessionState
- func (*ProxyConnectConfig_TLSConfig_SessionState) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_TLSConfig_SessionState) GetCipherSuite() uint32
- func (x *ProxyConnectConfig_TLSConfig_SessionState) GetMasterSecret() []byte
- func (x *ProxyConnectConfig_TLSConfig_SessionState) GetSessionState() []byte
- func (x *ProxyConnectConfig_TLSConfig_SessionState) GetSessionTicket() []byte
- func (x *ProxyConnectConfig_TLSConfig_SessionState) GetVersion() uint32
- func (*ProxyConnectConfig_TLSConfig_SessionState) ProtoMessage()
- func (x *ProxyConnectConfig_TLSConfig_SessionState) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_TLSConfig_SessionState) Reset()
- func (x *ProxyConnectConfig_TLSConfig_SessionState) String() string
- type ProxyConnectConfig_TLSMasqConfig
- func (*ProxyConnectConfig_TLSMasqConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_TLSMasqConfig) GetOriginAddr() string
- func (x *ProxyConnectConfig_TLSMasqConfig) GetSecret() []byte
- func (x *ProxyConnectConfig_TLSMasqConfig) GetTlsFrag() string
- func (x *ProxyConnectConfig_TLSMasqConfig) GetTlsMinVersion() string
- func (x *ProxyConnectConfig_TLSMasqConfig) GetTlsSupportedCipherSuites() []string
- func (*ProxyConnectConfig_TLSMasqConfig) ProtoMessage()
- func (x *ProxyConnectConfig_TLSMasqConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_TLSMasqConfig) Reset()
- func (x *ProxyConnectConfig_TLSMasqConfig) String() string
- type ProxyConnectConfig_VMessConfig
- func (*ProxyConnectConfig_VMessConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_VMessConfig) GetSecurity() string
- func (x *ProxyConnectConfig_VMessConfig) GetUuid() string
- func (*ProxyConnectConfig_VMessConfig) ProtoMessage()
- func (x *ProxyConnectConfig_VMessConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_VMessConfig) Reset()
- func (x *ProxyConnectConfig_VMessConfig) String() string
- type ProxyConnectConfig_WATERConfig
- func (*ProxyConnectConfig_WATERConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProxyConnectConfig_WATERConfig) GetDownloadTimeout() *durationpb.Duration
- func (x *ProxyConnectConfig_WATERConfig) GetTransport() string
- func (x *ProxyConnectConfig_WATERConfig) GetWasm() []bytedeprecated
- func (x *ProxyConnectConfig_WATERConfig) GetWasmAvailableAt() []string
- func (*ProxyConnectConfig_WATERConfig) ProtoMessage()
- func (x *ProxyConnectConfig_WATERConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConnectConfig_WATERConfig) Reset()
- func (x *ProxyConnectConfig_WATERConfig) String() string
Constants ¶
This section is empty.
Variables ¶
var File_apipb_types_proto protoreflect.FileDescriptor
Functions ¶
func ProxyToLegacyConfig ¶ added in v7.6.146
func ProxyToLegacyConfig(cfg *ProxyConnectConfig) (*commonconfig.ProxyConfig, error)
ProxyToLegacyConfig converts a ProxyConnectConfig to the legacy format
Types ¶
type BypassRequest ¶
type BypassRequest struct { Config *LegacyConnectConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Version is a version specifier denoting the version of bypass used on the client. It is not // necessary to update this value on every change to bypass; this should only be updated when the // backend needs to make decisions unique to a new version of bypass. Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*BypassRequest) Descriptor
deprecated
func (*BypassRequest) Descriptor() ([]byte, []int)
Deprecated: Use BypassRequest.ProtoReflect.Descriptor instead.
func (*BypassRequest) GetConfig ¶
func (x *BypassRequest) GetConfig() *LegacyConnectConfig
func (*BypassRequest) GetVersion ¶ added in v7.6.24
func (x *BypassRequest) GetVersion() int32
func (*BypassRequest) ProtoMessage ¶
func (*BypassRequest) ProtoMessage()
func (*BypassRequest) ProtoReflect ¶
func (x *BypassRequest) ProtoReflect() protoreflect.Message
func (*BypassRequest) Reset ¶
func (x *BypassRequest) Reset()
func (*BypassRequest) String ¶
func (x *BypassRequest) String() string
type BypassResponse ¶
type BypassResponse struct { Random string `protobuf:"bytes,1,opt,name=random,proto3" json:"random,omitempty"` // contains filtered or unexported fields }
func (*BypassResponse) Descriptor
deprecated
func (*BypassResponse) Descriptor() ([]byte, []int)
Deprecated: Use BypassResponse.ProtoReflect.Descriptor instead.
func (*BypassResponse) GetRandom ¶
func (x *BypassResponse) GetRandom() string
func (*BypassResponse) ProtoMessage ¶
func (*BypassResponse) ProtoMessage()
func (*BypassResponse) ProtoReflect ¶
func (x *BypassResponse) ProtoReflect() protoreflect.Message
func (*BypassResponse) Reset ¶
func (x *BypassResponse) Reset()
func (*BypassResponse) String ¶
func (x *BypassResponse) String() string
type ConfigRequest ¶ added in v7.6.146
type ConfigRequest struct { ClientInfo *ConfigRequest_ClientInfo `protobuf:"bytes,1,opt,name=client_info,json=clientInfo,proto3" json:"client_info,omitempty"` Proxy *ConfigRequest_Proxy `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,omitempty"` // contains filtered or unexported fields }
ConfigRequest is the request sent by the client that contains information about the client and the config it currently has.
func (*ConfigRequest) Descriptor
deprecated
added in
v7.6.146
func (*ConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest.ProtoReflect.Descriptor instead.
func (*ConfigRequest) GetClientInfo ¶ added in v7.6.146
func (x *ConfigRequest) GetClientInfo() *ConfigRequest_ClientInfo
func (*ConfigRequest) GetProxy ¶ added in v7.6.146
func (x *ConfigRequest) GetProxy() *ConfigRequest_Proxy
func (*ConfigRequest) ProtoMessage ¶ added in v7.6.146
func (*ConfigRequest) ProtoMessage()
func (*ConfigRequest) ProtoReflect ¶ added in v7.6.146
func (x *ConfigRequest) ProtoReflect() protoreflect.Message
func (*ConfigRequest) Reset ¶ added in v7.6.146
func (x *ConfigRequest) Reset()
func (*ConfigRequest) String ¶ added in v7.6.146
func (x *ConfigRequest) String() string
type ConfigRequest_ClientInfo ¶ added in v7.6.146
type ConfigRequest_ClientInfo struct { FlashlightVersion string `protobuf:"bytes,1,opt,name=flashlight_version,json=flashlightVersion,proto3" json:"flashlight_version,omitempty"` ClientVersion string `protobuf:"bytes,2,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` ProToken string `protobuf:"bytes,4,opt,name=pro_token,json=proToken,proto3" json:"pro_token,omitempty"` Country string `protobuf:"bytes,5,opt,name=country,proto3" json:"country,omitempty"` // country code Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` // clients ip address // contains filtered or unexported fields }
func (*ConfigRequest_ClientInfo) Descriptor
deprecated
added in
v7.6.146
func (*ConfigRequest_ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_ClientInfo.ProtoReflect.Descriptor instead.
func (*ConfigRequest_ClientInfo) GetClientVersion ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) GetClientVersion() string
func (*ConfigRequest_ClientInfo) GetCountry ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) GetCountry() string
func (*ConfigRequest_ClientInfo) GetFlashlightVersion ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) GetFlashlightVersion() string
func (*ConfigRequest_ClientInfo) GetIp ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) GetIp() string
func (*ConfigRequest_ClientInfo) GetProToken ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) GetProToken() string
func (*ConfigRequest_ClientInfo) GetUserId ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) GetUserId() string
func (*ConfigRequest_ClientInfo) ProtoMessage ¶ added in v7.6.146
func (*ConfigRequest_ClientInfo) ProtoMessage()
func (*ConfigRequest_ClientInfo) ProtoReflect ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) ProtoReflect() protoreflect.Message
func (*ConfigRequest_ClientInfo) Reset ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) Reset()
func (*ConfigRequest_ClientInfo) String ¶ added in v7.6.146
func (x *ConfigRequest_ClientInfo) String() string
type ConfigRequest_Proxy ¶ added in v7.6.146
type ConfigRequest_Proxy struct { Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // list of proxy ids LastRequest *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_request,json=lastRequest,proto3" json:"last_request,omitempty"` // last time client requested proxy config // contains filtered or unexported fields }
func (*ConfigRequest_Proxy) Descriptor
deprecated
added in
v7.6.146
func (*ConfigRequest_Proxy) Descriptor() ([]byte, []int)
Deprecated: Use ConfigRequest_Proxy.ProtoReflect.Descriptor instead.
func (*ConfigRequest_Proxy) GetLastRequest ¶ added in v7.6.146
func (x *ConfigRequest_Proxy) GetLastRequest() *timestamppb.Timestamp
func (*ConfigRequest_Proxy) GetNames ¶ added in v7.6.146
func (x *ConfigRequest_Proxy) GetNames() []string
func (*ConfigRequest_Proxy) ProtoMessage ¶ added in v7.6.146
func (*ConfigRequest_Proxy) ProtoMessage()
func (*ConfigRequest_Proxy) ProtoReflect ¶ added in v7.6.146
func (x *ConfigRequest_Proxy) ProtoReflect() protoreflect.Message
func (*ConfigRequest_Proxy) Reset ¶ added in v7.6.146
func (x *ConfigRequest_Proxy) Reset()
func (*ConfigRequest_Proxy) String ¶ added in v7.6.146
func (x *ConfigRequest_Proxy) String() string
type ConfigResponse ¶ added in v7.6.146
type ConfigResponse struct { ProToken string `protobuf:"bytes,1,opt,name=pro_token,json=proToken,proto3" json:"pro_token,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` // country code Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // clients ip address Proxy *ConfigResponse_Proxy `protobuf:"bytes,4,opt,name=proxy,proto3" json:"proxy,omitempty"` // contains filtered or unexported fields }
ConfigResponse is the response sent by the server that contains the updated config for the client.
func (*ConfigResponse) Descriptor
deprecated
added in
v7.6.146
func (*ConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigResponse.ProtoReflect.Descriptor instead.
func (*ConfigResponse) GetCountry ¶ added in v7.6.146
func (x *ConfigResponse) GetCountry() string
func (*ConfigResponse) GetIp ¶ added in v7.6.146
func (x *ConfigResponse) GetIp() string
func (*ConfigResponse) GetProToken ¶ added in v7.6.146
func (x *ConfigResponse) GetProToken() string
func (*ConfigResponse) GetProxy ¶ added in v7.6.146
func (x *ConfigResponse) GetProxy() *ConfigResponse_Proxy
func (*ConfigResponse) ProtoMessage ¶ added in v7.6.146
func (*ConfigResponse) ProtoMessage()
func (*ConfigResponse) ProtoReflect ¶ added in v7.6.146
func (x *ConfigResponse) ProtoReflect() protoreflect.Message
func (*ConfigResponse) Reset ¶ added in v7.6.146
func (x *ConfigResponse) Reset()
func (*ConfigResponse) String ¶ added in v7.6.146
func (x *ConfigResponse) String() string
type ConfigResponse_Proxy ¶ added in v7.6.146
type ConfigResponse_Proxy struct { Proxies []*ProxyConnectConfig `protobuf:"bytes,1,rep,name=proxies,proto3" json:"proxies,omitempty"` // list of proxy configs // contains filtered or unexported fields }
func (*ConfigResponse_Proxy) Descriptor
deprecated
added in
v7.6.146
func (*ConfigResponse_Proxy) Descriptor() ([]byte, []int)
Deprecated: Use ConfigResponse_Proxy.ProtoReflect.Descriptor instead.
func (*ConfigResponse_Proxy) GetProxies ¶ added in v7.6.146
func (x *ConfigResponse_Proxy) GetProxies() []*ProxyConnectConfig
func (*ConfigResponse_Proxy) ProtoMessage ¶ added in v7.6.146
func (*ConfigResponse_Proxy) ProtoMessage()
func (*ConfigResponse_Proxy) ProtoReflect ¶ added in v7.6.146
func (x *ConfigResponse_Proxy) ProtoReflect() protoreflect.Message
func (*ConfigResponse_Proxy) Reset ¶ added in v7.6.146
func (x *ConfigResponse_Proxy) Reset()
func (*ConfigResponse_Proxy) String ¶ added in v7.6.146
func (x *ConfigResponse_Proxy) String() string
type LegacyConnectConfig ¶
type LegacyConnectConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Cert string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"` AuthToken string `protobuf:"bytes,4,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` Trusted bool `protobuf:"varint,5,opt,name=trusted,proto3" json:"trusted,omitempty"` MaxPreconnect int32 `protobuf:"varint,6,opt,name=max_preconnect,json=maxPreconnect,proto3" json:"max_preconnect,omitempty"` Bias int32 `protobuf:"varint,7,opt,name=bias,proto3" json:"bias,omitempty"` PluggableTransport string `protobuf:"bytes,8,opt,name=pluggable_transport,json=pluggableTransport,proto3" json:"pluggable_transport,omitempty"` PluggableTransportSettings map[string]string `` /* 229-byte string literal not displayed */ ENHTTPURL string `protobuf:"bytes,10,opt,name=ENHTTPURL,proto3" json:"ENHTTPURL,omitempty"` TLSDesktopOrderedCipherSuiteNames []string `` /* 167-byte string literal not displayed */ TLSMobileOrderedCipherSuiteNames []string `` /* 164-byte string literal not displayed */ TLSServerNameIndicator string `` /* 130-byte string literal not displayed */ TLSClientSessionCacheSize int32 `` /* 142-byte string literal not displayed */ TLSClientHelloID string `protobuf:"bytes,15,opt,name=TLSClient_helloID,json=TLSClientHelloID,proto3" json:"TLSClient_helloID,omitempty"` TLSClientHelloSplitting bool `` /* 134-byte string literal not displayed */ TLSClientSessionState string `` /* 127-byte string literal not displayed */ Location *LegacyConnectConfig_ProxyLocation `protobuf:"bytes,18,opt,name=location,proto3" json:"location,omitempty"` MultipathEndpoint string `protobuf:"bytes,19,opt,name=multipath_endpoint,json=multipathEndpoint,proto3" json:"multipath_endpoint,omitempty"` MultiplexedAddr string `protobuf:"bytes,20,opt,name=multiplexed_addr,json=multiplexedAddr,proto3" json:"multiplexed_addr,omitempty"` MultiplexedPhysicalConns int32 `` /* 137-byte string literal not displayed */ MultiplexedProtocol string `protobuf:"bytes,22,opt,name=multiplexed_protocol,json=multiplexedProtocol,proto3" json:"multiplexed_protocol,omitempty"` MultiplexedSettings map[string]string `` /* 207-byte string literal not displayed */ Track string `protobuf:"bytes,24,opt,name=track,proto3" json:"track,omitempty"` Region string `protobuf:"bytes,25,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
LegacyConnectConfig is the information required for a client to connect to a proxy, for clients which get their config from config-server (it's copied from there).
func (*LegacyConnectConfig) Descriptor
deprecated
func (*LegacyConnectConfig) Descriptor() ([]byte, []int)
Deprecated: Use LegacyConnectConfig.ProtoReflect.Descriptor instead.
func (*LegacyConnectConfig) GetAddr ¶
func (x *LegacyConnectConfig) GetAddr() string
func (*LegacyConnectConfig) GetAuthToken ¶
func (x *LegacyConnectConfig) GetAuthToken() string
func (*LegacyConnectConfig) GetBias ¶
func (x *LegacyConnectConfig) GetBias() int32
func (*LegacyConnectConfig) GetCert ¶
func (x *LegacyConnectConfig) GetCert() string
func (*LegacyConnectConfig) GetENHTTPURL ¶
func (x *LegacyConnectConfig) GetENHTTPURL() string
func (*LegacyConnectConfig) GetLocation ¶
func (x *LegacyConnectConfig) GetLocation() *LegacyConnectConfig_ProxyLocation
func (*LegacyConnectConfig) GetMaxPreconnect ¶
func (x *LegacyConnectConfig) GetMaxPreconnect() int32
func (*LegacyConnectConfig) GetMultipathEndpoint ¶
func (x *LegacyConnectConfig) GetMultipathEndpoint() string
func (*LegacyConnectConfig) GetMultiplexedAddr ¶
func (x *LegacyConnectConfig) GetMultiplexedAddr() string
func (*LegacyConnectConfig) GetMultiplexedPhysicalConns ¶
func (x *LegacyConnectConfig) GetMultiplexedPhysicalConns() int32
func (*LegacyConnectConfig) GetMultiplexedProtocol ¶
func (x *LegacyConnectConfig) GetMultiplexedProtocol() string
func (*LegacyConnectConfig) GetMultiplexedSettings ¶
func (x *LegacyConnectConfig) GetMultiplexedSettings() map[string]string
func (*LegacyConnectConfig) GetName ¶
func (x *LegacyConnectConfig) GetName() string
func (*LegacyConnectConfig) GetPluggableTransport ¶
func (x *LegacyConnectConfig) GetPluggableTransport() string
func (*LegacyConnectConfig) GetPluggableTransportSettings ¶
func (x *LegacyConnectConfig) GetPluggableTransportSettings() map[string]string
func (*LegacyConnectConfig) GetRegion ¶
func (x *LegacyConnectConfig) GetRegion() string
func (*LegacyConnectConfig) GetTLSClientHelloID ¶
func (x *LegacyConnectConfig) GetTLSClientHelloID() string
func (*LegacyConnectConfig) GetTLSClientHelloSplitting ¶
func (x *LegacyConnectConfig) GetTLSClientHelloSplitting() bool
func (*LegacyConnectConfig) GetTLSClientSessionCacheSize ¶
func (x *LegacyConnectConfig) GetTLSClientSessionCacheSize() int32
func (*LegacyConnectConfig) GetTLSClientSessionState ¶
func (x *LegacyConnectConfig) GetTLSClientSessionState() string
func (*LegacyConnectConfig) GetTLSDesktopOrderedCipherSuiteNames ¶
func (x *LegacyConnectConfig) GetTLSDesktopOrderedCipherSuiteNames() []string
func (*LegacyConnectConfig) GetTLSMobileOrderedCipherSuiteNames ¶
func (x *LegacyConnectConfig) GetTLSMobileOrderedCipherSuiteNames() []string
func (*LegacyConnectConfig) GetTLSServerNameIndicator ¶
func (x *LegacyConnectConfig) GetTLSServerNameIndicator() string
func (*LegacyConnectConfig) GetTrack ¶
func (x *LegacyConnectConfig) GetTrack() string
func (*LegacyConnectConfig) GetTrusted ¶
func (x *LegacyConnectConfig) GetTrusted() bool
func (*LegacyConnectConfig) ProtoMessage ¶
func (*LegacyConnectConfig) ProtoMessage()
func (*LegacyConnectConfig) ProtoReflect ¶
func (x *LegacyConnectConfig) ProtoReflect() protoreflect.Message
func (*LegacyConnectConfig) Reset ¶
func (x *LegacyConnectConfig) Reset()
func (*LegacyConnectConfig) String ¶
func (x *LegacyConnectConfig) String() string
type LegacyConnectConfig_ProxyLocation ¶
type LegacyConnectConfig_ProxyLocation struct { City string `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` Latitude float32 `protobuf:"fixed32,4,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float32 `protobuf:"fixed32,5,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*LegacyConnectConfig_ProxyLocation) Descriptor
deprecated
func (*LegacyConnectConfig_ProxyLocation) Descriptor() ([]byte, []int)
Deprecated: Use LegacyConnectConfig_ProxyLocation.ProtoReflect.Descriptor instead.
func (*LegacyConnectConfig_ProxyLocation) GetCity ¶
func (x *LegacyConnectConfig_ProxyLocation) GetCity() string
func (*LegacyConnectConfig_ProxyLocation) GetCountry ¶
func (x *LegacyConnectConfig_ProxyLocation) GetCountry() string
func (*LegacyConnectConfig_ProxyLocation) GetCountryCode ¶
func (x *LegacyConnectConfig_ProxyLocation) GetCountryCode() string
func (*LegacyConnectConfig_ProxyLocation) GetLatitude ¶
func (x *LegacyConnectConfig_ProxyLocation) GetLatitude() float32
func (*LegacyConnectConfig_ProxyLocation) GetLongitude ¶
func (x *LegacyConnectConfig_ProxyLocation) GetLongitude() float32
func (*LegacyConnectConfig_ProxyLocation) ProtoMessage ¶
func (*LegacyConnectConfig_ProxyLocation) ProtoMessage()
func (*LegacyConnectConfig_ProxyLocation) ProtoReflect ¶
func (x *LegacyConnectConfig_ProxyLocation) ProtoReflect() protoreflect.Message
func (*LegacyConnectConfig_ProxyLocation) Reset ¶
func (x *LegacyConnectConfig_ProxyLocation) Reset()
func (*LegacyConnectConfig_ProxyLocation) String ¶
func (x *LegacyConnectConfig_ProxyLocation) String() string
type ProxyConnectConfig ¶ added in v7.6.146
type ProxyConnectConfig struct { // addr is the proxy's public IP address. Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Track string `protobuf:"bytes,2,opt,name=track,proto3" json:"track,omitempty"` Location *ProxyConnectConfig_ProxyLocation `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Used for logging. Port int32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` Protocol string `protobuf:"bytes,6,opt,name=protocol,proto3" json:"protocol,omitempty"` // General config. CertPem []byte `protobuf:"bytes,10,opt,name=cert_pem,json=certPem,proto3" json:"cert_pem,omitempty"` AuthToken string `protobuf:"bytes,11,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` // Trusted indicates whether this proxy is "trusted". This term originates in Lantern's previous // infrastructure in which proxy trust was based on cloud provider - some companies operate out // of countries which are known to pressure or subvert domestic companies. With triangle routing, // however, we do not run proxies on such providers - only on back-end, wholesale providers which // we trust. Thus, "trust" is now based on protocol. If the proxy's protocol offers end-to-end // security (encryption and authentication), we consider the proxy to be trusted. // // The value of this field only affects plain-text HTTP requests sent by the client; we do not // send such requests through untrusted providers. Trusted bool `protobuf:"varint,12,opt,name=trusted,proto3" json:"trusted,omitempty"` // Types that are assignable to ProtocolConfig: // // *ProxyConnectConfig_ConnectCfgTls // *ProxyConnectConfig_ConnectCfgTlsmasq // *ProxyConnectConfig_ConnectCfgShadowsocks // *ProxyConnectConfig_ConnectCfgBroflake // *ProxyConnectConfig_ConnectCfgStarbridge // *ProxyConnectConfig_ConnectCfgAlgeneva // *ProxyConnectConfig_ConnectCfgWater // *ProxyConnectConfig_ConnectCfgVmess ProtocolConfig isProxyConnectConfig_ProtocolConfig `protobuf_oneof:"protocol_config"` // contains filtered or unexported fields }
ProxyConnectConfig contains all the data for connecting to a given proxy. This message structure is used directly by clients, so any changes *must* be backwards compatible.
func (*ProxyConnectConfig) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig) GetAddr ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetAddr() string
func (*ProxyConnectConfig) GetAuthToken ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetAuthToken() string
func (*ProxyConnectConfig) GetCertPem ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetCertPem() []byte
func (*ProxyConnectConfig) GetConnectCfgAlgeneva ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetConnectCfgAlgeneva() *ProxyConnectConfig_AlgenevaConfig
func (*ProxyConnectConfig) GetConnectCfgBroflake ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetConnectCfgBroflake() *ProxyConnectConfig_BroflakeConfig
func (*ProxyConnectConfig) GetConnectCfgShadowsocks ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetConnectCfgShadowsocks() *ProxyConnectConfig_ShadowsocksConfig
func (*ProxyConnectConfig) GetConnectCfgStarbridge ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetConnectCfgStarbridge() *ProxyConnectConfig_StarbridgeConfig
func (*ProxyConnectConfig) GetConnectCfgTls ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetConnectCfgTls() *ProxyConnectConfig_TLSConfig
func (*ProxyConnectConfig) GetConnectCfgTlsmasq ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetConnectCfgTlsmasq() *ProxyConnectConfig_TLSMasqConfig
func (*ProxyConnectConfig) GetConnectCfgVmess ¶ added in v7.6.167
func (x *ProxyConnectConfig) GetConnectCfgVmess() *ProxyConnectConfig_VMessConfig
func (*ProxyConnectConfig) GetConnectCfgWater ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetConnectCfgWater() *ProxyConnectConfig_WATERConfig
func (*ProxyConnectConfig) GetLocation ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetLocation() *ProxyConnectConfig_ProxyLocation
func (*ProxyConnectConfig) GetName ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetName() string
func (*ProxyConnectConfig) GetPort ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetPort() int32
func (*ProxyConnectConfig) GetProtocol ¶ added in v7.6.149
func (x *ProxyConnectConfig) GetProtocol() string
func (*ProxyConnectConfig) GetProtocolConfig ¶ added in v7.6.146
func (m *ProxyConnectConfig) GetProtocolConfig() isProxyConnectConfig_ProtocolConfig
func (*ProxyConnectConfig) GetTrack ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetTrack() string
func (*ProxyConnectConfig) GetTrusted ¶ added in v7.6.146
func (x *ProxyConnectConfig) GetTrusted() bool
func (*ProxyConnectConfig) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig) ProtoMessage()
func (*ProxyConnectConfig) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig) Reset()
func (*ProxyConnectConfig) String ¶ added in v7.6.146
func (x *ProxyConnectConfig) String() string
type ProxyConnectConfig_AlgenevaConfig ¶ added in v7.6.146
type ProxyConnectConfig_AlgenevaConfig struct { Strategy string `protobuf:"bytes,1,opt,name=strategy,proto3" json:"strategy,omitempty"` // contains filtered or unexported fields }
func (*ProxyConnectConfig_AlgenevaConfig) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_AlgenevaConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_AlgenevaConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_AlgenevaConfig) GetStrategy ¶ added in v7.6.146
func (x *ProxyConnectConfig_AlgenevaConfig) GetStrategy() string
func (*ProxyConnectConfig_AlgenevaConfig) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_AlgenevaConfig) ProtoMessage()
func (*ProxyConnectConfig_AlgenevaConfig) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_AlgenevaConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_AlgenevaConfig) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_AlgenevaConfig) Reset()
func (*ProxyConnectConfig_AlgenevaConfig) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_AlgenevaConfig) String() string
type ProxyConnectConfig_BroflakeConfig ¶ added in v7.6.146
type ProxyConnectConfig_BroflakeConfig struct { CtableSize int32 `protobuf:"varint,1,opt,name=ctable_size,json=ctableSize,proto3" json:"ctable_size,omitempty"` PtableSize int32 `protobuf:"varint,2,opt,name=ptable_size,json=ptableSize,proto3" json:"ptable_size,omitempty"` NatFailTimeout int32 `protobuf:"varint,3,opt,name=nat_fail_timeout,json=natFailTimeout,proto3" json:"nat_fail_timeout,omitempty"` IceFailTimeout int32 `protobuf:"varint,4,opt,name=ice_fail_timeout,json=iceFailTimeout,proto3" json:"ice_fail_timeout,omitempty"` DiscoverySrv string `protobuf:"bytes,5,opt,name=discovery_srv,json=discoverySrv,proto3" json:"discovery_srv,omitempty"` Endpoint string `protobuf:"bytes,6,opt,name=endpoint,proto3" json:"endpoint,omitempty"` EgressServerName string `protobuf:"bytes,7,opt,name=egress_server_name,json=egressServerName,proto3" json:"egress_server_name,omitempty"` EgressInsecureSkipVerify bool `` /* 138-byte string literal not displayed */ EgressCa string `protobuf:"bytes,9,opt,name=egress_ca,json=egressCa,proto3" json:"egress_ca,omitempty"` StunBatchSize int32 `protobuf:"varint,10,opt,name=stun_batch_size,json=stunBatchSize,proto3" json:"stun_batch_size,omitempty"` StunServers []string `protobuf:"bytes,11,rep,name=stun_servers,json=stunServers,proto3" json:"stun_servers,omitempty"` // contains filtered or unexported fields }
func (*ProxyConnectConfig_BroflakeConfig) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_BroflakeConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_BroflakeConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_BroflakeConfig) GetCtableSize ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetCtableSize() int32
func (*ProxyConnectConfig_BroflakeConfig) GetDiscoverySrv ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetDiscoverySrv() string
func (*ProxyConnectConfig_BroflakeConfig) GetEgressCa ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetEgressCa() string
func (*ProxyConnectConfig_BroflakeConfig) GetEgressInsecureSkipVerify ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetEgressInsecureSkipVerify() bool
func (*ProxyConnectConfig_BroflakeConfig) GetEgressServerName ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetEgressServerName() string
func (*ProxyConnectConfig_BroflakeConfig) GetEndpoint ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetEndpoint() string
func (*ProxyConnectConfig_BroflakeConfig) GetIceFailTimeout ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetIceFailTimeout() int32
func (*ProxyConnectConfig_BroflakeConfig) GetNatFailTimeout ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetNatFailTimeout() int32
func (*ProxyConnectConfig_BroflakeConfig) GetPtableSize ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetPtableSize() int32
func (*ProxyConnectConfig_BroflakeConfig) GetStunBatchSize ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetStunBatchSize() int32
func (*ProxyConnectConfig_BroflakeConfig) GetStunServers ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) GetStunServers() []string
func (*ProxyConnectConfig_BroflakeConfig) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_BroflakeConfig) ProtoMessage()
func (*ProxyConnectConfig_BroflakeConfig) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_BroflakeConfig) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) Reset()
func (*ProxyConnectConfig_BroflakeConfig) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_BroflakeConfig) String() string
type ProxyConnectConfig_ConnectCfgAlgeneva ¶ added in v7.6.146
type ProxyConnectConfig_ConnectCfgAlgeneva struct {
ConnectCfgAlgeneva *ProxyConnectConfig_AlgenevaConfig `protobuf:"bytes,25,opt,name=connect_cfg_algeneva,json=connectCfgAlgeneva,proto3,oneof"`
}
type ProxyConnectConfig_ConnectCfgBroflake ¶ added in v7.6.146
type ProxyConnectConfig_ConnectCfgBroflake struct {
ConnectCfgBroflake *ProxyConnectConfig_BroflakeConfig `protobuf:"bytes,23,opt,name=connect_cfg_broflake,json=connectCfgBroflake,proto3,oneof"`
}
type ProxyConnectConfig_ConnectCfgShadowsocks ¶ added in v7.6.146
type ProxyConnectConfig_ConnectCfgShadowsocks struct {
ConnectCfgShadowsocks *ProxyConnectConfig_ShadowsocksConfig `protobuf:"bytes,22,opt,name=connect_cfg_shadowsocks,json=connectCfgShadowsocks,proto3,oneof"`
}
type ProxyConnectConfig_ConnectCfgStarbridge ¶ added in v7.6.146
type ProxyConnectConfig_ConnectCfgStarbridge struct {
ConnectCfgStarbridge *ProxyConnectConfig_StarbridgeConfig `protobuf:"bytes,24,opt,name=connect_cfg_starbridge,json=connectCfgStarbridge,proto3,oneof"`
}
type ProxyConnectConfig_ConnectCfgTls ¶ added in v7.6.146
type ProxyConnectConfig_ConnectCfgTls struct {
ConnectCfgTls *ProxyConnectConfig_TLSConfig `protobuf:"bytes,20,opt,name=connect_cfg_tls,json=connectCfgTls,proto3,oneof"`
}
type ProxyConnectConfig_ConnectCfgTlsmasq ¶ added in v7.6.146
type ProxyConnectConfig_ConnectCfgTlsmasq struct {
ConnectCfgTlsmasq *ProxyConnectConfig_TLSMasqConfig `protobuf:"bytes,21,opt,name=connect_cfg_tlsmasq,json=connectCfgTlsmasq,proto3,oneof"`
}
type ProxyConnectConfig_ConnectCfgVmess ¶ added in v7.6.167
type ProxyConnectConfig_ConnectCfgVmess struct {
ConnectCfgVmess *ProxyConnectConfig_VMessConfig `protobuf:"bytes,27,opt,name=connect_cfg_vmess,json=connectCfgVmess,proto3,oneof"`
}
type ProxyConnectConfig_ConnectCfgWater ¶ added in v7.6.146
type ProxyConnectConfig_ConnectCfgWater struct {
ConnectCfgWater *ProxyConnectConfig_WATERConfig `protobuf:"bytes,26,opt,name=connect_cfg_water,json=connectCfgWater,proto3,oneof"`
}
type ProxyConnectConfig_ProxyLocation ¶ added in v7.6.146
type ProxyConnectConfig_ProxyLocation struct { City string `protobuf:"bytes,1,opt,name=city,proto3" json:"city,omitempty"` Country string `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"` CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` Latitude float32 `protobuf:"fixed32,4,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float32 `protobuf:"fixed32,5,opt,name=longitude,proto3" json:"longitude,omitempty"` // contains filtered or unexported fields }
func (*ProxyConnectConfig_ProxyLocation) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_ProxyLocation) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_ProxyLocation.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_ProxyLocation) GetCity ¶ added in v7.6.146
func (x *ProxyConnectConfig_ProxyLocation) GetCity() string
func (*ProxyConnectConfig_ProxyLocation) GetCountry ¶ added in v7.6.146
func (x *ProxyConnectConfig_ProxyLocation) GetCountry() string
func (*ProxyConnectConfig_ProxyLocation) GetCountryCode ¶ added in v7.6.146
func (x *ProxyConnectConfig_ProxyLocation) GetCountryCode() string
func (*ProxyConnectConfig_ProxyLocation) GetLatitude ¶ added in v7.6.146
func (x *ProxyConnectConfig_ProxyLocation) GetLatitude() float32
func (*ProxyConnectConfig_ProxyLocation) GetLongitude ¶ added in v7.6.146
func (x *ProxyConnectConfig_ProxyLocation) GetLongitude() float32
func (*ProxyConnectConfig_ProxyLocation) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_ProxyLocation) ProtoMessage()
func (*ProxyConnectConfig_ProxyLocation) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_ProxyLocation) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_ProxyLocation) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_ProxyLocation) Reset()
func (*ProxyConnectConfig_ProxyLocation) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_ProxyLocation) String() string
type ProxyConnectConfig_ShadowsocksConfig ¶ added in v7.6.146
type ProxyConnectConfig_ShadowsocksConfig struct { Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` Cipher string `protobuf:"bytes,2,opt,name=cipher,proto3" json:"cipher,omitempty"` PrefixGenerator string `protobuf:"bytes,3,opt,name=prefix_generator,json=prefixGenerator,proto3" json:"prefix_generator,omitempty"` WithTls bool `protobuf:"varint,4,opt,name=with_tls,json=withTls,proto3" json:"with_tls,omitempty"` // contains filtered or unexported fields }
func (*ProxyConnectConfig_ShadowsocksConfig) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_ShadowsocksConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_ShadowsocksConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_ShadowsocksConfig) GetCipher ¶ added in v7.6.146
func (x *ProxyConnectConfig_ShadowsocksConfig) GetCipher() string
func (*ProxyConnectConfig_ShadowsocksConfig) GetPrefixGenerator ¶ added in v7.6.146
func (x *ProxyConnectConfig_ShadowsocksConfig) GetPrefixGenerator() string
func (*ProxyConnectConfig_ShadowsocksConfig) GetSecret ¶ added in v7.6.146
func (x *ProxyConnectConfig_ShadowsocksConfig) GetSecret() string
func (*ProxyConnectConfig_ShadowsocksConfig) GetWithTls ¶ added in v7.6.146
func (x *ProxyConnectConfig_ShadowsocksConfig) GetWithTls() bool
func (*ProxyConnectConfig_ShadowsocksConfig) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_ShadowsocksConfig) ProtoMessage()
func (*ProxyConnectConfig_ShadowsocksConfig) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_ShadowsocksConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_ShadowsocksConfig) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_ShadowsocksConfig) Reset()
func (*ProxyConnectConfig_ShadowsocksConfig) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_ShadowsocksConfig) String() string
type ProxyConnectConfig_StarbridgeConfig ¶ added in v7.6.146
type ProxyConnectConfig_StarbridgeConfig struct { PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*ProxyConnectConfig_StarbridgeConfig) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_StarbridgeConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_StarbridgeConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_StarbridgeConfig) GetPublicKey ¶ added in v7.6.146
func (x *ProxyConnectConfig_StarbridgeConfig) GetPublicKey() string
func (*ProxyConnectConfig_StarbridgeConfig) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_StarbridgeConfig) ProtoMessage()
func (*ProxyConnectConfig_StarbridgeConfig) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_StarbridgeConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_StarbridgeConfig) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_StarbridgeConfig) Reset()
func (*ProxyConnectConfig_StarbridgeConfig) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_StarbridgeConfig) String() string
type ProxyConnectConfig_TLSConfig ¶ added in v7.6.146
type ProxyConnectConfig_TLSConfig struct { SessionState *ProxyConnectConfig_TLSConfig_SessionState `protobuf:"bytes,1,opt,name=session_state,json=sessionState,proto3" json:"session_state,omitempty"` TlsFrag string `protobuf:"bytes,2,opt,name=tls_frag,json=tlsFrag,proto3" json:"tls_frag,omitempty"` ServerNameIndicator string `protobuf:"bytes,3,opt,name=server_name_indicator,json=serverNameIndicator,proto3" json:"server_name_indicator,omitempty"` // contains filtered or unexported fields }
TLSConfig is configuration for proxies running TLS as a transport.
func (*ProxyConnectConfig_TLSConfig) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_TLSConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_TLSConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_TLSConfig) GetServerNameIndicator ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig) GetServerNameIndicator() string
func (*ProxyConnectConfig_TLSConfig) GetSessionState ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig) GetSessionState() *ProxyConnectConfig_TLSConfig_SessionState
func (*ProxyConnectConfig_TLSConfig) GetTlsFrag ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig) GetTlsFrag() string
func (*ProxyConnectConfig_TLSConfig) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_TLSConfig) ProtoMessage()
func (*ProxyConnectConfig_TLSConfig) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_TLSConfig) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig) Reset()
func (*ProxyConnectConfig_TLSConfig) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig) String() string
type ProxyConnectConfig_TLSConfig_SessionState ¶ added in v7.6.146
type ProxyConnectConfig_TLSConfig_SessionState struct { SessionTicket []byte `protobuf:"bytes,1,opt,name=session_ticket,json=sessionTicket,proto3" json:"session_ticket,omitempty"` Version uint32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // actually a uint16 CipherSuite uint32 `protobuf:"varint,3,opt,name=cipher_suite,json=cipherSuite,proto3" json:"cipher_suite,omitempty"` // actually a uint16 MasterSecret []byte `protobuf:"bytes,4,opt,name=master_secret,json=masterSecret,proto3" json:"master_secret,omitempty"` // Newer utls version (e.g. v1.6.7) or go >1.21 has build-in serialization for SessionState. // It's either field 1,5(newer version) or field 1,2,3,4(older version) that are used for serialization. SessionState []byte `protobuf:"bytes,5,opt,name=session_state,json=sessionState,proto3" json:"session_state,omitempty"` // contains filtered or unexported fields }
SessionState represents a utls.ClientSessionState.
func (*ProxyConnectConfig_TLSConfig_SessionState) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_TLSConfig_SessionState) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_TLSConfig_SessionState.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_TLSConfig_SessionState) GetCipherSuite ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig_SessionState) GetCipherSuite() uint32
func (*ProxyConnectConfig_TLSConfig_SessionState) GetMasterSecret ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig_SessionState) GetMasterSecret() []byte
func (*ProxyConnectConfig_TLSConfig_SessionState) GetSessionState ¶ added in v7.6.151
func (x *ProxyConnectConfig_TLSConfig_SessionState) GetSessionState() []byte
func (*ProxyConnectConfig_TLSConfig_SessionState) GetSessionTicket ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig_SessionState) GetSessionTicket() []byte
func (*ProxyConnectConfig_TLSConfig_SessionState) GetVersion ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig_SessionState) GetVersion() uint32
func (*ProxyConnectConfig_TLSConfig_SessionState) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_TLSConfig_SessionState) ProtoMessage()
func (*ProxyConnectConfig_TLSConfig_SessionState) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig_SessionState) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_TLSConfig_SessionState) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig_SessionState) Reset()
func (*ProxyConnectConfig_TLSConfig_SessionState) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSConfig_SessionState) String() string
type ProxyConnectConfig_TLSMasqConfig ¶ added in v7.6.146
type ProxyConnectConfig_TLSMasqConfig struct { OriginAddr string `protobuf:"bytes,1,opt,name=origin_addr,json=originAddr,proto3" json:"origin_addr,omitempty"` Secret []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // TLSMinVersion is the minimum version of TLS supported by the proxy // server. This is represented as a hex-encoded string, like 0x0303. TlsMinVersion string `protobuf:"bytes,3,opt,name=tls_min_version,json=tlsMinVersion,proto3" json:"tls_min_version,omitempty"` TlsSupportedCipherSuites []string `` /* 137-byte string literal not displayed */ TlsFrag string `protobuf:"bytes,5,opt,name=tls_frag,json=tlsFrag,proto3" json:"tls_frag,omitempty"` // contains filtered or unexported fields }
func (*ProxyConnectConfig_TLSMasqConfig) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_TLSMasqConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_TLSMasqConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_TLSMasqConfig) GetOriginAddr ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSMasqConfig) GetOriginAddr() string
func (*ProxyConnectConfig_TLSMasqConfig) GetSecret ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSMasqConfig) GetSecret() []byte
func (*ProxyConnectConfig_TLSMasqConfig) GetTlsFrag ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSMasqConfig) GetTlsFrag() string
func (*ProxyConnectConfig_TLSMasqConfig) GetTlsMinVersion ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSMasqConfig) GetTlsMinVersion() string
func (*ProxyConnectConfig_TLSMasqConfig) GetTlsSupportedCipherSuites ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSMasqConfig) GetTlsSupportedCipherSuites() []string
func (*ProxyConnectConfig_TLSMasqConfig) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_TLSMasqConfig) ProtoMessage()
func (*ProxyConnectConfig_TLSMasqConfig) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSMasqConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_TLSMasqConfig) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSMasqConfig) Reset()
func (*ProxyConnectConfig_TLSMasqConfig) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_TLSMasqConfig) String() string
type ProxyConnectConfig_VMessConfig ¶ added in v7.6.167
type ProxyConnectConfig_VMessConfig struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Security string `protobuf:"bytes,2,opt,name=security,proto3" json:"security,omitempty"` // contains filtered or unexported fields }
func (*ProxyConnectConfig_VMessConfig) Descriptor
deprecated
added in
v7.6.167
func (*ProxyConnectConfig_VMessConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_VMessConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_VMessConfig) GetSecurity ¶ added in v7.6.167
func (x *ProxyConnectConfig_VMessConfig) GetSecurity() string
func (*ProxyConnectConfig_VMessConfig) GetUuid ¶ added in v7.6.167
func (x *ProxyConnectConfig_VMessConfig) GetUuid() string
func (*ProxyConnectConfig_VMessConfig) ProtoMessage ¶ added in v7.6.167
func (*ProxyConnectConfig_VMessConfig) ProtoMessage()
func (*ProxyConnectConfig_VMessConfig) ProtoReflect ¶ added in v7.6.167
func (x *ProxyConnectConfig_VMessConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_VMessConfig) Reset ¶ added in v7.6.167
func (x *ProxyConnectConfig_VMessConfig) Reset()
func (*ProxyConnectConfig_VMessConfig) String ¶ added in v7.6.167
func (x *ProxyConnectConfig_VMessConfig) String() string
type ProxyConnectConfig_WATERConfig ¶ added in v7.6.146
type ProxyConnectConfig_WATERConfig struct { // deprecated: use wasm_available_at instead // // Deprecated: Marked as deprecated in apipb/types.proto. Wasm []byte `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"` Transport string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"` // wasm_available_at provide a list of URLs that can be used for fetching the WASM module // with different methods like a direct URL, a magnet link, etc. WasmAvailableAt []string `protobuf:"bytes,3,rep,name=wasm_available_at,json=wasmAvailableAt,proto3" json:"wasm_available_at,omitempty"` // download_timeout specifies the time the HTTP client should wait to retrieve the WASM binary DownloadTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=download_timeout,json=downloadTimeout,proto3" json:"download_timeout,omitempty"` // contains filtered or unexported fields }
func (*ProxyConnectConfig_WATERConfig) Descriptor
deprecated
added in
v7.6.146
func (*ProxyConnectConfig_WATERConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConnectConfig_WATERConfig.ProtoReflect.Descriptor instead.
func (*ProxyConnectConfig_WATERConfig) GetDownloadTimeout ¶ added in v7.6.152
func (x *ProxyConnectConfig_WATERConfig) GetDownloadTimeout() *durationpb.Duration
func (*ProxyConnectConfig_WATERConfig) GetTransport ¶ added in v7.6.146
func (x *ProxyConnectConfig_WATERConfig) GetTransport() string
func (*ProxyConnectConfig_WATERConfig) GetWasm
deprecated
added in
v7.6.146
func (x *ProxyConnectConfig_WATERConfig) GetWasm() []byte
Deprecated: Marked as deprecated in apipb/types.proto.
func (*ProxyConnectConfig_WATERConfig) GetWasmAvailableAt ¶ added in v7.6.152
func (x *ProxyConnectConfig_WATERConfig) GetWasmAvailableAt() []string
func (*ProxyConnectConfig_WATERConfig) ProtoMessage ¶ added in v7.6.146
func (*ProxyConnectConfig_WATERConfig) ProtoMessage()
func (*ProxyConnectConfig_WATERConfig) ProtoReflect ¶ added in v7.6.146
func (x *ProxyConnectConfig_WATERConfig) ProtoReflect() protoreflect.Message
func (*ProxyConnectConfig_WATERConfig) Reset ¶ added in v7.6.146
func (x *ProxyConnectConfig_WATERConfig) Reset()
func (*ProxyConnectConfig_WATERConfig) String ¶ added in v7.6.146
func (x *ProxyConnectConfig_WATERConfig) String() string