[tbb-bugs] #30551 [Applications/Tor Browser]: Android - Use different port numbers

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 21 16:33:16 UTC 2019


#30551: Android - Use different port numbers
--------------------------------------+--------------------------
 Reporter:  sysrqb                    |          Owner:  tbb-team
     Type:  defect                    |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-mobile                |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by sisbell):

 These values are the ones defined by Orbot but we can override them for
 torbrowser.

 We can extend AndroidTorSettings (say BrowserTorSettings) and override
 transPort(), getHttpTunnelPort(), dnsPort() to all return null. This will
 remove them from the generated torrc file so there will not be any
 conflict.

 Then in TorService.onCreate(), we detect if the package name is torbrowser
 and if so use BrowserTorSettings rather than AndroidSettings.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30551#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list