Android - Add missing command line options
After looking at legacy/trac#30284 (moved) and talking with sisbell, I noticed there are some more differences between how tor is launched on Linux and how it is launched on Android. Tor isn't given geoip DBs, but that's not a problem right now (we can add that later). More concerning is that on desktop we set
KeepAliveIsolateSOCKSAuth. The first two are a distinguisher at the exit node (in theory, there shouldn't be many ways an exit node can identify different Tor Browser platforms if the connection between the exit node and destination server uses TLS). We should set these tor config options for both consistency but also because not being consistent is bad for anonymity.
Where Tor Launcher sets the args. I currently see this on Linux when running Tor Browser:
/home/user/tor-browser_en-US/Browser/TorBrowser/Tor/tor --defaults-torrc /home/user/tor-browser_en-US/Browser/TorBrowser/Data/Tor/torrc-defaults -f /home/user/tor-browser_en-US/Browser/TorBrowser/Data/Tor/torrc DataDirectory /home/user/tor-browser_en-US/Browser/TorBrowser/Data/Tor GeoIPFile /home/user/tor-browser_en-US/Browser/TorBrowser/Data/Tor/geoip GeoIPv6File /home/user/tor-browser_en-US/Browser/TorBrowser/Data/Tor/geoip6 HashedControlPassword 16:$hash 127.0.0.1:9150 IPv6Traffic PreferIPv6 KeepAliveIsolateSOCKSAuth __OwningControllerProcess 666