Versions in this module Expand all Collapse all v1 v1.0.1 Dec 12, 2024 Changes in this version + const SCOPE_ANY + var ErrPassthroughActive = std_errors.New("passthrough") + func WrapDialerWithHTTPTransformer(dialer common.Dialer, params *HTTPTransformerParameters) common.Dialer + type HTTPNormalizer struct + ValidateMeekCookieResult []byte + func NewHTTPNormalizer(conn net.Conn) *HTTPNormalizer + func (t *HTTPNormalizer) Close() error + func (t *HTTPNormalizer) GetMetrics() common.LogFields + func (t *HTTPNormalizer) Read(buffer []byte) (int, error) + func (t *HTTPNormalizer) SetDeadline(tt time.Time) error + func (t *HTTPNormalizer) SetReadDeadline(tt time.Time) error + func (t *HTTPNormalizer) SetWriteDeadline(tt time.Time) error + func (t *HTTPNormalizer) Write(b []byte) (n int, err error) + type HTTPNormalizerListener struct + HeaderWriteOrder []string + MaxReqLineAndHeadersSize int + PassthroughAddress string + PassthroughDialer func(network, address string) (net.Conn, error) + PassthroughLogPassthrough func(clientIP string, tunnelError error, logFields map[string]interface{}) + ProhibitedHeaders []string + ValidateMeekCookie func(clientIP string, rawCookies []byte) ([]byte, error) + func WrapListenerWithHTTPNormalizer(listener net.Listener) *HTTPNormalizerListener + func (t *HTTPNormalizerListener) Accept() (net.Conn, error) + type HTTPTransformer struct + func (t *HTTPTransformer) GetMetrics() common.LogFields + func (t *HTTPTransformer) Write(b []byte) (int, error) + type HTTPTransformerParameters struct + ProtocolTransformName string + ProtocolTransformSeed *prng.Seed + ProtocolTransformSpec Spec + type ObfuscatorSeedTransformerParameters struct + TransformName string + TransformSeed *prng.Seed + TransformSpec Spec + func (t *ObfuscatorSeedTransformerParameters) Apply(b []byte) error + type ScopedSpecNames map[string][]string + func (scopedSpecs ScopedSpecNames) Validate(specs Specs) error + type Spec [][2]string + func (spec Spec) Apply(seed *prng.Seed, input []byte) ([]byte, error) + func (spec Spec) ApplyPrefix(seed *prng.Seed, minLength int) ([]byte, int, error) + func (spec Spec) ApplyString(seed *prng.Seed, input string) (string, error) + type Specs map[string]Spec + func (specs Specs) Select(scope string, scopedSpecs ScopedSpecNames) (string, Spec) + func (specs Specs) Validate(prefixMode bool) error