compat

package
v0.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2022 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// SystemIntegrationCheckDstIP is the IP address to send a packet to for the
	// system integration test.
	SystemIntegrationCheckDstIP = net.IPv4(127, 65, 67, 75)
	// SystemIntegrationCheckProtocol is the IP protocol to use for the system
	// integration test.
	SystemIntegrationCheckProtocol = packet.AnyHostInternalProtocol61

	// DNSCheckInternalDomainScope is the domain scope to use for dns checks.
	DNSCheckInternalDomainScope = ".self-check." + resolver.InternalSpecialUseDomain
)

Functions

func ReportMultiPeerUDPTunnelIssue

func ReportMultiPeerUDPTunnelIssue(p *process.Process)

ReportMultiPeerUDPTunnelIssue reports a multi-peer UDP tunnel for the given process.

func ReportSecureDNSBypassIssue

func ReportSecureDNSBypassIssue(p *process.Process)

ReportSecureDNSBypassIssue reports a DNS bypassing issue for the given process.

func SelfCheckIsFailing

func SelfCheckIsFailing() bool

SelfCheckIsFailing returns whether the self check is currently failing. This returns true after the first check fails, and does not wait for the failing threshold to be met.

func SubmitDNSCheckDomain

func SubmitDNSCheckDomain(subdomain string) (respondWith net.IP)

SubmitDNSCheckDomain submits a subdomain for the dns check.

func SubmitSystemIntegrationCheckPacket

func SubmitSystemIntegrationCheckPacket(p packet.Packet)

SubmitSystemIntegrationCheckPacket submit a packet for the system integrity check.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL