Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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 | |
2018-07-16 | Add test with NULL bw_file_header | juga0 | |
and complete v1.0.0 bandwidth file | |||
2018-07-16 | Move bandwidth file tests to same function | juga0 | |
also add tests for bw_file_headers. Headers are all that is found before a correct relay line or the terminator. Tests include: * a empty bandwidth file * a bandwidth file with only timestamp * a bandwidth file with v1.0.0 headers * a bandwidth file with v1.0.0 headers and relay lines * a bandwidth file with v1.1.0 headers and v1.0.0 relay lines * a bandwidth file with v1.0.0 headers, malformed relay lines and relay lines * a bandwidth file with v1.0.0 headers, malformed relay lines, relay lines and malformed relay lines * a bandwidth file with v1.1.0 headers without terminator * a bandwidth file with v1.1.0 headers with terminator * a bandwidth file with v1.1.0 headers without terminator and relay lines * a bandwidth file with v1.1.0 headers with terminator and relay lines * a bandwidth file with v1.1.0 headers without terminator, bad relay lines and relay lines * a bandwidth file with v1.1.0 headers with terminator, bad relay lines and relay lines | |||
2018-07-16 | Add the Bandwidth List file headers to votes | juga0 | |
* add bwlist_headers argument to dirserv_read_measured_bandwidth in order to store all the headers found when parsing the file * add bwlist_headers to networkstatus_t in order to store the the headers found by the previous function * include the bandwidth headers as string in vote documents * add test to check that dirserv_read_measured_bandwidth generates the bwlist_headers | |||
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-03 | Merge remote-tracking branch 'github/ticket26626' | Nick Mathewson | |
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 more constants 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-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-29 | Extract get_uname to lib/osinfo. | Nick Mathewson | |
2018-06-28 | Fix up the modules that include memarea.h (automated) | Nick Mathewson | |
2018-06-25 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-06-24 | Add some casts to get test_dir.c compiling on windows. | Nick Mathewson | |
Fixed bug 26479. Bug introduced by 0a6f4627a4292e4; bug not in any released version. | |||
2018-06-21 | Rectify include paths (automated) | Nick Mathewson | |
2018-06-20 | Run rectify_include_paths.py | Nick Mathewson | |
2018-06-20 | Merge branch 'maint-0.3.4' | Nick Mathewson | |
2018-06-20 | eol@eof in test-dir.c | 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 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 | Move fp_pair_t declaration to fp_pair.h. | Nick Mathewson | |