Opened 6 years ago

Last modified 21 months ago

#12413 new enhancement

Orbot doesn't use separate torrcs, and overrides & overwrites user-set torrcs

Reported by: isis Owned by: n8fr8
Priority: Medium Milestone:
Component: Applications/Orbot Version:
Severity: Normal Keywords: orbot-, orbot-14.0.4, software-engineering
Cc: isis, mikeperry, n8fr8 Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


You can use multiple torrc files simultaneously. RTFM

Child Tickets

Change History (4)

comment:1 Changed 6 years ago by n8fr8

Type: defectenhancement

You can add custom torrc entries in Orbot settings.

Otherwise how would you propose allowing the user to specify their own torrc file in a safe way?

comment:2 Changed 6 years ago by mikeperry

Just so we have a record of this in the right place: you can specify one torrc with the --defaults-torrc argument to tor, and a second torrc with -f. So you would launch Tor with something like:

tor --defaults-torrc torrc.defaults -f torrc.uservalues

Then, your UI would append the values that the user enters into just /data/data/, and those values would automatically override anything you specified in torrc.defaults without any additional logic in Orbot.

Otherwise, with the way you are doing it now in a single torrc, tor will complain when the user tries to specify options that you have already specified, and for some options, tor will refuse to start.

comment:3 Changed 3 years ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:4 Changed 21 months ago by nickm

Keywords: wtf removed
Note: See TracTickets for help on using tickets.