Make tor-controlport-filter reusable
We want to modify "tor-controlport-filter" so that the listening port and paths to the control port socket and authentication cookie can be passed in as commandline arguments, overriding the defaults.
This would make it possible for other projects similar to Tails to reuse this control port filter.
The best way to do this seems to be using the "argparse" module that was introduced in Python 2.7. This will be possible when Tails is based on Wheezy, and that will happen soon enough that using the deprecated "optparse" module available in Python 2.6 is not worth the implementation effort.
Make tor-controlport-filter reusable.
I.e. make it possible to pass the listen port, and Tor control
cookie/socket paths as arguments.
#6 Updated by intrigeri over 4 years ago
Note that Whonix folks have forked this script and changed it quite a bit, see corresponding discussion about it (February or March, IIRC) on tails-dev@. Some of their changes indeed make the script more generic and reusable. Some others are very much disputable.
#11 Updated by intrigeri over 3 years ago
Whonix are working to add wildcard support to their control port filter implementation (https://github.com/Whonix/control-port-filter-python, https://www.whonix.org/wiki/Dev/Control_Port_Filter_Proxy):