Age | Commit message (Collapse) | Author |
|
|
|
|
|
Move this complex check into its own function.
Part of 33222.
|
|
Move common build state to node selection flags conversion code into its
own function.
Part of 33222.
|
|
Preparation for testing circuit_extend().
Part of 33633.
|
|
Part of 33633.
|
|
Move the relay-only circuit building functions into a new file.
Part of 33633.
|
|
Move inform_testing_rechability() to the relay module, and disable it
when the relay module is disabled.
Part of 33633.
|
|
Also fix some memleaks of other OB unittests.
|
|
|
|
- Move test-only cpath_get_n_hops() to crypt_path.c.
- Move onion_next_hop_in_cpath() and rename to cpath_get_next_non_open_hop().
The latter function was directly accessing cpath->state, and it's a first step
at hiding ->state.
|
|
Everything is moved, but the argument of the function is edited to access
->private->crypto.
|
|
This commit only moves code.
|
|
|
|
|
|
node_has_preferred_descriptor()
|
|
|
|
Remove support for Tor2web in the code and build system. At this commit, tor
doesn't have Tor2web support anymore.
Ref: https://lists.torproject.org/pipermail/tor-dev/2018-July/013295.html
Close #26367
Signed-off-by: David Goulet <dgoulet@torproject.org>
|
|
This commit won't build yet -- it just puts everything in a slightly
more logical place.
The reasoning here is that "src/core" will hold the stuff that every (or
nearly every) tor instance will need in order to do onion routing.
Other features (including some necessary ones) will live in
"src/feature". The "src/app" directory will hold the stuff needed
to have Tor be an application you can actually run.
This commit DOES NOT refactor the former contents of src/or into a
logical set of acyclic libraries, or change any code at all. That
will have to come in the future.
We will continue to move things around and split them in the future,
but I hope this lays a reasonable groundwork for doing so.
|