alphasoc/flightsim

New module: tor

chrisforce1 opened this issue · 2 comments

This will require some research and integration. We'll need to have flightsim set up a Tor circuit.

Output would look something like this:

Time      Module   Description
--------------------------------------------------------------------------------
11:26:01  tor      Starting
11:26:01  tor      Establishing Tor circuit
11:26:04  tor      Success! Tor use is permitted in this environment
11:26:05  tor      Finished

And if the test fails:

Time      Module   Description
--------------------------------------------------------------------------------
11:26:01  tor      Starting
11:26:01  tor      Establishing Tor circuit
11:26:04  tor      Test failed (unable to establish Tor circuit)
11:26:05  tor      Finished
tg commented

This should be easily achievable using https://github.com/cretz/bine, but would require a tor binary to be accessible. In theory we could embed one into a binary, but it would inflate the size and could be problematic.

I guess we could require the binary to be present, which should be easily achievable in many OS's, but could also provide a Docker image (etc) of flightsim with all the embedded dependencies.

This should be easily achievable using https://github.com/cretz/bine, but would require a tor binary to be accessible. In theory we could embed one into a binary, but it would inflate the size and could be problematic.

I guess we could require the binary to be present, which should be easily achievable in many OS's, but could also provide a Docker image (etc) of flightsim with all the embedded dependencies.

Works for me