- 05 Jul, 2018 3 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
I am very glad to have written this script.
-
Nick Mathewson authored
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so.
-
- 03 Jul, 2018 1 commit
-
-
Nick Mathewson authored
The standard is printf("%"PRIu64, x);
-
- 01 Jul, 2018 3 commits
-
-
Nick Mathewson authored
Fewer modules needed this than I had expected.
-
Nick Mathewson authored
-
Nick Mathewson authored
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*.
-
- 29 Jun, 2018 1 commit
-
-
Nick Mathewson authored
-
- 21 Jun, 2018 1 commit
-
-
Nick Mathewson authored
-
- 20 Jun, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 15 Jun, 2018 8 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
I was expecting this to be much worse.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 14 Jun, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 13 Jun, 2018 1 commit
-
-
Nick Mathewson authored
Fixes bug 26269; bugfix on c30be5a8 in 0.2.8.2-alpha
-
- 11 Jun, 2018 1 commit
-
-
Nick Mathewson authored
There are a few reasons that relays might be uploading desciptors without saying X-Desc-Gen-Reason: 1. They are running an old version of our software, before 0.3.2.stable. 2. They are not running our software, but they are claiming they are. 3. They are uploading through a proxy that strips X-Desc-Gen-Reason. 4. They somehow had a bug in their software. According to the 25686 data, 1 is the most common reason. This ticket is an attempt to diagnose case 4, or prove that case 4 doesn't actually happen.
-
- 14 May, 2018 1 commit
-
-
Nick Mathewson authored
Having one function implemented in terms of the other should keep them from diverging. follow-up on #25852
-
- 10 May, 2018 3 commits
- 09 May, 2018 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Everywhere we use we_are_hibernating(), remind the reader what it means. (Also, add an XXXX to note a DisableNetwork usage to change later.)
-
- 05 May, 2018 1 commit
-
-
rl1987 authored
This will yield different error codes for transient and permament errors. Furthermore, Tor will give human readable error messages to controller.
-
- 02 May, 2018 1 commit
-
-
David Goulet authored
This function must return false if the module is not compiled in. In order to do that, we move the authdir_mode_v3() function out of router.c and into the dirauth module new header file named mode.h. It is always returning false if we don't have the module. Closes #25990 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 25 Apr, 2018 1 commit
-
-
Nick Mathewson authored
Found by coverity; CID 25912; bug not in any released Tor.
-
- 22 Apr, 2018 1 commit
-
-
Nick Mathewson authored
Now that we allow cpuworkers for dirport-only hosts (to fix 23693), we need to allow dup_onion_keys() to succeed for them. The change to construct_ntor_key_map() is for correctness, but is not strictly necessary.
-
- 06 Apr, 2018 1 commit
-
-
Isis Lovecruft authored
* ADD new /src/common/crypto_rand.[ch] module. * ADD new /src/common/crypto_util.[ch] module (contains the memwipe() function, since all crypto_* modules need this). * FIXES part of #24658: https://bugs.torproject.org/24658
-
- 06 Mar, 2018 1 commit
-
-
Caio Valente authored
Also encapsulates format_node_description(). Closes ticket 25432.
-
- 12 Feb, 2018 1 commit
-
-
Fernando Fernandez Mancera authored
Fixed log message that has been changed in commit 5ea993fa . Signed-off-by:
Fernando Fernandez Mancera <ffmancera@riseup.net>
-
- 31 Jan, 2018 1 commit
-
-
Caio Valente authored
Using get_uptime() and reset_uptime() instead of accessing stats_n_seconds_working directly. stats_n_seconds_working is not extern anymore. Ticket #25081
-
- 24 Jan, 2018 1 commit
-
-
Fernando Fernandez Mancera authored
In order to make the OR and dir checking functions in router.c less confusing we renamed some functions and splitted consider_testing_reachability() into router_should_check_reachability() and router_do_reachability_checks(). Also we improved the documentation. Fixes #18918. Signed-off-by:
Fernando Fernandez Mancera <ffmancera@riseup.net>
-
- 08 Dec, 2017 1 commit
-
-
Nick Mathewson authored
-
- 06 Dec, 2017 1 commit
-
-
Nick Mathewson authored
This patch is a result of auditing all of our uses of get_datadir_fname() and its kin, and dividing them into cache vs keys vs other data. The new get_keydir_fname() and get_cachedir_fname() functions don't actually do anything new yet.
-