summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-04build: Fix missing include for src/rust/external/crypto_rand.rs file.Isis Lovecruft
* FIXES #26025: https://bugs.torproject.org/26025
2018-05-04rust: Update Cargo.lock file with changes from #26024.Isis Lovecruft
2018-05-04rust: Update submodule commit for src/ext/rust directory.Isis Lovecruft
* FIXES part of #26024: https://bugs.torproject.org/26024
2018-05-04Update rand dependency from 0.5.0-pre.0 to 0.5.0-pre.1.Isis Lovecruft
2018-05-03I should have tested before I pushed.Nick Mathewson
2018-05-03Merge remote-tracking branch 'github/ticket25995'Nick Mathewson
2018-05-03Merge remote-tracking branch 'dgoulet/ticket25914_034_01'Nick Mathewson
2018-05-03Add src/rust/rand to include.amNick Mathewson
2018-05-03Move some includes around to try to fix windows buildsNick Mathewson
2018-05-03Update rust dependencies to latest version.Nick Mathewson
2018-05-03Merge remote-tracking branch 'isis/bug24660_r1'Nick Mathewson
2018-05-03Merge remote-tracking branch 'dgoulet/ticket25991_034_01'Nick Mathewson
2018-05-03Merge remote-tracking branch 'dgoulet/ticket25990_034_01'Nick Mathewson
2018-05-03Merge branch 'maint-0.3.3'Nick Mathewson
2018-05-03Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson
2018-05-03Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2018-05-03Merge branch 'maint-0.2.9' into maint-0.3.1Nick Mathewson
2018-05-03Merge remote-tracking branch 'catalyst-github/bug25936-033' into maint-0.3.3Nick Mathewson
2018-05-03Merge remote-tracking branch 'catalyst-github/bug25936-031' into maint-0.3.1Nick Mathewson
2018-05-03Merge remote-tracking branch 'catalyst-github/bug25936-029' into maint-0.2.9Nick Mathewson
2018-05-03Merge branch 'maint-0.3.3'Nick Mathewson
2018-05-03Merge remote-tracking branch 'teor/bug25998' into maint-0.3.3Nick Mathewson
2018-05-03Merge remote-tracking branch 'github/ticket25952'Nick Mathewson
2018-05-03Merge remote-tracking branch 'github/ticket25951'Nick Mathewson
2018-05-03Merge remote-tracking branch 'github/ticket25949'Nick Mathewson
2018-05-03doc: Add missing HACKING/ files to EXTRA_DISTDavid Goulet
Apart from adding the newly created Module.md, this commit also adds all the missing files we have in HACKING/ to the EXTRA_DIST. Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-05-03doc: Add Module.md explaining Tor modulesDavid Goulet
Initial document that contains guidelines to write a new module in Tor. Closes #25991 Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-05-03hs-v3: Remove extra white-space and clarify commentDavid Goulet
From Neel's latest patch on optimizing the hs_circ_service_get_intro_circ() digest calculation, remove an extra white-space and clarify a comment of the legacy key digest to inform when to use it. Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-05-03Merge remote-tracking branch 'asn/bug23107'David Goulet
2018-05-02rust: Expose crypto_rand() as an impl of rand_core::RngCore.Isis Lovecruft
2018-05-02Merge branch 'ticket25997'Nick Mathewson
2018-05-02dirauth: Move authdir_mode_v3() to moduleDavid Goulet
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>
2018-05-02Make hs_get_responsible_hsdirs() deterministic.Nick Mathewson
This test was using the current time to pick the time period number, and a randomly generated hs key. Therefore, it sometimes picked an index that would wrap around the example dht, and sometimes would not. The fix here is just to fix the time period and the public key. Fixes bug 25997; bugfix on 0.3.2.1-alpha.
2018-05-02dirvote: Fix typo in commentDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-05-02Merge branch 'maint-0.3.1' into maint-0.3.2Nick Mathewson
2018-05-02Merge branch 'maint-0.2.9' into maint-0.3.1Nick Mathewson
2018-05-02Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson
2018-05-02Merge branch 'maint-0.3.3'Nick Mathewson
2018-05-02Merge branch 'ticket25996'Nick Mathewson
2018-05-02Stop logging stack contents when reading a zero-length bandwidth fileteor
When directory authorities read a zero-byte bandwidth file, they log a warning with the contents of an uninitialised buffer. Log a warning about the empty file instead. Fixes bug 26007; bugfix on 0.2.2.1-alpha.
2018-05-02Bug 26000: Fix missing ";"Georg Koppen
2018-05-02squash! Optimize legacy intro point digest calculation.George Kadianakis
2018-05-02Optimize legacy intro point digest calculation.Neel Chauhan
2018-05-02man page: FetchUselessDescriptors and DirCache exclude extra infosteor
2018-05-02man page: UseMicrodescriptors auto and 1 are the same nowteor
2018-05-02man page: FetchUselessDescriptors stops tor going idleteor
Also explain how FetchUselessDescriptors and UseMicrodescriptors are different. Closes 25998.
2018-05-01coverage: Repeat the test for avoiding failed intro pointsNick Mathewson
This test, in test_client_pick_intro(), will have different coverage depending on whether it selects a good intro point the first time or whether it has to try a few times. Since it produces the shorter coverage with P=1/4, repeat this test 64 times so that it only provides reduced coverage with P=1/2^128. The performance cost is negligible. Closes ticket 25996. This test was introduced in 0.3.2.1-alpha.
2018-05-01Use a deterministic PRNG in test_circuit_timeout()Nick Mathewson
I'd prefer not to do this for randomized tests, but as things stand with this test, it produces nondeterministic test coverage. Closes ticket 25995; bugfix on 0.2.2.2-alpha when this test was introduced.
2018-05-01Stop using approx_time() in circuitmux_ewma.Nick Mathewson
It doesn't match with the tick-count code any longer. Bug not in any released Tor.
2018-05-01Merge remote-tracking branch 'github/eliminate_gettimeofday_cached'Nick Mathewson