How to build a Tor browser bundle with a modified version of Tor?

I've some changes on Tor source code that I'd like to try for research reasons.

2 Answers 2


You may look at following information from Tor:

Building the bundle

We use Gitian to ensure that byte-for-byte reproducible packages can be built from our source repository by anyone. To re-build the bundle, check out the Tor Browser builder repository and see the README.build for instructions. You may also find the Tor Browser Hacking intro document useful for learning about the build system and our development processes.

For details you may click the following link: https://www.torproject.org/projects/torbrowser-details.html.en#build

  • This link gives details about the building process in general. I'm looking for a more clear steps that helps me to build the bundle with a modified Tor source code.
    – Flora9
    Sep 15, 2014 at 22:39
  • @Flora9, Dear, You may look at following Q&A, it may or may not help you, but worth looking at. tor.stackexchange.com/questions/75/…
    – Roya
    Sep 25, 2014 at 2:05

Well to start, Tor is simple a modified version of Firefox. First I would go about obtaining the Tor control plugin that the tor browser uses. Then I would download the Vanilla firefox and add the plugin. Lastly, I would get the tor server binaries (they are under ../Tor/ when you dl the browser).

Set Firefox settings to use a proxy at Tor uses a socks5 protocol to communicate with your browser if I am not mistaken.

  • This could work before the release of Tor Browser Bundle where you have more than the browser and the stand alone Tor.
    – Flora9
    Sep 15, 2014 at 22:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .