Documentation ¶
Overview ¶
Package tlsproxy contains a TLS transparent proxy
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CensoringProxy ¶
type CensoringProxy struct {
// contains filtered or unexported fields
}
CensoringProxy is a censoring TLS proxy
func NewCensoringProxy ¶
func NewCensoringProxy( keywords []string, uncensored httptransport.Dialer, ) *CensoringProxy
NewCensoringProxy creates a new CensoringProxy instance using the specified list of keywords to censor. keywords is the list of keywords that trigger censorship if any of them appears in the SNII record of a ClientHello. dnsNetwork and dnsAddress are settings to configure the upstream, non censored DNS.
Click to show internal directories.
Click to hide internal directories.