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. -- Sunil
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Freedombox-discuss mailing list Freedombox-discuss@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss