ooni-probe-cli/internal/engine/tunnel
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Simone Basso a9b3a3b3a5
fix(tunnel): pass /absolute/path/to/tor to cretz/bine (#323)
* fix(tunnel): pass /absolute/path/to/tor to cretz/bine

It seems cretz/bine is not aware of https://blog.golang.org/path-security
for now. I am planning to send over a diff for that later today.

In the meanwhile, do the right thing here, and make sure that we obtain
the absolute path to the tor binary before we continue.

This work is part of https://github.com/ooni/probe-engine/issues/283.

* fix tests when tor is not installed
2021-05-04 08:14:25 +02:00
..
testdata feat(tunnel): introduce persistent tunnel state dir (#294) 2021-04-05 11:27:41 +02:00
config.go fix(tunnel): pass /absolute/path/to/tor to cretz/bine (#323) 2021-05-04 08:14:25 +02:00
config_test.go fix(tunnel): pass /absolute/path/to/tor to cretz/bine (#323) 2021-05-04 08:14:25 +02:00
fake.go urlgetter: fix tunnel test (#299) 2021-04-05 18:25:43 +02:00
fake_integration_test.go feat(tunnel): implement the fake tunnel (#298) 2021-04-05 17:41:15 +02:00
fake_test.go urlgetter: fix tunnel test (#299) 2021-04-05 18:25:43 +02:00
psiphon.go refactor(tunnel): remove nil tunnels hack (#296) 2021-04-05 16:08:16 +02:00
psiphon_integration_test.go feat(tunnel): improve the test suite (#297) 2021-04-05 16:38:25 +02:00
psiphon_test.go feat(tunnel): improve the test suite (#297) 2021-04-05 16:38:25 +02:00
tor.go fix(tunnel): pass /absolute/path/to/tor to cretz/bine (#323) 2021-05-04 08:14:25 +02:00
tor_integration_test.go fix(tunnel): pass /absolute/path/to/tor to cretz/bine (#323) 2021-05-04 08:14:25 +02:00
tor_test.go fix(tunnel): pass /absolute/path/to/tor to cretz/bine (#323) 2021-05-04 08:14:25 +02:00
tunnel.go feat(tunnel): implement the fake tunnel (#298) 2021-04-05 17:41:15 +02:00
tunnel_test.go feat(tunnel): improve the test suite (#297) 2021-04-05 16:38:25 +02:00