Documentation
¶
Overview ¶
Package probe runs network measurements and knows nothing about the central.
Index ¶
Constants ¶
View Source
const DenyNone = "none"
DenyNone is the --deny value that denies nothing.
Variables ¶
View Source
var DefaultDeny = []string{
"127.0.0.0/8", "::1/128",
"169.254.0.0/16", "fe80::/10",
"0.0.0.0/8", "::/128",
"224.0.0.0/4", "ff00::/8",
"100.100.100.200/32", "192.0.0.192/32", "168.63.129.16/32", "fd00:ec2::254/128",
}
DefaultDeny are the ranges an edge never connects to unless told otherwise: loopback, link-local, unspecified, multicast and the metadata services of the clouds. Private ranges are allowed: probing an intranet is the point.
Functions ¶
This section is empty.
Types ¶
type Policy ¶ added in v1.1.0
type Policy struct {
// contains filtered or unexported fields
}
Policy lists the address ranges a probe must not connect to. The zero value denies nothing.
func DefaultPolicy ¶ added in v1.1.0
func DefaultPolicy() Policy
DefaultPolicy is the policy of DefaultDeny.
func ParsePolicy ¶ added in v1.1.0
ParsePolicy builds a policy from CIDR prefixes.
type Prober ¶
type Prober struct {
// contains filtered or unexported fields
}
Prober runs measurements. Every connection it opens goes through the policy.
Click to show internal directories.
Click to hide internal directories.