[Freedombox-discuss] Firewall for FreedomBox
sunil at medhas.org
Sun Apr 27 16:32:42 UTC 2014
On Sunday 27 April 2014 09:29 PM, James Valleroy wrote:
> Is it possible to get the port from /var/lib/tor/state (as we do in
> the testsuite), and use that to configure the firewall?
> Otherwise, if it's really necessary for us to pick a random port
> ourselves, we should probably do that in first-run instead of setup.
I suppose we could pick up the port from /var/lib/tor/state and it would
be better than picking one ourselves. We are already setting the basic
firewall configuration in first-run. Further, first-run runs after tor
is run. If the information is in tor/state is available immediately
after tor runs, it would be safe to pick the port number from there.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Freedombox-discuss