Add support for specifying Tor address and port from the command line
This set of patches first refactors the Torsocks code to allow the user to specify the address and port of the Tor instance they wish to connect to and thereafter adds a --address
(-a
) and --port
(-P
- since -p
was already used as shorthand for --pass
) option to the torsocks
script.
The 0001
patch is minor fix that was found whilst reading the source code before working on the feature.