- 12 Jan, 2017 1 commit
-
-
Alexander Færøy authored
This patch refactors duplicated code, to check if a given router supports fetching the extra-info document, into a common macro called SKIP_MISSING_TRUSTED_EXTRAINFO.
-
- 11 Jan, 2017 26 commits
-
-
Alexander Færøy authored
This patch generalizes the two functions router_is_already_dir_fetching_rs and router_is_already_dir_fetching_ds into a single function, router_is_already_dir_fetching_, by lifting the passing of the IPv4 & IPv6 addresses and the directory port number to the caller.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
David Goulet authored
That key size is taken from proposal 224 thus specified in the protocol. Closes #20569 Signed-off-by:
David Goulet <dgoulet@torproject.org> -
Nick Mathewson authored
-
Nick Mathewson authored
-
cypherpunks authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
In 8a0ea3ee we added a temp_service_list local variable to rend_config_services, but we didn't add a corresponding "free" for it to all of the exit paths. Fixes bug 20987; bugfix on 0.3.0.1-alpha.
-
Nick Mathewson authored
-
cypherpunks authored
Closes ticket 21096.
-
cypherpunks authored
Found using flake8 which gave the following output; lintChanges.py:10:13: E225 missing whitespace around operator lintChanges.py:25:1: E302 expected 2 blank lines, found 1 lintChanges.py:46:5: F841 local variable 'lines' is assigned to but never used lintChanges.py:52:32: E228 missing whitespace around modulo operator lintChanges.py:53:11: E201 whitespace after '(' lintChanges.py:56:41: E228 missing whitespace around modulo operator Part of ticket 21096. -
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 09 Jan, 2017 2 commits
-
-
David Goulet authored
Add the "sr/current" and "sr/previous" keys for the GETINFO command in order to get through the control port the shared random values from the consensus. Closes #19925 Signed-off-by:
David Goulet <dgoulet@torproject.org> -
asn authored
-
- 08 Jan, 2017 1 commit
-
-
chelsea komlo authored
-
- 04 Jan, 2017 2 commits
-
-
Nick Mathewson authored
-
Karsten Loesing authored
-
- 03 Jan, 2017 4 commits
-
-
Nick Mathewson authored
Some DNS NXDOMAIN hijackers hijack truly ridiculous domains, like "invalid-stuff!!" or "1.2.3.4.5". This would provoke unit test failures where we used addresses like that to force tor_addr_lookup() to fail. The fix, for testing, is to mock tor_addr_lookup() with a variant that always fails when it gets a name with a !. Fixes bugs 20862 and 20863.
-
Nick Mathewson authored
-
teor authored
Closes #21122, bug on multiple tor versions.
-
- 02 Jan, 2017 4 commits
-
-
Nick Mathewson authored
Because <unset> makes more sense than AAAAAAAAAAAAAAAAAAA... (I have indeed verified that ed25519_fmt() is only used for logging. This patch also clarifies the intention that ed25519_fmt() is only for logging. Closes ticket 21037.
-
Nick Mathewson authored
We switched these to be "if (1) " a while back, so we could keep the indentation and avoid merge conflicts. But it's nice to clean up from time to time.
-
Nick Mathewson authored
-
Nick Mathewson authored
-