masque – github.com/invisv-privacy/masque Index | Files | Directories

package masque

import "github.com/invisv-privacy/masque"

Package masque implements a client-side IETF MASQUE protocol stack.

Index

Constants

const (
	MAX_DISALLOWED_PORT_NUM = 11211
)

Variables

var MaxTLSDialTimeout time.Duration = time.Duration(2000 * time.Millisecond)

MaxTLSDialTimeout is the maximum time duration, in milliseconds, allowed for establishing a TLS connection to the proxy. This variable is set to 2000 milliseconds by default.

var MaxTLSTrials int = 10

MaxTLSTrials is the number of attempts made when establishing a TLS connection to a proxy.

Functions

func IsDisallowedPort

func IsDisallowedPort(dport uint16) bool

IsDisallowedPort returns true if the given destination port number is a value that will be rejected by Fastly.

Source Files

config.go

Directories

PathSynopsis
example
example/preproxy
example/relay-http-proxyrelay-http-proxy is a sample application that uses the INVISV IETF MASQUE stack.
http2
http3
internal
Version
v0.0.0-20240807000525-d8d7169c2ca2 (latest)
Published
Aug 7, 2024
Platform
linux/amd64
Imports
1 packages
Last checked
1 month ago

Tools for package owners.