This is the policy we need to provoke certificate errors. We'll divert from, say, `8.8.8.8:443/udp` to, say, `1.1.1.1:443/udp`. We'll do something similar for `443/tcp`. This will cause certificate validation errors. With this change, we have now implemented the simple design described by https://github.com/ooni/probe/issues/1803#issuecomment-957323297.
Directory github.com/ooni/probe-cli/internal
This directory contains private Go packages.
As a reminder, you can always check the Go documentation of a package by using
go doc -all ./internal/$package
where $package
is the name of the package.
Some notable packages: