Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-14 | addr: Use tor_addr_t instead of uint32_t for IPv4 | David Goulet | |
This changes a LOT of code but in the end, behavior is the same. Unfortunately, many functions had to be changed to accomodate but in majority of cases, to become simpler. Functions are also removed specifically those that were there to convert an IPv4 as a host format to a tor_addr_t. Those are not needed anymore. The IPv4 address field has been standardized to "ipv4_addr", the ORPort to "ipv4_orport" (currently IPv6 uses ipv6_orport) and DirPort to "ipv4_dirport". This is related to Sponsor 55 work that adds IPv6 support for relays and this work is needed in order to have a common interface between IPv4 and IPv6. Closes #40043. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2020-01-08 | It's 2020. Update the copyright dates with "make update-copyright" | Nick Mathewson | |
2019-07-25 | test: Use a 64-bit comparison for logging domains. | Nick Mathewson | |
2019-01-16 | Bump copyright date to 2019 | Nick Mathewson | |
2019-01-09 | Merge branch 'bug28591_035_squashed' | 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-14 | Move buffers.c out of lib/containers to resolve a circularity. | Nick Mathewson | |
2018-10-31 | Merge branch 'networkstatus_mmap' into networkstatus_mmap_merge | Nick Mathewson | |
2018-10-01 | Remove routerparse include from files that dont use it | Nick Mathewson | |
2018-10-01 | extract networkstatus parsing to its own file. | Nick Mathewson | |
2018-10-01 | Split the authority-cert and signature/hash code from routerparse | 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-09-19 | Split routerlist.c into 4 separate modules | Nick Mathewson | |
There are now separate modules for: * the list of router descriptors * the list of authorities and fallbacks * managing authority certificates * selecting random nodes | |||
2018-09-11 | Followup: Make authority_cert_parse_from_string() take length too | Nick Mathewson | |
2018-09-11 | Replace "read consensus from disk" with "map consensus from disk". | Nick Mathewson | |
Implements 27244, and should save a bunch of RAM on clients. | |||
2018-09-11 | Revise networkstatus parsing code to use lengths | Nick Mathewson | |
This way the networkstatus can be parsed without being NUL-terminated, so we can implement 27244 and mmap our consensus objects. | |||
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-01 | Extract or_state_t to its own header. | Nick Mathewson | |
Fewer modules needed this than I had expected. | |||
2018-07-01 | Remove other needless includes include from or/*.h | Nick Mathewson | |
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 | Expunge container.h | Nick Mathewson | |
2018-06-22 | Rectify include paths after container split (automatic) | 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 routerstatus_t into its own header. | Nick Mathewson | |
2018-06-15 | Extract authority_cert_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 | Split dir_connection_t into its own header | Nick Mathewson | |
2018-05-08 | Improve tolerance for dirauths with skewed clocks | Taylor Yu | |
Previously, an authority with a clock more than 60 seconds ahead could cause a client with a correct clock to warn that the client's clock was behind. Now the clocks of a majority of directory authorities have to be ahead of the client before this warning will occur. Relax the early-consensus check so that a client's clock must be 60 seconds behind the earliest time that a given sufficiently-signed consensus could possibly be available. Add a new unit test that calls warn_early_consensus() directly. Fixes bug 25756; bugfix on 0.2.2.25-alpha. | |||
2018-05-08 | Test early-consensus clock skew warnings | Taylor Yu | |
2018-05-08 | tests: Add "now" param to construct_consensus() | Taylor Yu | |
construct_consensus() in test_routerlist.c created votes using a timestamp from time(). Tests that called construct_consensus() might have nondeterministic results if they rely on time() not changing too much on two successive calls. Neither existing of the two existing tests that calls construct_consensus is likely to have a failure due to this problem. | |||
2018-05-03 | Merge remote-tracking branch 'isis/bug24660_r1' | Nick Mathewson | |
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-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 | |||
2017-12-08 | Rename connection_free_ to connection_free_minimal. | Nick Mathewson | |
2017-11-09 | Fix unit test behavior: we need to be in STATE_LIVE. | Nick Mathewson | |
2017-11-01 | test: Fix SR initialization in routerlist test | David Goulet | |
Fixes #24053 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-10-25 | Fix offending unittest and add changes file for #23862. | George Kadianakis | |
2017-10-25 | Add a unittest that reveals the offending case of #23862. | George Kadianakis | |
2017-08-24 | apply ahf's test_assert_null.cocci | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_int.cocci | Nick Mathewson | |
2017-08-24 | Fix operator usage in src/test/*.c | Alexander Færøy | |
This patch fixes the operator usage in src/test/*.c to use the symbolic operators instead of the normal C comparison operators. This patch was generated using: ./scripts/coccinelle/test-operator-cleanup src/test/*.[ch] | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2017-01-18 | Remove the (no longer compiled) code for legacy guard selection. | Nick Mathewson | |
Part of 20830. | |||
2016-12-16 | Wrap all of the legacy guard code, and its users, in #ifdefs | Nick Mathewson | |
This will make it easier to see what we remove down the line. | |||
2016-10-19 | Compilation fix. (function pointer implicit cast in tests.) | Nick Mathewson | |
2016-09-25 | Abolish globals in entrynodes.c; relativize guard context to new ↵ | Andrea Shepard | |
guard_selection_t structure |