Unverified Commit 8b3ab260 authored by Philipp Winter's avatar Philipp Winter
Browse files

Test a handful of guard and exit relays.

parent a23c0219
......@@ -41,6 +41,15 @@ func testDirAuths() {
}
}
func testRelays() {
l.Println("Testing relays.")
for _, addrTuple := range relays {
r := IsTCPPortReachable(addrTuple)
l.Print(r.String())
}
}
func main() {
log.Println("Starting analysis.")
......@@ -63,6 +72,7 @@ func main() {
testDefaultBridges()
testWebsites()
testDirAuths()
testRelays()
if _, err := f.WriteString(buf.String()); err != nil {
os.Remove(f.Name())
......
......@@ -42,6 +42,17 @@ var dirAuths = []string{
"204.13.164.118:80", // bastet
}
// Guard and exit relays. See
// <https://nusenu.github.io/OrNetStats/> to pick some.
var relays = []string{
"193.11.166.196:443", // Karlstad1 (Guard)
"81.7.18.7:9001", // Freebird32 (Guard)
"91.143.80.147:995", // Ichotolot63 (Guard)
"162.247.74.7:443", // CalyxInstitute01 (Exit)
"62.102.148.68:443", // weizenbaum (Exit)
"185.220.100.253:9000", // F3Netze (Exit)
}
var domains = map[string]map[string]bool{
"www.torproject.org": map[string]bool{
"116.202.120.166": true,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment