Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableDomainFronting ¶ added in v2.2.2
func EnableDomainFronting(ok bool)
EnableDomainFronting initialize the matcher functions to used on routers. InsecureSNI defines if the domain fronting is allowed.
func ParseDomains ¶
ParseDomains extract domains from rule.
func ParseHostSNI ¶
ParseHostSNI extracts the HostSNIs declared in a rule. This is a first naive implementation used in TCP routing.
Types ¶
Click to show internal directories.
Click to hide internal directories.