Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-05 | Move literally everything out of src/or | Nick Mathewson | |
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. | |||
2018-07-03 | Merge remote-tracking branch 'github/ticket26626' | Nick Mathewson | |
2018-07-03 | Return U64_PRINTF_ARG and U64_FORMAT | Nick Mathewson | |
The standard is printf("%"PRIu64, x); | |||
2018-07-01 | Remove system headers from or.h | Nick Mathewson | |
2018-07-01 | Minimize headers that include crypto_formats and x25519 stuff | Nick Mathewson | |
2018-06-29 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-06-29 | Restor EOL@EOF in routerlist.c | Nick Mathewson | |
2018-06-29 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-06-29 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-06-29 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-06-29 | Merge branch 'maint-0.3.1' into maint-0.3.2 | Nick Mathewson | |
2018-06-29 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-06-28 | Move floating-point math functions into a new lib/math | Nick Mathewson | |
2018-06-27 | Fix up include paths for sandbox.h (automated) | Nick Mathewson | |
2018-06-26 | Finish renaming digestset_contains to digestset_probably_contains | Nick Mathewson | |
Since bloom filters are probabilistic, it's nice to make it clear that the "contains" operation can have false positives. | |||
2018-06-26 | Refactor bloom filter logic not to be digest-specific. | Nick Mathewson | |
Now the address-set code and the digest-set code share the same backend. Closes ticket 26510 | |||
2018-06-23 | Fix memory leak in frac_nodes_with_descriptors(). | Alexander Færøy | |
This patch fixes a memory leak in frac_nodes_with_descriptors() where we might return without free'ing the bandwidths variable. See: Coverity CID 1437451. | |||
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-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Merge remote-tracking branch 'neel/b25886c' | Nick Mathewson | |
2018-06-20 | Update copyrights to 2018. | Nick Mathewson | |
2018-06-16 | Make frac_nodes_with_descriptors() take and use for_direct_connect | Neel Chauhan | |
2018-06-15 | Extract routerinfo_t into its own header. | Nick Mathewson | |
I was expecting this to be much worse. | |||
2018-06-15 | Extract extrainfo_t into its own header | Nick Mathewson | |
2018-06-15 | Extract authority_cert_t into its own header | Nick Mathewson | |
2018-06-15 | Extract desc_store_t and routerlist_t into their own headers. | Nick Mathewson | |
2018-06-15 | Extract networkstatus_t and ..sr_info_t into their own headers | Nick Mathewson | |
2018-06-15 | Extract networkstatus_vote_info_t into its own header. | Nick Mathewson | |
2018-06-15 | Move document_signature_t into its own header. | Nick Mathewson | |
2018-06-15 | Split vote_{microdesc_hash,routerstatus}_t into their own headers | Nick Mathewson | |
2018-06-15 | Extract node_t into its own header. | Nick Mathewson | |
2018-06-15 | Split dir_connection_t into its own header | Nick Mathewson | |
2018-06-14 | Move dir_server_t into its own header. | Nick Mathewson | |
2018-06-03 | Silence -Wbad-function-cast warning (when DEBUG_SMARTLIST is on) | rl1987 | |
2018-05-03 | Merge remote-tracking branch 'isis/bug24660_r1' | Nick Mathewson | |
2018-05-02 | dirauth: Move authdir_mode_v3() to module | David 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-04-27 | mod: Move dirauth specific files to its own module | David Goulet | |
This is a pretty big commit but it only moves these files to src/or/dirauth: dircollate.c dirvote.c shared_random.c shared_random_state.c dircollate.h dirvote.h shared_random.h shared_random_state.h Then many files are modified to change the include line for those header files that have moved into a new directory. Without using --disable-module-dirauth, everything builds fine. When using the flag to disable the module, tor doesn't build due to linking errors. This will be addressed in the next commit(s). No code behavior change. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-22 | Rename node_has_descriptor() to node_has_any_descriptor() | Nick Mathewson | |
Changing the name of this function should help keep us from misusing it when node_has_preferred_descriptor() would be more appropriate. | |||
2018-04-22 | Use node_has_preferred_descriptor() in another case | Nick Mathewson | |
In router_add_running_nodes_to_smartlist(), we had an inline implementation of the logic from node_has_descriptor(), which should be changed to node_has_preferred_descriptor(). | |||
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-03-03 | Merge branch 'ticket23814' into maint-0.3.3 | Nick Mathewson | |
2018-02-12 | Merge branch 'maint-0.2.9' into maint-0.3.1 | Nick Mathewson | |
2018-02-12 | Merge branch 'bug23318-redux_029' into maint-0.2.9 | Nick Mathewson | |
2018-02-07 | more fixes for typos, grammar, whitespace, etc | Roger Dingledine | |
some of these ought to have been noticed by the "misspell" tool, so if anybody is debugging it, here are some bug reports :) | |||
2018-02-07 | Fix spelling mistakes corresponding to ticket #23650 | Deepesh Pathak | |
2018-01-31 | remove the max_failures argument from download_status_is_ready. | Nick Mathewson | |
2018-01-25 | Remove the old ("deterministic") download schedule. | Nick Mathewson | |
We haven't meant to use it since we introduced the random exponential schedule. Closes ticket 23814. | |||
2018-01-24 | Extract protover summary flags into a new structure | Nick Mathewson | |
This will let us use them on routerinfo_t as well as on routerstatus_t, and save some time on relays. No behavioral changes here. |