Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-12 | Merge branch 'tor-github/pr/1319' | David Goulet | |
2019-09-12 | Merge remote-tracking branch 'tor-github/pr/1300' | Nick Mathewson | |
2019-09-11 | Update #includes to point to confparse.h in its new location. | Nick Mathewson | |
This commit was automatically generated by running scripts/maint/rectify_include_paths.py . | |||
2019-09-06 | entrynodes: Make routine descriptor expiry notice logs less alarming | teor | |
When tor is missing descriptors for some primary entry guards, make the log message less alarming. It's normal for descriptors to expire, as long as tor fetches new ones soon after. Fixes bug 31657; bugfix on 0.3.3.1-alpha. | |||
2019-08-28 | Refactor config free logic to use a single path. | Nick Mathewson | |
The right way to free a config object is now to wrap config_free(), always. Instead of creating an alternative free function, objects should provide an alternative clear callback to free any fields that the configuration manager doesn't manage. This lets us simplify our code a little, and lets us extend the confparse.c code to manage additional fields in config_free. | |||
2019-04-26 | Use a linear algorithm to subtract two nodelists. | Nick Mathewson | |
The nodelist_idx for each node_t serves as a unique identifier for the node, so we can use a bitarray to hold all the excluded nodes, and then remove them from the smartlist. Previously use used smartlist_subtract(sl, excluded), which is O(len(sl)*len(excluded)). We can use this function in other places too, but this is the one that showed up on the profiles of 30291. Closes ticket 30307. | |||
2019-04-26 | Make nodelist_get_list() return a const pointer. | Nick Mathewson | |
2019-02-14 | Merge branch 'tor-github/pr/536' into maint-0.3.5 | George Kadianakis | |
2019-01-16 | Bump copyright date to 2019 | Nick Mathewson | |
2019-01-16 | Bump copyright date to 2019. | Nick Mathewson | |
2019-01-09 | Merge branch 'bug28591_035_squashed' | Nick Mathewson | |
2018-12-01 | Merge remote-tracking branch 'tor-github/pr/536' | Nick Mathewson | |
2018-12-01 | Merge branch 'maint-0.3.4' into maint-0.3.5 | Nick Mathewson | |
2018-12-01 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-11-29 | Dir: when Tor's clock is behind, use a future consensus to bootstrap | teor | |
When Tor's clock is behind the clocks on the authorities, allow Tor to bootstrap successfully. Fixes bug 28591; bugfix on 0.2.0.9-alpha. | |||
2018-11-22 | Entry Nodes: Test on reasonably live consensuses | teor | |
As well as live consensuses. Tests for 24661. | |||
2018-11-22 | Entry Nodes: refactor tests to use macros | teor | |
Part of 24661. | |||
2018-11-22 | Test: make unit tests use a reasonably live consensus | teor | |
Cleanup after 24661. | |||
2018-11-22 | Test: Fix memory leaks and missing unmocks in entry guard tests | teor | |
test_entry_guard_outdated_dirserver_exclusion leaks memory, and is missing some unmocks. Fixes 28554; bugfix on 0.3.0.1-alpha. | |||
2018-10-01 | Remove routerparse include from files that dont use it | Nick Mathewson | |
2018-10-01 | Move routerparse and parsecommon to their own module. | Nick Mathewson | |
2018-09-21 | Split directory.c code into several modules | Nick Mathewson | |
Parts of this C file naturally belong in dircache, dirclient, and dircommon: so, move them there. | |||
2018-07-09 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-07-09 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-07-09 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-07-09 | Merge remote-tracking branch 'github/bug26269_031' into maint-0.3.2 | Nick Mathewson | |
2018-07-05 | Fix every include path changed in the previous commit (automated) | Nick Mathewson | |
I am very glad to have written this script. | |||
2018-07-05 | Remove util.h | Nick Mathewson | |
Inline its contents (which were all includes) into or.h, and some of its contents into other places that didn't include or.h at all. | |||
2018-07-01 | Extract or_state_t to its own header. | Nick Mathewson | |
Fewer modules needed this than I had expected. | |||
2018-07-01 | Remove needless includes from or.h | Nick Mathewson | |
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*. | |||
2018-06-22 | Remove bloom filters, order statistics, and bitarrays from container.h | Nick Mathewson | |
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-06-15 | Extract routerinfo_t into its own header. | Nick Mathewson | |
I was expecting this to be much worse. | |||
2018-06-15 | Extract microdesc_t into its own header. | Nick Mathewson | |
2018-06-15 | Extract routerstatus_t into its own header. | Nick Mathewson | |
2018-06-15 | Extract networkstatus_t and ..sr_info_t into their own headers | Nick Mathewson | |
2018-06-15 | Extract node_t into its own header. | Nick Mathewson | |
2018-06-15 | Extract cpath_build_state into its own header. | Nick Mathewson | |
More modules use this than I had expected! | |||
2018-06-15 | Extract crypt_path_t and relay_crypto_t into their own headers | Nick Mathewson | |
2018-06-15 | Extract {or,origin}_circuit_t into their own headers | Nick Mathewson | |
2018-06-15 | Split dir_connection_t into its own header | Nick Mathewson | |
2018-06-13 | test_entrynodes: fix a GCC warning | Nick Mathewson | |
Some versions of GCC complain that the bfn_mock_node_get_by_id function might return NULL, but we're assuming that it won't. (We're assuming it won't return NULL because we know in the tests that we're passing it valid IDs.) To make GCC happy, tt_assert() that each node_t is set before using it. Fixes a second case of bug26269; bugfix on 0.3.0.1-alpha. | |||
2018-05-08 | Merge remote-tracking branch 'mikeperry/bug25870_rebase' | Nick Mathewson | |
2018-05-03 | Merge remote-tracking branch 'isis/bug24660_r1' | Nick Mathewson | |
2018-05-01 | Write unittests to check basic vanguard path selection. | George Kadianakis | |
Adds two unittests: - First checks the path selection of basic Tor circs. - Second checks the path selection of vanguard circs. There is a TODO on the second unittest that we might want to test sooner than later, but it's not trivial to do it right now. To do these unittests we needed the following mods: - Make some functions STATIC. - Add some more fields to the big fake network nodes of test_entrynodes.c - Switch fake node nicknames to base32 (because base64 does not produce valid nicknames). | |||
2018-04-27 | Introduce torrc option NumPrimaryGuards | George Kadianakis | |
2018-04-06 | crypto: Refactor (P)RNG functionality into new crypto_rand module. | Isis Lovecruft | |
* 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 | |||
2018-02-07 | Fix spelling mistakes corresponding to ticket #23650 | Deepesh Pathak | |