Questions tagged [source-code]

Question about the source for Tor related software.

Filter by
Sorted by
Tagged with
19 votes
3 answers
17k views

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

It is sometimes desirable to compile Tor from source, and perhaps run an unreleased version (e.g., to test the latest changes, use new features unavailable in the latest release, etc.). What is the ...
mrphs's user avatar
  • 2,754
13 votes
2 answers
666 views

Are there trustworthy third-party audits of the Tor source code?

Was the Tor source code trustworthily audited by a third party to check if it does not contain a back-door? Are such audit results freely available?
pabouk - Ukraine stay strong's user avatar
7 votes
2 answers
299 views

Why does hard coded node 'Faravahar' have a different geolocation (USA) than registrar (Mauritius)?

I was editing an IT Security stack exchange question to add geolocation information to a Tor question and I noticed that one of the 10 hard coded directory authorities is ambiguous about its location: ...
LateralFractal's user avatar
7 votes
1 answer
231 views

What is the use of the hardcoded server entries in the Tor source code?

I found there are 10 hardcoded entries in the Tor source code. I think these maybe the servers from which tor clients retrieve the list of relays but I need confirmation. Google doesn't turn up ...
aste123's user avatar
  • 173
7 votes
2 answers
565 views

What platforms does Tor work on?

I'm looking for a list of the operating systems/architectures Tor runs on while being supported by the Tor Project, and if it can be compiled on other system not directly supported by the Tor Project. ...
bastik's user avatar
  • 2,624
7 votes
2 answers
2k views

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

# grep -n onion_address src/or/rendservice.c 567: oc->rend_data->onion_address); 1373: strlcpy(launched->rend_data->onion_address, service->service_id, 1374: ...
strand's user avatar
  • 141
5 votes
1 answer
4k views

Compiling Tor on Windows, what is needed?

The current stable version of Tor, 0.2.3.25 works well on Win98/ME/2000. The present 0.2.4 versions require XP or newer. I'd like to compile the 0.2.4 versions to run on Win98 through Win 2000. What ...
Herbalist's user avatar
  • 465
5 votes
1 answer
152 views

Does The Onion Router utilize parallelism?

Tor is the subject of research I am doing at the moment and I am pretty sure it does use parallelism however I am having trouble figuring out where and how. I have not found much info on this subject. ...
Sean Blahovici's user avatar
4 votes
1 answer
2k views

What are Tor Node Selection Rules?

What are the rules by which Tor Proxies select entry, exit, and middle nodes from the list of Tor nodes? Where is this implemented in the source code?
Kinnard Hockenhull's user avatar
4 votes
1 answer
330 views

Why does orbot's source code contain binary files for iptables?

According to a ticket in your bug tracker, the source code for Orbot contains binary files for iptables. To me, this sounds like Orbot is built off of some closed-source code. How then could this ...
Cory's user avatar
  • 41
4 votes
2 answers
2k views

Tor source code brief explanation

Is there any way I can see what each file does in Tor source code? A simple file with a list for example?I do not want to read and surf through whole code.
Lokesh's user avatar
  • 65
4 votes
1 answer
319 views

Compiled Tor binary doesn't match with Tor official downloaded package

When i compile source code to get a working safe Tor package, what i produced have different hash from official Tor binary in download section... is this a compiler problem or that's normal compilers ...
iTor's user avatar
  • 41
3 votes
2 answers
4k views

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

How can I disable the patch and limit its influence? In older TBB builds this patch could be removed pretty easy. Is there still an easy way? The difficult way seems to revert these changes: https://...
Tor-User's user avatar
3 votes
1 answer
483 views

Changing in the relay selection in Tor source code

I want to change the Tor relay selection in the SOURCE CODE, I want to tell Tor to select my selected relays in each time it needs to build a circuit instead of randomly selected relays. I know that ...
MOH's user avatar
  • 441
3 votes
1 answer
174 views

Which countries contribute the most to the Tor source code?

Amongst the developers working on the Tor source code, which countries have the maximum representation in terms of number of contributors and overall contributions?
asheeshr's user avatar
  • 1,053
3 votes
1 answer
660 views

How to implement the modified source code of Tor?

I want to log how many circuits have been made through my Tor onion router (OR). So if I do some changes in the original source code, how can I make my Tor use that changed source code. I am now using ...
saurav's user avatar
  • 767
3 votes
2 answers
148 views

What hidden services does my relay node know about?

I built tor from source and am running it as a relay (not exit node) and also as a directory server. It is my understanding that after a while I should experience V2 hidden services publishing their ...
Clive's user avatar
  • 31
2 votes
2 answers
3k views

What programming languages are used to build Tor?

one basic question, I would like to know: what programming languages are used to build Tor? TBB include Firefox and other things, so, correct question is about Tor.
basicquestion's user avatar
2 votes
3 answers
6k views

Where I can get Tor Browser Bundle source?

There is source of Tor daemon, but I can't find source of Tor Browser: https://www.torproject.org/download/download-easy.html.en#linux Where is the open-source?
ConcealmEnt's user avatar
2 votes
1 answer
371 views

implementation for Tor directory server?

Is the code of the Tor directory servers open sourced? If i would like to run my own for the purpose of experimenting, what is the easiest way to do it?
dandroid's user avatar
  • 185
2 votes
1 answer
3k views

Using Tor in a c# application

I would like to be able to use Tor programmatically in a c# application, for example I could have a function: GetViaTor(someUrl); What I currently do is I run the Tor process,wait a sufficient ...
Binyamin's user avatar
  • 121
2 votes
2 answers
71 views

Tor security and code upgrade

I want to know how Tor code is actually updated. Who does it? In light of the NSA scandal and the NSA desire to bring down Tor, is there a possibility that the NSA infiltrates Tor code and adds code ...
Ray Perez's user avatar
2 votes
1 answer
114 views

Where is noscript source code in Tor browser bundle

I'm trying to find the source code of noscript in the Tor browser bundle, usually (given how firefox does it) it should be under <uniqueID>.default/extensions, however with Tor browser bundle ...
user25274's user avatar
2 votes
3 answers
1k views

Compile Tor Browser on Raspberry Pi 2

I have seen a ticket opened about this on tor bug tracker, but no progress for over a year on the Tor Browser being available on arm processors. I have setup firefox with a proxy to use Tor but that ...
cockmagic's user avatar
2 votes
1 answer
1k views

Connect to Tor through socks in C#

First of all, I want to say that I am new to programming and I love it very much, also I have a task to accomplish. I try to accomplish a socket connection through Tor between server-client (send ...
johnminister05 Minister's user avatar
2 votes
1 answer
487 views

How to modify Tor source code in Shadow

For research purposes I'd like to implement my modified version of the Tor source code in the Shadow simulation network, but I am not exactly sure how to do that. Shadow uses a plug-in called Scallion ...
Salcybercat's user avatar
2 votes
1 answer
205 views

IDE to edit Tor source

What IDE can I use to edit Tor source code as a single project? Can I use Eclipse with C/C++? I tried it with Eclipse but I get errors : "some type not dedined." Which IDE is best to edit Tor source?
Lokesh's user avatar
  • 65
1 vote
1 answer
44 views

What licencing is needed to distribute tor

Am I allowed to distribute Tor as part of a bundle. If so, what licences do I have to distribute with the bundle. Is there anything else I'd have to consider?
puser's user avatar
  • 500
1 vote
1 answer
109 views

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

In How to implement the modified source code of Tor?, OP may be asking about using a tor binary built from customized source code. The public Tor network rejects customized clients and relays, right?
mirimir's user avatar
  • 2,977
1 vote
1 answer
114 views

Clearing the state of rendezvous client provides privacy improvement?

Context. In my quest on figuring out if I must use NEWNYM signal or stream isolation is enough for me I dig into the code and narrowed down the possible privacy improvements that NEWNYM can bring over ...
nopara73's user avatar
  • 173
1 vote
1 answer
61 views

Possible buffer overflow in compat_libevent.c?

first of all let me say that I started to study the C three days ago. As exercise I'm reading source code as much as I can. I thought I'd start with Tor and, in this file src/common/compat_libevent.c, ...
Carlo Di Dato's user avatar
1 vote
1 answer
8k views

Route c++ through Tor using socks

I'm working on a windows application that will make post get requests and interact with a hidden service. It will require Tor.exe running on the system listening, and thats fine. I get that Tor ...
david's user avatar
  • 11
1 vote
3 answers
2k views

How can I create my own Tor alternative?

I'm not technically competent, but I was wondering how I could create my own Tor alternative using Visual Studio, Notepad++ or any other coding software and perhaps some links to the type of scripts I'...
Edward Ingersoll's user avatar
1 vote
1 answer
90 views

Bloated codebase - are there third party implementations of the tor protocol?

Are there third party implementation of tor that perhaps don't implement the entirety of the protocol? But can interact with the tor network. It really isn't practical to audit this for an individual:...
John Smith's user avatar
1 vote
1 answer
30 views

Verifying Tor source package impossible due to the valid key not linked

On the tor website there is a section: https://2019.www.torproject.org/docs/signing-keys.html.en The correct key from Nick Mathewson (0xFE43009C4607B1FB) is not linked there. However the correct key ...
anon's user avatar
  • 11
1 vote
1 answer
350 views

Clearing the client side DNS cache provides privacy improvement?

Context. In my quest on figuring out if I must use NEWNYM signal or stream isolation is enough for me I dig into the code and narrowed down the possible privacy improvements that NEWNYM can bring over ...
nopara73's user avatar
  • 173
1 vote
2 answers
101 views

Can we self-host a network like tor with tor source code?

Can we use tor source code for running a network like tor ?
mahdi's user avatar
  • 11
1 vote
1 answer
80 views

Making a Tor pull request

How can I submit a pull request to the Tor core repo?
Mario Cecil's user avatar
1 vote
0 answers
103 views

OpenSSL ROP hack/backdoor(OBVIOUS)/bug

Is the ROP hack/BACKDOOR(obvious)/bug in OpenSSL -coded form OpenSSL member/programer Andy Polyakov- still a problem in Tor code?
lyn roj's user avatar
  • 11
1 vote
0 answers
54 views

Pre-built circuits for a predicted port

According to the Tor documents, Tor builds 2 circuits for each predicted port. I checked the source code to find out how it can understand that it has already built one or two circuit for a predicted ...
MOH's user avatar
  • 441
0 votes
2 answers
1k views

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

Im trying to implement a simple C# application that is based on Tor protocol, without identity changes every few minutes etc. just to create a circuit and make a request. I created the onion hidden ...
Vlad's user avatar
  • 101
0 votes
1 answer
391 views

Error installing Tor on my Mac

I'm trying to install Tor on my Mac but it shows the following error: /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am CCLD src/or/tor Undefined symbols for architecture x86_64: ...
siddhartha's user avatar
0 votes
1 answer
974 views

Is there a C/C++ Tor API?

I am looking for a (preferably Open Source) API usable in C/C++, that enables one to send/receive data over the Tor network. So I want to build an application that uses sockets to communicate data ...
Galaxy's user avatar
  • 101
0 votes
1 answer
27 views

Updating api for third-party developers

Has Tor an API to get information about the latest version? I want to use Tor with my software for getting access to blocked sites, and I want update Tor automatically. Have tor any solutions of this ...
f30d0r's user avatar
  • 1
0 votes
2 answers
57 views

Make Tor become multiple connection between OR to OR

I study the Tor source code in 0.2.6.10. There should be only one connection between OR to OR because of the cells in Tor. I want to make Tor become multiple connection between OR to OR. After I ...
Owen's user avatar
  • 1
0 votes
1 answer
90 views

RELAY_SENDME cell structure

i am looking to create a RELAY_SENDME cell but can not find the structure for these in the documentation, does anyone know the format fr these cells Thanks
user2962401's user avatar
0 votes
1 answer
39 views

What means origin circuit in Tor Project?

When I read source code of Tor,I found a concept called origin circuit, which appears a lot in the source code. I think it refers to the circuit from OP to OR.Is that correct? And what are the ...
NiMingDingZhen's user avatar
0 votes
1 answer
12 views

run collector with Eclipse IDE

please did someone know how to use eclipse to run or test Collector ,or metrics using eclipse IDE,how to run https://gitlab.torproject.org/tpo/network-health/metrics/collector,
racine781's user avatar
0 votes
1 answer
154 views

Getting tor nodes list

I'm modifying tor source code for research purposes and I want to modify concept of getting tor nodes list. Now, tor client is getting tor nodes from directory servers and I want to change it. My ...
Tomas Lapsansky's user avatar
0 votes
1 answer
543 views

Is this an official download mirror?

Is this an official download mirror of the Tails? http://quantum-mirror.hu/mirrors/pub/tails/stable/ http://quantum-mirror.hu
AppleFun's user avatar