summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fixup! Implement part of HS descriptor encode functionticket18571_029_02-encode-fixupsJohn Brooks2016-05-11
| | | | create2_formats
* fixup! Implement part of HS descriptor encode functionJohn Brooks2016-05-11
|
* squash! trunnel: Uncomment link_specifier so trunnel can use itJohn Brooks2016-05-11
| | | | Also add a trunnel definition for link_specifier_list
* fixup! Implement part of HS descriptor encode functionJohn Brooks2016-05-11
| | | | The authentication-required field was accidentally omitted.
* fixup! test: Add HS descriptor encoding unit testsJohn Brooks2016-05-11
| | | | Use the correct cert_type for certificates
* fixup! Implement part of HS descriptor encode functionJohn Brooks2016-05-11
| | | | Fix the formatting of the introduction point enc-key lines
* fixup! Implement part of HS descriptor encode functionJohn Brooks2016-05-11
| | | | | Fix a compile error under clang, and give trunnel host-endian IPv4 addresses, because it does the conversion to network order itself.
* fixup! test: Add HS descriptor encoding unit testsDavid Goulet2016-05-11
|
* fixup! Implement part of HS descriptor encode functionDavid Goulet2016-05-11
|
* fixup! Implement part of HS descriptor encode functionJohn Brooks2016-05-11
|
* fixup! test: Add HS descriptor encoding unit testsJohn Brooks2016-05-11
|
* fixup! test: Add HS descriptor encoding unit testsDavid Goulet2016-05-11
|
* fixup! Implement part of HS descriptor encode functionDavid Goulet2016-05-11
|
* fixup! Implement part of HS descriptor encode functionDavid Goulet2016-05-11
|
* test: Add HS descriptor encoding unit testsDavid Goulet2016-05-11
| | | | Signed-off-by: David Goulet <dgoulet@ev0ke.net>
* Implement part of HS descriptor encode functionDavid Goulet2016-05-11
| | | | | | | | Add hs_descriptor.{c|h} with the needed ABI to represent a descriptor and needed component. This adds a function also to encode but not finished nor tested (but it compiles!). Signed-off-by: David Goulet <dgoulet@ev0ke.net>
* trunnel: Uncomment link_specifier so trunnel can use itDavid Goulet2016-05-11
| | | | Signed-off-by: David Goulet <dgoulet@ev0ke.net>
* Move token parsing code to parsecommon.{c|h}David Goulet2016-05-11
| | | | Signed-off-by: David Goulet <dgoulet@ev0ke.net>
* Merge remote-tracking branch 'public/bug18815'Nick Mathewson2016-05-11
|\
| * Change UseOptimisticData default to 1.Nick Mathewson2016-04-18
| | | | | | | | | | | | | | This lets us use optimistic data for downloading our initial consensus. Closes ticket 18815.
* | Add changes file for ticket 16698Nick Mathewson2016-05-11
| |
* | Merge branch 'maint-0.2.8'Roger Dingledine2016-05-11
|\ \
| * \ Merge branch 'maint-0.2.7' into maint-0.2.8Roger Dingledine2016-05-11
| |\ \
| | * | unbreak the build (when warnings are enabled)Roger Dingledine2016-05-11
| | | |
* | | | Merge branch 'ticket16698_v2'Nick Mathewson2016-05-11
|\ \ \ \
| * | | | Fix comment for directory_handle_command_getNick Mathewson2016-05-11
| | | | |
| * | | | Split directory_handle_command_get into subfunctions.Nick Mathewson2016-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was one of our longest functions, at 600 lines. It makes a nice table-driven URL-based function instead. The code is a bit ugly, it leave the indentation as it is in hopes of making pending directory.c changes easier to merge. Later we can clean up the indentation. Also, remove unused mallinfo export code from directory.c Closes ticket 16698
* | | | | Merge branch 'pubsub_squashed'Nick Mathewson2016-05-11
|\ \ \ \ \
| * | | | | Basic work on a publish/subscribe abstractionNick Mathewson2016-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal here is to provide a way to decouple pieces of the code that want to learn "when something happens" from those that realize that it has happened. The implementation here consists of a generic backend, plus a set of macros to define and implement a set of type-safe frontends.
* | | | | | Merge remote-tracking branch 'arma/feature18760'Nick Mathewson2016-05-11
|\ \ \ \ \ \
| * | | | | | encourage rejected relays to contact usRoger Dingledine2016-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the directory authorities refuse a bad relay's descriptor, encourage the relay operator to contact us. Many relay operators won't notice this line in their logs, but it's a win if even a few learn why we don't like what their relay was doing. Resolves ticket 18760. I didn't specify a contact mechanism (e.g. an email address), because every time we've done that in the past, a few years later we noticed that the code was pointing people to an obsolete contact address.
* | | | | | | Merge branch 'maint-0.2.8'Nick Mathewson2016-05-11
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge remote-tracking branch 'teor/bug18816_simplify' into maint-0.2.8Nick Mathewson2016-05-11
| |\ \ \ \ \ \
| | * | | | | | Confim we want certificates from fallbacksteor (Tim Wilson-Brown)2016-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comment-only change
| | * | | | | | Revert "Switch between fallback and authority when auth cert fetch fails"teor (Tim Wilson-Brown)2016-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 92d7ee08b8c51b4b29f68c6d00ca4aa91ea5a66b.
* | | | | | | | Merge branch 'maint-0.2.8'Nick Mathewson2016-05-11
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson2016-05-11
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | / / | | | |_|_|/ / | | |/| | | |
| | * | | | | Merge remote-tracking branch 'special/bug19032-027' into maint-0.2.7Nick Mathewson2016-05-11
| | |\ \ \ \ \
| | | * | | | | Fix out-of-bounds write during voting with duplicate ed25519 keysbug19032-027John Brooks2016-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In dirserv_compute_performance_thresholds, we allocate arrays based on the length of 'routers', a list of routerinfo_t, but loop over the nodelist. The 'routers' list may be shorter when relays were filtered by routers_make_ed_keys_unique, leading to an out-of-bounds write on directory authorities. This bug was originally introduced in 26e89742, but it doesn't look possible to trigger until routers_make_ed_keys_unique was introduced in 13a31e72. Fixes bug 19032; bugfix on tor 0.2.8.2-alpha.
* | | | | | | | Merge branch 'maint-0.2.8'Nick Mathewson2016-05-11
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge branch 'bug18761_028_squashed' into maint-0.2.8Nick Mathewson2016-05-11
| |\ \ \ \ \ \ \
| | * | | | | | | Log find_rp_for_intro_() failures at LOG_PROTOCOL_WARN.Nick Mathewson2016-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes ticket 18761. Also fix a whitespace issue.
* | | | | | | | | Merge branch 'maint-0.2.8'Nick Mathewson2016-05-11
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge remote-tracking branch 'teor/bug18816-squashed' into maint-0.2.8Nick Mathewson2016-05-11
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Switch between fallback and authority when auth cert fetch failsteor (Tim Wilson-Brown)2016-05-10
| | | | | | | | | |
| | * | | | | | | | Use the consensus download schedule for authority certificatesteor (Tim Wilson-Brown)2016-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, we were using the generic schedule for some downloads, and the consensus schedule for others. Resolves ticket 18816; fix on fddb814fe in 0.2.4.13-alpha.
* | | | | | | | | | Merge branch 'maint-0.2.8'Nick Mathewson2016-05-11
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | / / | |_|_|_|_|_|_|/ / |/| | | | | | | |
| * | | | | | | | Merge branch 'maint-0.2.7' into maint-0.2.8Nick Mathewson2016-05-11
| |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | |
| | * | | | | | | Merge branch 'bug18841_1_025' into maint-0.2.7Nick Mathewson2016-05-11
| | |\ \ \ \ \ \ \ | | | |_|_|/ / / / | | |/| | | | | |
| | | * | | | | | Undefine _FORTIFY_SOURCE before defining it.Nick Mathewson2016-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes our compilation options checks in autoconf work better on systems that already define _FORTIFY_SOURCE. Fixes at least one case of bug 18841; bugfix on 0.2.3.17-beta. Patch from "trudokal".