Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-26 | Rename confparse.[ch] identifiers to confmgt.[ch] identifiers. | Nick Mathewson | |
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ confparse.h confmgt.h \ confparse.c confmgt.c \ CONFPARSE_PRIVATE CONFMGT_PRIVATE \ TOR_CONFPARSE_H TOR_CONFMGT_H | |||
2019-10-24 | Merge remote-tracking branch 'tor-github/pr/1447' | teor | |
2019-10-23 | Tidy whitespace around some STMT_BEGINs and STMT_ENDs | teor | |
2019-10-22 | Re-run make autostyle. | Nick Mathewson | |
2019-10-22 | Merge branch 'ticket31705_v2' into ticket31705_v2_merged | Nick Mathewson | |
Conflicts: src/feature/dirparse/authcert_parse.c src/feature/dirparse/ns_parse.c src/feature/hs/hs_service.c src/lib/conf/conftesting.h src/lib/log/log.h src/lib/thread/threads.h src/test/test_options.c These conflicts were mostly related to autostyle improvements, with one or two due to doxygen fixes. | |||
2019-10-22 | test: Hide some test-declaration macro definitions to COCCI. | Nick Mathewson | |
(These ones cause parsing failures.) | |||
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-04-05 | crypto_format: Remove the return values from digest256_to_base64() | teor | |
... and ed25519_public_to_base64(). Also remove all checks for the return values, which were redundant anyway, because the functions never failed. Part of 29960. | |||
2019-03-26 | Merge branch 'tor-github/pr/842' | George Kadianakis | |
2019-03-26 | Merge branch 'tor-github/pr/709' | George Kadianakis | |
2019-03-26 | test/dir: add a 4th argument to dirserv_read_measured_bandwidths() | teor | |
Part of 29806. | |||
2019-03-26 | Merge branch 'ticket29806_035_squashed_merged' into ↵ | teor | |
ticket29806_040_squashed_merged | |||
2019-03-25 | Split getinfo handling into a new control_getinfo.c | Nick Mathewson | |
2019-03-21 | test/dir: add an extra argument to dirserv_read_measured_bandwidths() | teor | |
Part of 29806. | |||
2019-03-21 | Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_merged | teor | |
Copy and paste the vote=0 code from the old src/or/dirserv.c to the new src/feature/dirauth/bwauth.c. | |||
2019-03-21 | bwauth: Ignore bandwidth file lines with "vote=0" | juga0 | |
so that the relays that would be "excluded" from the bandwidth file because of something failed can be included to diagnose what failed, without still including these relays in the bandwidth authorities vote. Closes #29806. | |||
2019-02-20 | fixup! test_dir: Refactor common code out of the dir_format unit tests | teor | |
2019-02-19 | test_dir: Test descriptor variants | teor | |
Including: * relays and bridges, * no stats, basic stats, and all stats Part of 29017 and 29018. | |||
2019-02-19 | test_dir: Refactor common code out of the dir_format unit tests | teor | |
Also: * delete some obsolete code that was #if 0 * improve cleanup on failure * make the dir_format tests more consistent with each other * construct the descriptors using smartlist chunks This refactor is incomplete, because removing the remaining duplicate code would be time-consuming. Part of 29017 and 29018. | |||
2019-02-19 | test_dir: Test rsa + ed25519 extrainfo creation and parsing | teor | |
Also fix a missing mock in rsa-only parsing. | |||
2019-02-19 | test_dir: Split test_dir_formats into separate rsa and rsa_ed25519 tests | teor | |
2019-02-19 | test_dir: Unit tests for RSA-only router and extrainfo descriptor creation | teor | |
Tests 29017 and 29018. | |||
2019-02-13 | test: Add test to get the digest of a bw file | juga0 | |
2019-02-13 | bwauth: Add function to get the digest of a bw file | juga0 | |
2019-01-16 | Bump copyright date to 2019 | Nick Mathewson | |
2019-01-16 | Bump copyright date to 2019. | Nick Mathewson | |
2018-12-03 | Add tests for parsing each routerstatus flag. | Nick Mathewson | |
2018-10-31 | Merge branch 'networkstatus_mmap' into networkstatus_mmap_merge | Nick Mathewson | |
2018-10-01 | Remove versions.h include from routerparse.h | Nick Mathewson | |
2018-10-01 | extract networkstatus parsing to its own file. | Nick Mathewson | |
2018-10-01 | Pull detached-signatures code into dirauth. | Nick Mathewson | |
2018-10-01 | Split the authority-cert and signature/hash code from routerparse | Nick Mathewson | |
2018-10-01 | Extract logic for dumping unparseable junk from routerparse.c | Nick Mathewson | |
2018-10-01 | Move routerparse and parsecommon to their own module. | Nick Mathewson | |
2018-09-25 | Revise things that had included router.h before | Nick Mathewson | |
Make them only include the headers that they needed, and sort their headers while we're at it. | |||
2018-09-25 | Extract all the "am I a server" functions from router.c | 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-20 | Split most of dirserv.c into several new modules | Nick Mathewson | |
In dirauth: * bwauth.c reads and uses bandwidth files * guardfraction.c reads and uses the guardfraction file * reachability.c tests relay reachability * recommend_pkg.c handles the recommended-packages lines. * recv_descs.c handles fingerprint files and processing incoming routerinfos that relays upload to us * voteflag.c computes flag thresholds and sets those thresholds on routerstatuses when computing votes In control: * fmt_serverstatus.c generates the ancient "v1 server status" format that controllers expect. In nodelist: * routerstatus_fmt.c formats routerstatus entries for a consensus, a vote, or for the controller. | |||
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 | 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-08-29 | router: Keep RSA onion public key in ASN.1 format | David Goulet | |
The OpenSSL "RSA" object is currently 408 bytes compares to the ASN.1 encoding which is 140 for a 1024 RSA key. We save 268 bytes per descriptor (routerinfo_t) *and* microdescriptor (microdesc_t). Scaling this to 6000 relays, and considering client usually only have microdescriptors, we save 1.608 MB of RAM which is considerable for mobile client. This commit makes it that we keep the RSA onion public key (used for TAP handshake) in ASN.1 format instead of an OpenSSL RSA object. Changes is done in both routerinfo_t and microdesc_t. Closes #27246 Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2018-07-30 | Merge remote-tracking branch 'juga/ticket3723_03_squashed_rebased' | Nick Mathewson | |
2018-07-18 | Add some missing includes and struct declarations. | Nick Mathewson | |
2018-07-18 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-07-18 | Merge branch 'maint-0.3.3' into maint-0.3.4 | Nick Mathewson | |
2018-07-18 | Merge branch 'maint-0.3.2' into maint-0.3.3 | Nick Mathewson | |
2018-07-18 | Merge branch 'maint-0.2.9' into maint-0.3.2 | Nick Mathewson | |
2018-07-18 | Add a test for format_recommended_version_list. | Nick Mathewson | |
2018-07-16 | Add tests for max length bw file headers | juga0 | |