aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-09test/circuitbuild: Add a test for onionskin_answer()teor
Part of 33633.
2020-04-09changes: file for 33633teor
2020-04-09relay/circuitbuild: Refactor circuit_extend()teor
Make the "else" case explicit at the end of the function. Part of 33633.
2020-04-09test/circuitbuild: Add tests for circuit_extend()teor
Part of 33633.
2020-04-09core/or: Make some functions mockableteor
Preparation for testing circuit_extend(). Part of 33633.
2020-04-09channel: Rewrite the channel_get_for_extend() commentsteor
Explain what the function does now. Fix some typos. Part of 33633.
2020-04-09test/circuitbuild: Add tests for open_connection_for_extendteor
Part of 33633.
2020-04-09circuitbuild: Make some functions mockableteor
Part of 33633.
2020-04-09test/circuitbuild: Add tests for extend_lspec_validteor
Part of 33633.
2020-04-09test/circuitbuild: Make some tests forkteor
Since we're testing IF_BUG_ONCE(), we need to fork. Part of 33633.
2020-04-09test/circuitbuild: Tests for adding ed25519 keysteor
Add tests for circuit_extend_add_ed25519_helper(). Part of 33633.
2020-04-09nodelist: Make some functions mockableteor
Part of 33633.
2020-04-09test/circuitbuild: Add a test for extend_state_validteor
Part of 33633.
2020-04-09test/circuitbuid: Fix new_route_len_unhandled_exitteor
Make test_new_route_len_unhandled_exit more robust, by always tearing down logs. (Rather than just tearing them down on success.)
2020-04-09test/circuitbuild: Refactor test case arrayteor
Avoid repeating test names. Part of 33633.
2020-04-09relay: End circuitbuild logs with "."teor
Consistent logs make testing easier. Part of 33633.
2020-04-09relay: Check for NULL arguments in circuitbuildteor
Part of 33633.
2020-04-09relay: Make circuitbuild functions STATICteor
Allow the circuitbuild_relay functions to be accessed by the unit tests. Part of 33633.
2020-04-09relay: Remove a redundant function return valueteor
Part of 33633.
2020-04-09relay: Split out opening a connection for an extendteor
Part of 33633.
2020-04-09relay: Refactor some long lines from circuit_extend()teor
Part of 33633.
2020-04-09relay: Split link specifier checks from circuit_extend()teor
Part of 33633.
2020-04-09relay: Split state checks out of circuit_extend()teor
Part of 33633.
2020-04-09relay: Improve the comments on onionskin_answer()teor
Part of 33633.
2020-04-09relay: Protocol warn when a client gets an extendteor
circuit_extend() may be called when a client receives an extend cell, even if the relay module is disabled. Log a protocol warning when the relay module is disabled. Part of 33633.
2020-04-01Move LOG_PROTOCOL_WARN to app/config.hteor
LOG_PROTOCOL_WARN was in core/or.h, but the function it depends on is in app/config.h. Put them in the same header, to reduce dependencies. Part of 33633.
2020-03-20relay: Split out relay-only circuit buildingteor
Move the relay-only circuit building functions into a new file. Part of 33633.
2020-03-20relay: Move inform_testing_rechability() to relayteor
Move inform_testing_rechability() to the relay module, and disable it when the relay module is disabled. Part of 33633.
2020-03-20relay: Re-order selftest headerteor
The selftest header declares functions, and stubs for when the relay module is disabled. Put the functions and stubs in the same order. Part of 33633.
2020-03-20Merge branch 'maint-0.4.3'teor
2020-03-20Merge branch 'maint-0.4.2' into maint-0.4.3teor
2020-03-20Merge branch 'maint-0.4.1' into maint-0.4.2teor
2020-03-19Merge branch 'ticket33643_skip_035' into ticket33643_skip_041Nick Mathewson
2020-03-19Appveyor: disable crypto/openssl_versionNick Mathewson
2020-03-19Add a TOR_SKIP_TESTCASES environment variable for suppressing tests.Nick Mathewson
For example, "TOR_SKIP_TESTCASES=crypto/.. ./src/test/test" will run the tests and suppress all the "crypto/" tests. You could get the same effect by running "./src/test/test :crypto/..", but that can be harder to arrange from CI. Part of a fix/workaround for 33643.
2020-03-19Fix erroneous spaces in circuitmux_ewma.cNeel Chauhan
2020-03-19Merge branch 'tor-github/pr/1778'George Kadianakis
2020-03-19Remove changes files that have appeared in 0.4.3.3-alphaNick Mathewson
(findMergedChanges.pl is the tool to do this.)
2020-03-19Merge remote-tracking branch 'tor-github/pr/1807/head'Nick Mathewson
2020-03-19Merge branch 'tor-github/pr/1792'George Kadianakis
2020-03-19changes: Add changes file for ticket 33458David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-19hs-v3: Improve accessor semantic of client cached objectDavid Goulet
Add an inline helper function that indicates if the cached object contains a decrypted descriptor or not. The descriptor object is NULL if tor is unable to decrypt it (lacking client authorization) and some actions need to be done only when we have a decrypted object. This improves code semantic. Fixes #33458 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-19Merge branch 'maint-0.4.3'teor
2020-03-19doc: Fix a manual page typoteor
And consistently talk about extra-info document publishing. Obviously correct documentation changes.
2020-03-19coverity: Silence spurious unreachable warningteor
Closes bug 33641; not in any released version of tor.
2020-03-19Merge branch 'maint-0.4.3'teor
2020-03-19practracker: Regenerate exceptions fileteor
Accept the current state of the tor codebase, including all the files and functions that have increased technical debt over the last few months. Accepts all the current practracker warnings, so that reviewers can focus on new warnings. Closes ticket 33635.
2020-03-19Merge remote-tracking branch 'tor-github/pr/1806' into maint-0.4.3teor
2020-03-19fix typo in commentRoger Dingledine
2020-03-19doc: Fix a man page typoteor
Obviously correct changes to already-reviewed code.