[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] introduce some customization on the tbb
- To: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [tor-dev] introduce some customization on the tbb
- From: Richard Pospesel <richard@xxxxxxxxxxxxxx>
- Date: Wed, 13 Nov 2019 10:03:07 -0800
- Autocrypt: addr=richard@xxxxxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQINBFnAGv8BEACeqywkP5Bb917JJKOEMObLpvHKIHXhbNTA1K0lh6bvX/prYaCnxtLpR9OO W1s1FUvox0BSh7um15dj3gMrkHUmMtIOlKd+K8kgjI6z145wjZ+Xt/pB92i3ROUvUJRz3ION dzMQmGnsuPDDmz+1VnrHyKE1dr2qXYyejTPeJAJM2eO78dlWoUhi2am17+Hna6HjRMktFFb1 NSEr//I0NR1BbsXOVvn0Pt3dYyHcWiBt2k4ew7sfgFMVtNW5qvfyYB78hGt6xFNp0C8acrQT 0k0unlo8vr7Vdh1oOc6b/tsV0ebjUqhU4LIvHKUzsY5K1kaqjx/lmMCRvF9BX4gGfd0LqLuC UOwsNywP74n0ZG3tPx+tLEZxKt1Yd4pEs9hXKGLtmch7PATnAlW73s8Acb7il7qQQsGHtACb f/BPjXQS2yz8O5+KLhQ+UNTzI1w9N9fVpAyMfbFHdl4yTmZr5bjet23jOpfFRxOIGFbbyNE8 q010u+iN28t7pNS17VcqUxq4u+ED1txB+HciTA1RfNHCI/2Y+r8GOPT+1uk6TMkNEr0FyjJU yHJDyitzwHubq46KnKdAAG1Q0/+e99CmGCGQXrj3YvoB4+EhGQjeuTvGBzoVNSIYFHBsGHxi Yvz4BMksbg/eoSY6PBPnI6corSO0a8RbSvqUY5KLXdUkWbJxjQARAQABtClSaWNoYXJkIFBv c3Blc2VsIDxyaWNoYXJkQHRvcnByb2plY3Qub3JnPokCPQQTAQgAJwUCWcGl/gIbIwUJCWYB gAULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRDeRzYDY/NLL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roqf4vXNuCvx7mP3TFO4saYe2h8egeim8v9D m40qr58FaPYl8e4z7EFpW07mvUKMXe9yshEBdOcWIk4MbLPij2yk0rfIXjFHCaJnezL5Ayad gD1mtkY/r1WQm6Z8hMDulbCmQ4913AUg9efXeX5LjMrou1SptPNooD1z8bQtciXMHCV7AjSU Hnm+dPdYA1n7HIPNWTZ7KLz9+26vLtZEalBm8cjMJddWEiH1nncVggC8EKuxvRa9mOrYJ2qZ eXmlGK7LLEDxc5j/fCUv64naduIo25IxCpf8CdjnOx5SNYCKmNT9Jt66hjt8s67KpS0AEQEA AYkCJQQYAQgADwUCWcAa/wIbDAUJCWYBgAAKCRDeRzYDY/NLLOuJD/9nfyJebL4WXazUeoit 38Dsb28BXSpbJBVBTwjETU9my1dlET51U0Yf/N3AWssHxMjyKsbPW0P0aftBy64i1iqBwjs1 plFGzArlaIwYrYkF+YulbWscLjQGMr9gwoSAAicIq0LbJITy2Fr/xhv0JccwPiU1WXy4k4wS Fu93fqL5xwTHgkZvw/K86ujoczQksxtdDCU2GIvQdKHAMBkSsW9KhlhBUNXM99BPibSMkKmF 6TuiKLoZ23oT5W4IIcyi/0U0Le/yGWFXJtyBGFT3Ul6ulDehjzd8ixXyWW/5bngPx7E/EUGq pp6iarNsj02FJeSIMy8KM32ZmGpaBWIU62To0uW4INiNihn6FFz4O/GgPGG9iWot/+MpTIfO 76TxIQ/Gwza13XISH1jlBiXE9P9VMqfczggxz+YAVNbeHmdBpnjJRyVtSmEoD5am/zhD6qHw gcoEFIrIumY71CRpqGnQ+Ll7gUVvb3zPGhP4oQZqwkoUWaU/KU2Nut42u6hzxcHFhAPjgp1Y dzFQt/jpihRcNz6vn0UtmY6/i0h68ybIVHxbarndyI7uKnUqqetDqjNPjK9w3l6kjRn/Nilg bwzAEYjMx37I848+vEtc97VpiXKGKYNLosLec6HWntpdRac0toTunwLljHxvlrKu7r06rZgW FitEw4xp3JUlTbtWvw==
- Delivered-to: archiver@xxxxxxxx
- Delivery-date: Wed, 13 Nov 2019 13:03:40 -0500
- In-reply-to: <CACrtvOkjf5a2CJe98qkZZiVCXtrZxzT8LXjmpkbvsjFp=gqn2A@mail.gmail.com>
- List-archive: <http://lists.torproject.org/pipermail/tor-dev/>
- List-help: <mailto:tor-dev-request@lists.torproject.org?subject=help>
- List-id: discussion regarding Tor development <tor-dev.lists.torproject.org>
- List-post: <mailto:tor-dev@lists.torproject.org>
- List-subscribe: <https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=subscribe>
- List-unsubscribe: <https://lists.torproject.org/cgi-bin/mailman/options/tor-dev>, <mailto:tor-dev-request@lists.torproject.org?subject=unsubscribe>
- Openpgp: preference=signencrypt
- References: <CACrtvOkjf5a2CJe98qkZZiVCXtrZxzT8LXjmpkbvsjFp=gqn2A@mail.gmail.com>
- Reply-to: tor-dev@xxxxxxxxxxxxxxxxxxxx
- Sender: "tor-dev" <tor-dev-bounces@xxxxxxxxxxxxxxxxxxxx>
Hey Sarpedon,
The tor-browser-build project (
https://gitweb.torproject.org/builders/tor-browser-build.git/ ) can be
used to build tor-browser for all the various environments, and you can
updated the /projects/firefox/config file to point to your own git repo
and commit for development. Unfortunately this is not particularly fast,
but it's really the only way to go if you need builds for platforms
other than Linux.
Alternatively, you can just build tor-browser (
https://gitweb.torproject.org/tor-browser.git/ ), and copy the relevant
bits over an existing tor-browser install. This is the workflow I use
during development on Linux and is generally pretty straight forward to
use once you have scripts setup to do the deploying.
It's theoretically possible to get this sort of incremental build setup
working for other platforms (ie building windows bins in a linux dev
environment), but it's a pain and would require delving into the
tor-browser-build firefox build and config scripts. I've done it before
for our older windows build target (before we switched to clang and
friends) and can give you some tips on how to do that if necessary.
The Tor Browser Hacking Guide should be a good resource as well, though
it is a living document so might be out of date:
https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/Hacking
If you're interested in updating/improving/adding to the
about:preferences#tor pane, than you can start by looking at this commit
which added the page:
https://gitweb.torproject.org/tor-browser.git/commit/?h=tor-browser-68.2.0esr-9.5-1&id=bea7e61c120f207e7e1a65041b44dc1998e3656a
In general, the relevant things there are in:
/browser/components/torpreferences/*
/browser/modules/TorProtocolService.jsm
/browser/modules/TorStrings.jsm
What sort of improvements are you looking to add? If you're interested
in submitting a patch, you should open a ticket that tracks whatever
feature you're looking to add. There we can give you early code and
design/UX feedback to improve the odds of us accepting your patch :)
best,
-Richard
On 11/9/19 4:04 PM, sarpedon montecarlo wrote:
> Hello to the community!
> my first question is that is there a solution for rapid development of
> tbb? i was wondering that each time a contributor wants to change
> something in the tbb or add extra functionality, they have to go through
> the build process which i just guess would be very time consuming. i was
> wondering that is there any containerized environment for this? any
> docker ecosystem available or other solutions that might help?
> my second question is about the changes that i want to implement. i am
> interested into the graphical settings page about bridges and tor
> process that currently tbb is exposing to the end users. if we want to
> add more functionality into this settings page, where should we start to
> change? and is there any possibility that we may have some control over
> the underlying tor process as well, for instance controlling it's
> launching or it's torrc configuration; because as i see, there must be a
> link between the graphical interface of tbb and the underlying tor
> process so that is the way we can control bridges for instance. similar
> to this i was planning to add more graphical options to the interface
> for controlling other configuration aspects of the tor process through
> it's torrc or other workarounds.
> in the past i have achieved this by writing a browser extension that
> benefits from native messaging for communication to the tor process; but
> this is not really performance friendly and an intuitive experience for
> the end users.i am not satisfied with the result. so i was interested on
> mirroring these functionalities inside tbb.
> i really appreciate your insights and thoughts on the matter,
> have a great day,
> Sarpedon.
>
> _______________________________________________
> tor-dev mailing list
> tor-dev@xxxxxxxxxxxxxxxxxxxx
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
>
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev