Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-04 | test: Add prop224 directory cache unit tests | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-11-04 | prop224: Directory cache support | David Goulet | |
This implements the proposal 224 directory descriptor cache store and lookup functionalities. Furthermore, it merges the OOM call for the HSDir cache with current protocol v2 and the new upcoming v3. Add hs_cache.{c|h} with store/lookup API. Closes #18572 Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-11-04 | test: Add prop224 descriptor unit tests | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-11-04 | prop224: Descriptor decoding implementation | David Goulet | |
Closes #18571 Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-11-04 | prop224: Descriptor encoding implementation | David Goulet | |
Add hs_descriptor.{c|h} with the needed ABI to represent a descriptor and needed component. Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-11-04 | prop224: Add new cert type for hidden service | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-11-04 | trunnel: Uncomment link_specifier so we can use it | David Goulet | |
Also add a trunnel definition for link_specifier_list Signed-off-by: John Brooks <special@torproject.org> Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-11-04 | Move token parsing code to parsecommon.{c|h} | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-11-04 | hs: Refactor rend_data_t for multi version support | David Goulet | |
In order to implement proposal 224, we need the data structure rend_data_t to be able to accomodate versionning that is the current version of hidden service (2) and the new version (3) and future version. For that, we implement a series of accessors and a downcast function to get the v2 data structure. rend_data_t becomes a top level generic place holder. The entire rend_data_t API has been moved to hs_common.{c|h} in order to seperate code that is shared from between HS versions and unshared code (in rendcommon.c). Closes #19024 Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-08-26 | Avoid asserts in oos/kill_conn_list unit test | Andrea Shepard | |
2016-08-26 | Fix OOS comparator fix | Andrea Shepard | |
2016-08-25 | Fix duplicated if condition in connection.c | David Goulet | |
Furthermore, fix a test that could returned an uninitialized value. Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2016-08-25 | Merge remote-tracking branch 'andrea/ticket18640_v3' | Nick Mathewson | |
2016-08-24 | bump to 0.2.9.2-alpha-dev | Nick Mathewson | |
2016-08-24 | make check-spaces fixes | Nick Mathewson | |
2016-08-24 | Bump to 0.2.9.2-alpha | Nick Mathewson | |
2016-08-24 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-08-24 | Fix path selection on firewalled clients | teor | |
Signed-off-by: teor <teor2345@gmail.com> | |||
2016-08-24 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-08-24 | Merge branch 'maint-0.2.7' into maint-0.2.8 | Nick Mathewson | |
2016-08-24 | Replace Tonga with Bifroest. | Isis Lovecruft | |
* FIXES #19728: https://bugs.torproject.org/19728 * CLOSES #19690: https://bugs.torproject.org/19690 | |||
2016-08-23 | Fix some comments in sandbox.c | Nick Mathewson | |
Closes ticket 19942; patch from "cypherpunks" | |||
2016-08-23 | Merge remote-tracking branch 'jigsaw/fix-17758' | Nick Mathewson | |
2016-08-23 | Merge remote-tracking branch 'jigsaw/fix-15381' | Nick Mathewson | |
2016-08-23 | Use tor_assert, not assert. | Nick Mathewson | |
2016-08-23 | Merge branch 'bug13953_squashed' | Nick Mathewson | |
2016-08-23 | Reword the router_check_descriptor_address_port_consistency log message | teor | |
The new message covers static and dynamic public IPv4 addresses, and external / internal addresses in NAT setups. | |||
2016-08-23 | Merge remote-tracking branch 'asn/bug19872_v2' | Nick Mathewson | |
2016-08-23 | Introduce ed25519_{sign,checksig}_prefixed functions(). | George Kadianakis | |
2016-08-22 | Merge branch 'maint-0.2.8' | Nick Mathewson | |
2016-08-22 | Do not pass NULL to log(%s) in dir_server_new. | Nick Mathewson | |
This bug had existed since 0.2.4.7-alpha, but now that we have FallbackDirs by default, it actually matters. Fixes bug 19947; bugfix on 0.2.4.7-alpha or maybe 0.2.8.1-alpha. Rubiate wrote the patch; teor wrote the changes file. | |||
2016-08-20 | Use connection_mark_for_close() rather than connection_mark_on_flush() on OOS | Andrea Shepard | |
2016-08-20 | Add DisableOOSCheck option, on by default until we have better heuristics | Andrea Shepard | |
2016-08-20 | Consider the case that a connection doesn't have a valid socket during OOS | Andrea Shepard | |
2016-08-20 | Add connection_is_moribund() inline | Andrea Shepard | |
2016-08-20 | Use SMARTLIST_FOREACH in connection_count_moribund() per code review | Andrea Shepard | |
2016-08-20 | s/connection_handle_oos/connection_check_oos/g per code review | Andrea Shepard | |
2016-08-20 | Unit test for pick_oos_victims() | Andrea Shepard | |
2016-08-20 | Unit test for kill_conn_list_for_oos() | Andrea Shepard | |
2016-08-20 | Unit test for connection_handle_oos() | Andrea Shepard | |
2016-08-20 | Implement OOS comparator | Andrea Shepard | |
2016-08-20 | Implement pick_oos_victims() except for sort step | Andrea Shepard | |
2016-08-20 | Implement kill_conn_list_for_oos() | Andrea Shepard | |
2016-08-20 | Stub out pick_oos_victims() and kill_conn_list_for_oos() | Andrea Shepard | |
2016-08-20 | Implement connection_count_moribund() for OOS handler | Andrea Shepard | |
2016-08-20 | Don't say OOS unless the ConnLimit thresholds have been set | Andrea Shepard | |
2016-08-20 | Stub out connection_handle_oos() and call it from places we can change the ↵ | Andrea Shepard | |
socket count or thresholds | |||
2016-08-20 | Compute thresholds for OOS from ConnLimit_ when setting options | Andrea Shepard | |
2016-08-19 | Log a warning when Testing options are deprecated. | Nick Mathewson | |
2016-08-19 | Add comments to explain when things were deprecated | Nick Mathewson | |