# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
DecodeServerEntry extracts a server entry from the encoding used by remote server lists and Psiphon server handshake requests.
DecodeServerEntryFields extracts an encoded server entry into a ServerEntryFields type, much like DecodeServerEntry.
DecodeServerEntryList extracts server entries from the list encoding used by remote server lists and Psiphon server handshake requests.
No description provided by the author
No description provided by the author
No description provided by the author
EncodeServerEntry returns a string containing the encoding of a ServerEntry following Psiphon conventions.
EncodeServerEntryFields returns a string containing the encoding of ServerEntryFields following Psiphon conventions.
GenerateServerEntryTag creates a server entry tag value that is cryptographically derived from the IP address and web server secret in a way that is difficult to reverse the IP address value from the tag or compute the tag without having the web server secret, a 256-bit random value which is unique per server, in addition to the IP address.
GetCapability returns the server capability corresponding to the tunnel protocol.
GetTacticsCapability returns the server tactics capability corresponding to the tunnel protocol.
No description provided by the author
NewServerEntrySignatureKeyPair creates an ed25519 key pair for use in server entry signing and verification.
NewStreamingServerEntryDecoder creates a new StreamingServerEntryDecoder.
No description provided by the author
No description provided by the author
No description provided by the author
SetFrontedMeekHTTPDialPortNumber sets the FRONTED-MEEK-OSSH dial port number, which defaults to 443.
TagToDiagnosticID returns a prefix of the server entry tag that should be sufficient to uniquely identify servers in diagnostics, while also being more human readable than emitting the full tag.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NOTE: breaks the naming convention of dropping the OSSH suffix because UsesTLS is ambiguous by itself as there are other protocols which use a TLS layer, e.g.
ValidateServerEntryFields checks for malformed server entries.
# Constants
No description provided by the author
No description provided by the author
Reject reason codes are returned in SSH open channel responses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PSIPHON_API_CLIENT_VERIFICATION_REQUEST_NAME may still be used by older Android clients.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
DisabledTunnelProtocols are protocols which are still integrated, but which cannot be enabled in tactics and cannot be selected by clients.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
CustomTLSProfile specifies custom TLS profile.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerEntry represents a Psiphon server.
No description provided by the author
No description provided by the author
StreamingServerEntryDecoder performs the DecodeServerEntryList operation, loading only one server entry into memory at a time.
UTLSExtension specifies one of the several utls.TLSExtension concrete implementations.
UTLSSpec specifies a utls.ClientHelloSpec.
# Interfaces
ConditionallyEnabledComponents defines an interface which can be queried to determine which conditionally compiled protocol components are present.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Redefined uTLS extensions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerEntryFields is an alternate representation of ServerEntry which enables future compatibility when unmarshaling and persisting new server entries which may contain new, unrecognized fields not in the ServerEntry type for a particular client version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TunnelProtocolPortLists is a map from tunnel protocol names (or "All") to a list of port number ranges.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author