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-03 | Replace U64_LITERAL with the standard UINT64_C | Nick Mathewson | |
2018-07-01 | Remove system headers from or.h | Nick Mathewson | |
2018-07-01 | Extract addr_policy_t into a new header. | Nick Mathewson | |
2018-07-01 | Minimize headers that include crypto_formats and x25519 stuff | Nick Mathewson | |
2018-06-28 | Fix up the modules that include memarea.h (automated) | Nick Mathewson | |
2018-06-27 | Fix up include paths for sandbox.h (automated) | Nick Mathewson | |
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 | Move extend_info_t into its own header. | 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 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 ns_detached_signatures_st 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 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 | Split rend_authorized_client_t and encoded_.._t into their own headers | Nick Mathewson | |
2018-06-15 | Extract rend_intro_point_t into its own header. | Nick Mathewson | |
2018-06-15 | Extract rend_service_descriptor_t into its own header. | Nick Mathewson | |
2018-06-15 | Extract tor_version_t into its own header. | Nick Mathewson | |
2018-05-03 | Merge remote-tracking branch 'isis/bug24660_r1' | Nick Mathewson | |
2018-05-01 | sr: Rename shared_random_common.{c|h} to shared_random_client.{c|h} | David Goulet | |
No code behavior change. Pars of #25988 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-05-01 | Rename dirvote_common.{c|h} to voting_schedule.{c|h} | David Goulet | |
No code behavior change. Part of #25988 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-05-01 | ns: Move dirvote_get_voter_sig_by_alg() to networkstatus.c | David Goulet | |
It makes more sense to be in networkstatus.c so move it there and rename it with the "networkstatus_" prefix. Part of #25988 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-27 | dirvote: Move SR commit parsing into dirauth module | David Goulet | |
When parsing a vote in routerparse.c, only dirauth extract the commits from the vote so move all this code into dirvote.c so we can make it specific to the dirauth module. If the dirauth module is disabled, the commit parsing does nothing. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-27 | dirvote: Rename voter_get_sig_by_algorithm() | David Goulet | |
In order to follow the public namespace of dirvote. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-27 | dirvote: Extract shared functions to common file | David Goulet | |
No code behavior change. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-04-27 | sr: Extract shared SR functions | David Goulet | |
Move most of the shared random functions that are needed outside of the dirauth module. At this commit, because dirvote.c hasn't been refactor, it doesn't compile because some SR functions need a dirvote function. Furthermore, 5 functions haven't been touched yet because they are dirauth only but are in used in other C files than the dirauth module ones. No code behavior change. Only moving code around. 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 | Remove MIN_METHOD_FOR_{SHARED_RANDOM,EXCLUDING_INVALID_NODES} | Nick Mathewson | |
Also remove client detection for pre-EXCLUDING_INVALID_NODES consensuses, and a test for that detection. | |||
2018-04-06 | refactor: Alphabetise some includes in /src/or/*. | Isis Lovecruft | |
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-01-31 | Fix a failing unit test. | Nick Mathewson | |
When we stopped looking at the "protocols" variable directly, we broke the hs_service/build_update_descriptors test, since it didn't actually update any of the flags. The fix here is to call summarize_protover_flags() from that test, and to expose summarize_protover_flags() as "STATIC" from routerparse.c. | |||
2018-01-31 | Look at the correct protocol for supports_v3_rendezvous_point | Nick Mathewson | |
Fixes bug 25105; bugfix on 0.3.2.1-alpha. | |||
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 | Also cache the protover summary in the routerinfo_t, if we're using that | Nick Mathewson | |
2018-01-24 | Extract code to summarize protocol versions into new function | Nick Mathewson | |
This will let us put this summary into routerinfo_t too. No behavior change. | |||
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. | |||
2017-11-09 | Merge branch 'ticket20895' | Nick Mathewson | |
2017-11-01 | easy typos while reviewing commits | Roger Dingledine | |
2017-09-15 | Merge branch 'scan-build-032' | Nick Mathewson | |