[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #12413 [Orbot]: Orbot doesn't use separate torrcs, and overrides & overwrites user-set torrcs



#12413: Orbot doesn't use separate torrcs, and overrides & overwrites user-set
torrcs
-------------------------+-------------------------------------------------
     Reporter:  isis     |      Owner:  n8fr8
         Type:           |     Status:  new
  enhancement            |  Milestone:
     Priority:  normal   |    Version:
    Component:  Orbot    |   Keywords:  orbot-14.0.3.1, orbot-14.0.4, wtf,
   Resolution:           |  software-engineering
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (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/org.torproject.android/app_bin/torrc.uservalues, 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12413#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs