Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-19 | Merge branch 'add_rust_squashed' | Nick Mathewson | |
2017-05-19 | Allow Rust build using locally supplied crates or crates.io | Sebastian Hahn | |
This adds a couple of configure commands to control whether we're requiring all dependencies to be available locally (default) or not (--enable-cargo-online-mode). When building from a tarball, we require the RUST_DEPENDENCIES variable to point to the local repository of crates. This also adds src/ext/rust as a git submodule that contains such a local repository for easy setup. | |||
2017-05-19 | cargo-online-mode configure argument | Sebastian Hahn | |
Passing --enable-cargo-online-mode during configure allows cargo to make network requests while building Tor or running tests. If this flag is not supplied, the dependencies need to be available in the form of a local mirror. | |||
2017-05-19 | Add rustfmt.toml | Sebastian Hahn | |
2017-05-19 | Run cargo test during make check | Sebastian Hahn | |
2017-05-19 | Add some Rust utility functions and print support | Sebastian Hahn | |
This gives an indication in the log that Tor was built with Rust support, as well as laying some groundwork for further string-returning APIs to be converted to Rust | |||
2017-05-19 | Merge remote-tracking branch 'jigsaw/torrc-dir-fix-1922_squashed2' | Nick Mathewson | |
2017-05-19 | Merge branch 'ticket21953_029' | Nick Mathewson | |
2017-05-19 | Define HeapEnableTerminationOnCorruption if the headers don't. | Nick Mathewson | |
MSDN says that it's always going to be 1, and they're usually pretty accurate about that. Fixes a bug in 21953. | |||
2017-05-19 | fix typo | Roger Dingledine | |
2017-05-18 | Add support for %include funcionality on torrc #1922 | Daniel Pinto | |
config_get_lines is now split into two functions: - config_get_lines which is the same as before we had %include - config_get_lines_include which actually processes %include | |||
2017-05-18 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-05-18 | Merge branch 'bug22252_029' into maint-0.3.0 | Nick Mathewson | |
2017-05-17 | Fixed error on BASEXX_NOPAD LEN and BUFSIZE macros #21872 | Daniel Pinto | |
2017-05-16 | Fix crash when starting with LearnCircuitBuildTimeout 0. | Nick Mathewson | |
Before we've set our options, we can neither call get_options() nor networkstatus_get_latest_consensus(). Fixes bug 22252; bugfix on 4d9d2553baa6856b1d85ec26baa1ac3d2c24832a in 0.2.9.3-alpha. | |||
2017-05-16 | Fix resource leak in parse_consensus_request() | Nick Mathewson | |
We were allocating diff_hash_in_url on some URLs, but not freeing it. Fixes CID 1409669. Bug not in any released Tor. | |||
2017-05-16 | Report deleted consensuses as NOT_FOUND rather than AVAILABLE | Nick Mathewson | |
This bug happened because of a bogus pointer check in consdiffmgr_find_consensus(), not in any released Tor. Fixes CID 1409670. Good catch, Coverity! | |||
2017-05-16 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-05-16 | Merge branch 'maint-0.2.9' into maint-0.3.0 | Nick Mathewson | |
2017-05-16 | Merge branch 'maint-0.2.8' into maint-0.2.9 | Nick Mathewson | |
2017-05-16 | Update fallback directory mirrors in May 2017 | teor | |
Replace the 177 fallbacks originally introduced in Tor 0.2.9.8 in December 2016 (of which ~126 were still functional), with a list of 151 fallbacks (32 new, 119 existing, 58 removed) generated in May 2017. Resolves ticket 21564. | |||
2017-05-15 | bump version to 0.3.0.7 | Nick Mathewson | |
2017-05-15 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-05-15 | remove a variable I missed | Nick Mathewson | |
2017-05-15 | Do not try to uncompress an empty spool | Nick Mathewson | |
2017-05-15 | fix a memory leak | Nick Mathewson | |
2017-05-15 | Test fix: always set address in new_dir_conn() | Nick Mathewson | |
2017-05-15 | Dircache protocol version 2 adds support for diffs | Nick Mathewson | |
2017-05-15 | Try not to mess up caches with the X-Or-Diff-From-Consensus header | Nick Mathewson | |
2017-05-15 | Split consensus-request parsing into a separate function | Nick Mathewson | |
This ought to make the control flow a tiny bit more readable. | |||
2017-05-15 | Prop140, continued: accept "diff/<HASH>" in URLs, per proposal. | Nick Mathewson | |
2017-05-15 | Merge remote-tracking branch 'public/prop140_aftermath_cfg' | Nick Mathewson | |
2017-05-15 | Merge branch 'ahf_bugs_21667_2_squashed' | Nick Mathewson | |
2017-05-15 | Fix dir_handle_get/... test-cases for prop#278 support. | Alexander Færøy | |
See: https://bugs.torproject.org/21667 | |||
2017-05-15 | dir_handle_get: repair two test cases, note the fixes for 3 others | Nick Mathewson | |
2017-05-15 | Handle non-compressed requests gracefully. | Alexander Færøy | |
This patch makes us use FALLBACK_COMPRESS_METHOD to try to fetch an object from the consensus diff manager in case no mutually supported result was found. This object, if found, is then decompressed using the spooling system to the client. See: https://bugs.torproject.org/21667 | |||
2017-05-15 | Remove old consensus fetching code from handle_get_current_consensus(). | Alexander Færøy | |
This patch removes the calls to spooled_resource_new() when trying to download the consensus. All calls should now be going through the consdiff manager. See: https://bugs.torproject.org/21667 | |||
2017-05-15 | Fix too wide line from `make check-spaces`. | Alexander Færøy | |
See: https://bugs.torproject.org/21667 | |||
2017-05-15 | Check for best consensus when no consensusdiff was found. | Alexander Færøy | |
This patch ensures that we use the current consensus in the case where no consensus diff was found or a consensus diff wasn't requested. See: https://bugs.torproject.org/21667 | |||
2017-05-15 | Copy valid/fresh-until and signatories values into diffs. | Nick Mathewson | |
2017-05-15 | Store fresh/valid-until and signatories values on all consensus objects. | Nick Mathewson | |
2017-05-15 | Implement functions to expose valid/fresh-until and voters | Nick Mathewson | |
These still won't do anything till I get the values to be filled in. Also, I changed the API a little (with corresponding changes in directory.c) to match things that it's easier to store. | |||
2017-05-15 | Move stub accessor functions a level higher, to consdiffmgr | Nick Mathewson | |
2017-05-15 | Fetch the current consensus from the conscache subsystem. | Alexander Færøy | |
This patch changes handle_get_current_consensus() to make it read the current consensus document from the consensus caching subsystem. See: https://bugs.torproject.org/21667 | |||
2017-05-15 | Initialize the HS cache at startup | Nick Mathewson | |
Failure to do this caused an assertion failure with #22246 . This assertion failure can be triggered remotely, so we're tracking it as medium-severity TROVE-2017-002. | |||
2017-05-15 | Merge branch 'bug22245_024' | Nick Mathewson | |
2017-05-15 | Add hs_test_helpers.h to noinst_HEADERS | Nick Mathewson | |
2017-05-15 | Fix a logic error in hibernate.c | Nick Mathewson | |
Closes bug 22245; bugfix on 0.0.9rc1, when bandwidth accounting was first introduced. Found by Andrey Karpov and reported at https://www.viva64.com/en/b/0507/ | |||
2017-05-15 | Fix assertion to actually have a chance of failing | Nick Mathewson | |
This assertion can only fail if we mess up some of our other code, but let's try to get it right. Closes 22244. | |||
2017-05-15 | Merge branch 'bug18100_029' | Nick Mathewson | |