Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2821 closed enhancement (implemented)

Give Vidalia a bootstrap option for torrc

Reported by: erinn Owned by: chiiph
Priority: Medium Milestone:
Component: Archived/Vidalia Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Currently, unless a torrc is specified with the appropriate options, Vidalia is unable to launch automatically as a bridge even if vidalia.conf is configured appropriately.

This is a problem for creating bridge bundles on OS X because OS X looks for the torrc in ~/Library/Vidalia, which is a directory the Vidalia Bundle does not write to, since it's not an installer. Once launched, Vidalia remains unchecked as a bridge, but if you check 'help censored users reach the internet', all of the pre-filled bridge information is there.

It is possible to specify a different DataDirectory for Vidalia in its vidalia.conf, and one could theoretically point that to any location on the filesystem with the path to the correct torrc, but then Tor will try to write information there, which violates the OS X filesystem hierarchy. (I think.)

One idea is to make it possible for Vidalia to read a torrc and then write it to the correct directory, while preserving the old torrc the way it currently does. Tomás's proposal is to create Bootstrap=true and BootstrapFrom=/path/to/dir options for vidalia.conf which would allow us to specify that Vidalia should be bootstrapped with a diff
erent torrc, and will prevent it from writing to system paths that it should not write to.

Child Tickets

Change History (3)

comment:1 Changed 8 years ago by chiiph

Status: newneeds_review

A possible implementation of this bootstrap workflow is in my branch bug2821_bootstrap.

Here's the commitdiff:
https://gitweb.torproject.org/chiiph/vidalia.git/commitdiff/4c6c98407173d3823613ec662b026f6bfc8ea866

comment:2 Changed 8 years ago by chiiph

Resolution: implemented
Status: needs_reviewclosed

comment:3 Changed 8 years ago by chiiph

This will be first on 0.3.0-alpha, and later on 0.2.13.

Note: See TracTickets for help on using tickets.