5 votes

What programming languages are used to build Tor?

Tor itself is C. If you're curious about languages used in the wider ecosystem see... https://www.torproject.org/getinvolved/volunteer.html.en#Projects
user avatar
  • 691
5 votes
Accepted

What are Tor Node Selection Rules?

The rules for selecting nodes can be found in the path-spec. Specifically in §2.2 Path selection and constraints. A few points from the section: We do not choose the same router twice for the ...
user avatar
  • 3,720
3 votes
Accepted

implementation for Tor directory server?

To be a directory server, it is merely a configuration change in your TORRC. Anyone can be or advertise that you are a directory server but none of the clients would trust it. The source code for Tor ...
user avatar
  • 1,274
3 votes
Accepted

Does the Tor network accept clients or relays running customized source code?

Tor network sometimes rejects/avoids nodes that misbehave in some way, e.g. by sending invalid traffic or (in the case of exit nodes) modifying exit traffic, see the badRelays page on the wiki. ...
user avatar
  • 46
2 votes

How to implement the modified source code of Tor?

In general you do the following steps: Check the source code from Tor's git repository or from the download page. Apply your changes Compile the code (./configure && make) You can install the ...
user avatar
  • 8,643
2 votes

How to Remove/Disable/Always Accept HTML5 Canvas Image?

The above method does not work anymore. If you want to set to never allow for all sites, you need to go into about:config and look for privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts ...
user avatar
2 votes

How to Remove/Disable/Always Accept HTML5 Canvas Image?

WARNING: the following setting stores a history of your pages which might oppose your reason for using Tor. I haven't found a solution for all sites but here is one that at least remembers the option ...
user avatar
2 votes
Accepted

Tor source code brief explanation

Gitweb allows you to browse through the code. Especially the src/or directory has relevant source code. Some of the files contain a description what this file does: /** * \file directory.c * \...
user avatar
  • 8,643
2 votes

Using Tor in a c# application

You can use a third party .net socks library to add support for socks proxy in your code, there are several to choose from. There is a guide written here for c# https://tor.stackexchange.com/a/2131/...
user avatar
  • 1,863
2 votes
Accepted

Possible buffer overflow in compat_libevent.c?

The manpage for strlcpy() says: The strlcpy() function copies up to size - 1 characters from the NUL-terminated string src to dst, NUL-terminating the result. So the size in your example is 1024 ...
user avatar
  • 8,643
2 votes

Implementing the tor protocol, based on tor sources and a few clarifications

Step 7 is a TLS socket, not just raw TCP. "I created the onion hidden service, and i want to try make a http request to it", there are additional steps required for onion services which you'll know ...
user avatar
  • 10.8k
2 votes

Error installing Tor on my Mac

This is a linker error, meaning you're (probably) missing a library that's required for Tor to build properly. Undefined symbols for architecture x86_64: "_SSL_set_session_secret_cb", referenced from:...
user avatar
2 votes
Accepted

Clearing the state of rendezvous client provides privacy improvement?

Is there a risk the server can learn the connection between Alice and Bob without clearing the state of the rendezvous client? If so, then how much of this risk is? Yes. It could be possible for an ...
user avatar
  • 10.8k
1 vote

Where is noscript source code in Tor browser bundle

73a6fe31-595d-460b-a920-fcc0f8843232.xpi is the NoScript addon
user avatar
1 vote
Accepted

Clearing the client side DNS cache provides privacy improvement?

Clearing the client side DNS cache DOES NOT provide privacy improvement against hidden services. Clearing the client side DNS cache DOES provide privacy improvement against clearnet connections. ...
user avatar
  • 173
1 vote

Connect to Tor through socks in C#

It looks like the library offered by Mentalis.org was originally written for .NET v1.0 and v1.1. (.NET is currently at v4.6.) It also looks like it hasn't been updated since 2007. This could mean it's ...
user avatar
1 vote

Updating api for third-party developers

For Tor Browser there are various ways to check what the latest Tor Browser version is: The Firefox updater uses this XML file to determine if there is an update available (note that the URL is ...
user avatar
  • 10.8k
1 vote

Make Tor become multiple connection between OR to OR

You can't change this locally for anything but your connection to your guard, to implement this you'd need to run your own onion routing network all of them running the patched version of Tor. You'd ...
user avatar
1 vote

Compile Tor Browser on Raspberry Pi 2

Tor Browser does not work on ARM as of this time. https://trac.torproject.org/projects/tor/ticket/12631 TOR ticket tracker for porting to ARM hasn't had much traction at all. I wouldn't expect this ...
user avatar
1 vote

Compile Tor Browser on Raspberry Pi 2

Speaking from experience, this is not currently possible. During the compiling process, the make script will download some binaries that are only built for X86 and not for ARM and therefore the ...
user avatar
  • 2,121
1 vote

RELAY_SENDME cell structure

Is this what you are looking for? https://gitweb.torproject.org/torspec.git/blob/HEAD:/tor-spec.txt
user avatar
  • 1,182
1 vote

Tor source code brief explanation

Yes, this way, for example: (sorry, do not know how to hide it) [tor-2ee56e4/contrib/id_to_fp.c] Helper for directory authority ops. When somebody sends us a private key, this ...
user avatar
  • 161
1 vote

Route c++ through Tor using socks

https://tor.stackexchange.com/a/2131/743 this is a description of what I did when I implemented (using c# instead of c++ though, but it should be the same) here is a copy paste of the text Tor ...
user avatar
  • 490
1 vote
Accepted

How to modify Tor source code in Shadow

The method is the same as modifying the Tor source code without using Shadow: simply modify the .torrc files. An explanation of this is available: Editing .torrc in Tor Browser Bundle
user avatar
1 vote

What programming languages are used to build Tor?

The core Tor library is written mostly in C. https://www.ohloh.net/p/tor You can check out the source code yourself here: https://gitweb.torproject.org/tor.git
user avatar
  • 21
1 vote

Tor security and code upgrade

Tor does a variety of things to make sure that the source code is safe. First of all Tor is Free Software. That means anyone can review the code and contribute to it. While anyone can contribute it ...
user avatar
  • 8,643
1 vote

Rendezvous Point (RP) & Introduction Point (IP), code question

Just a quick answer without diving into the code: A Rendezvous Point will not be able to notice which Relay / Client is using it. It will only get the rendezvous cookie and, as always, knows the last ...
user avatar
  • 134
1 vote

How can I install Tor from the source code in the Git repository?

Git source is really easy stuff for install tor. But I want to tell the easiest alternative way for installing tor from official tor source code. This following commands for Centos. If you're using ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible