Opened 11 months ago

Last modified 6 months ago

#29031 new defect

Tor Browser for Android (Alpha) does not accept Torrc Custom Config lines

Reported by: cypherpunks8 Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-mobile, ux-team
Cc: sysrqb Actual Points:
Parent ID: #30994 Points:
Reviewer: Sponsor:

Description

As of version 60.4.0, users of Tor Browser for Android (Alpha) can no longer use a custom Torrc. This is related to the fact that Tor Browser for Android (Alpha) no longer depends upon Orbot, which as of version 16.0.5-RC-2-tor-0.3.4.9 continues to support this feature faithfully.

Tor Browser for Android (Alpha) has a new startup screen that resembles Orbot. On this screen, there is a "hamburger" menu in the top right corner that has a dropdown menu containing an option "Settings" which, just like Orbot, contains an option called "Torrc Custom Config". However, unlike Orbot, lines entered herein are not copied to app_bin/torrc.custom and (presumably thus) have no effect.

TO REPLICATE

  1. Install both Orbot 16.0.5-RC-2-tor-0.3.4.9 and Tor Browser for Android (Alpha) 60.4.0 side by side.
  1. Start Orbot; from the hamburger menu choose Settings; then choose Torrc Custom Config. Enter some valid line (such as ControlPort 9051)).
  1. Open a terminal on your android device and run:
    # cat /data/data/org.torproject.android/app_bin/torrc.custom
    
  1. Verify that your custom line appeared successfully.
  1. Now start Tor Browser for Android (Alpha); from the hamburger menu choose Settings; then choose Torrc Custom Config. Enter some valid line (such as ControlPort 9151)).
  1. Open a terminal on your android device and run:
    # cat /data/data/org.torproject.torbrowser_alpha/app_bin/torrc.custom
    
  1. Verify that your custom line did NOT appear.

Child Tickets

Change History (4)

comment:1 Changed 11 months ago by gk

Cc: sysrqb added
Keywords: tbb-mobile added
Priority: HighMedium
Version: Tor: unspecified

comment:2 Changed 9 months ago by gk

Some more blog comments wanting to see an easy way to customize the own torrc file:

https://blog.torproject.org/comment/280473#comment-280473
https://blog.torproject.org/comment/280464#comment-280464

comment:3 Changed 9 months ago by sysrqb

Keywords: ux-team added

This is similar, but not exactly a duplicate of #28786. We'll need to think about the UI/UX for this, and how we can integrate it into the new configuration screens.

comment:4 Changed 6 months ago by sysrqb

Parent ID: #30994

We can think more about this, but providing an option for completely modifying the torrc file seems error prone. With that said, we can follow Orbot's lead and provide both a list of configurable pre-defined torrc options and then a "Torrc Custom Config" option.

See also duplicate #30336 (and comment 9 there).

Note: See TracTickets for help on using tickets.