| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | tor-circmgr: Give pick_path a VanguardMgr (fmt). | Gabriela Moldovan | 2024-03-20 | 1 | -4/+36 | |
| | | | ||||||
| * | | tor-circmgr: Give pick_path a VanguardMgr. | Gabriela Moldovan | 2024-03-20 | 3 | -6/+32 | |
| | | | ||||||
| * | | tor-circmgr: Tell HsPathBuilder what kind of circuit stub is needed (fmt). | Gabriela Moldovan | 2024-03-20 | 1 | -5/+2 | |
| | | | ||||||
| * | | tor-circmgr: Tell HsPathBuilder what kind of circuit stub is needed. | Gabriela Moldovan | 2024-03-20 | 4 | -7/+29 | |
| | | | ||||||
| * | | tor-guardmgr: Add a function for getting the current VanguardMode. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+5 | |
| | | | ||||||
| * | | tor-circmgr: Add more vanguards TODOs. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+2 | |
| | | | ||||||
| * | | tor-circmgr: Handle the take_or_launch_stub_circuit result. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+13 | |
| | | | ||||||
| * | | tor-circmgr: Make take_or_launch_stub_circuit vanguard-aware. | Gabriela Moldovan | 2024-03-20 | 1 | -8/+59 | |
| | | | ||||||
| * | | tor-circmgr: Add functions for checking if vanguards are enabled. | Gabriela Moldovan | 2024-03-20 | 3 | -0/+29 | |
| | | | ||||||
| * | | tor-circmgr: For each HS ClientCirc, note whether it's STUB or STUB+. | Gabriela Moldovan | 2024-03-20 | 2 | -29/+102 | |
| |/ | | | | Closes #1276 | |||||
| * | Add and use RelayCellFormatTrait | Jim Newsome | 2024-03-20 | 5 | -137/+168 | |
| | | | | | | | This lets us paramaterize types and functions by a particular relay cell format. We use this e.g. to statically parameterize the cell crypto functions, thereby removing some run-time branching in the hot path. | |||||
| * | Propagate RelayCellFormat selection up to where format decisions will be made | Jim Newsome | 2024-03-20 | 6 | -32/+92 | |
| | | ||||||
| * | Paramaterize layer crypto objects by cell format | Jim Newsome | 2024-03-20 | 3 | -25/+49 | |
| | | ||||||
| * | RelayCellBody: generalize over RelayCellFormat | Jim Newsome | 2024-03-20 | 2 | -13/+57 | |
| | | | | | | Different formats will use different ranges for the `recognized` and `digest` fields. | |||||
| * | Add tor_proto::util::ct::is_zero | Jim Newsome | 2024-03-20 | 1 | -0/+25 | |
| | | ||||||
| * | RelayCellBody::is_recognized: improve doc comment | Nick Mathewson | 2024-03-20 | 1 | -1/+7 | |
| | | ||||||
| * | RelayCellFormat::recognized -> is_recognized | Jim Newsome | 2024-03-20 | 1 | -3/+3 | |
| | | ||||||
| * | Merge branch 'clarify_n_hops' into 'main' | Nick Mathewson | 2024-03-19 | 1 | -6/+11 | |
| |\ | | | | | | | | | hsclient: Clarify "hs_hops" to avoid confusion. See merge request tpo/core/arti!2044 | |||||
| | * | hsclient: Clarify "hs_hops" to avoid confusion. | Nick Mathewson | 2024-03-14 | 1 | -6/+11 | |
| | | | | | | | | | | | | | | | With the new structure here, it's less likely that somebody will think this is the length of a circuit that we are building. See #1332 for an instance of what we're trying to prevent. | |||||
| * | | tor-ptmgr: Comment fixes | gabi-250 | 2024-03-14 | 2 | -2/+2 | |
| | | | ||||||
| * | | Add tests for configuring unmanaged transports | Nick Mathewson | 2024-03-14 | 1 | -11/+49 | |
| | | | | | | | | | | | Also, adapt the pt configuration tests to check for whether the error messages are as expected. | |||||
| * | | Add example unmanaged pluggable transport to config. | Nick Mathewson | 2024-03-14 | 1 | -0/+10 | |
| | | | ||||||
| * | | Move comment from factory_for_transport. | Nick Mathewson | 2024-03-14 | 1 | -21/+21 | |
| | | | ||||||
| * | | Clean up parts of the ptmgr docs that assume managed pts | Nick Mathewson | 2024-03-14 | 2 | -4/+8 | |
| | | | ||||||
| * | | Teach get_cmethod_for_transport to handle unmanaged transports. | Nick Mathewson | 2024-03-14 | 2 | -3/+23 | |
| | | | | | | | | | | | | | | | This will suffice to bypass the reactor when we're dealing with an unmanaged pluggable transport. Closes #755. | |||||
| * | | Lightly refactor get_cmethod_for_transport | Nick Mathewson | 2024-03-14 | 1 | -40/+41 | |
| | | | | | | | | | Now that it's extracted, we can remove a mut and some nesting. | |||||
| * | | Rename cmethods => managed_cmethods | Nick Mathewson | 2024-03-14 | 1 | -7/+11 | |
| | | | ||||||
| * | | Extract cmethod lookup from factory_for_transport. | Nick Mathewson | 2024-03-14 | 1 | -59/+77 | |
| | | | ||||||
| * | | Adapt TransportConfig to support unmanaged transports. | Nick Mathewson | 2024-03-14 | 2 | -8/+75 | |
| | | | | | | | | | | | | | | | | | | | | | | | This is based on an original branch by Trinity. Instead of its original approach, which used an enum in the configuration to distinguish managed from unmanaged transports, this branch uses builder validation function to ensure that incompatible options aren't used together. Doing the lets us generate better error messages. Thanks: trinity-1686a <[email protected]> | |||||
| * | | Rename ManagedTransportConfig to TransportConfig. | Nick Mathewson | 2024-03-14 | 4 | -19/+19 | |
| |/ | | | | We're going to start using this type for _every_ kind of transport. | |||||
| * | tor-circmgr: Move pick_path out of AnonymousCircuitBuilder. | Gabriela Moldovan | 2024-03-14 | 4 | -165/+193 | |
| | | | | | This enables us to make `AnonymousCircuitBuilder` private. | |||||
| * | tor-circmgr: Improve the HsPathBuilder docs. | Gabriela Moldovan | 2024-03-14 | 1 | -0/+20 | |
| | | ||||||
| * | tor-circmgr: Remove unused require_stability. | Gabriela Moldovan | 2024-03-14 | 2 | -16/+1 | |
| | | ||||||
| * | tor-circmgr: Add a TODO about vanguards path selection. | Gabriela Moldovan | 2024-03-14 | 1 | -0/+24 | |
| | | ||||||
| * | tor-circmge: Remove AnyRelayForOnionService. | Gabriela Moldovan | 2024-03-14 | 1 | -34/+0 | |
| | | ||||||
| * | tor-circmgr: Use HsPathBuilder instead of ExitPathBuilder. | Gabriela Moldovan | 2024-03-14 | 1 | -6/+7 | |
| | | ||||||
| * | tor-circmgr: Add a new hspath module for building onion service circuits. | Gabriela Moldovan | 2024-03-14 | 2 | -0/+78 | |
| | | ||||||
| * | tor-circmgr: Implement AnonymousPathBuilder for ExitPathBuilder. | Gabriela Moldovan | 2024-03-14 | 2 | -162/+27 | |
| | | ||||||
| * | tor-circmgr: Add AnonymousPathBuilder trait. | Gabriela Moldovan | 2024-03-14 | 1 | -4/+177 | |
| | | | | | | | | | | | The `pick_path()` default implementation is an almost verbatim copy of `ExitPathBuilder::pick_path()`. The only difference is that instead of using values from `self`, the `AnonymousPathBuilder::pick_path()` uses the values returned by the different `AnonymousPathBuilder` functions (i.e., `AnonymousPathBuilder::pick_exit()` instead of `self.pick_exit()`, `AnonymousPathBuilder::compatible_with()` instead of `self.compatible_with`, etc.). | |||||
| * | Merge branch 'encapsulate_config_rs' into 'main' | Nick Mathewson | 2024-03-13 | 16 | -104/+158 | |
| |\ | | | | | | | | | Encapsulate usage of config-rs inside tor-config. See merge request tpo/core/arti!2040 | |||||
| | * | Grammar fix. | gabi-250 | 2024-03-13 | 1 | -1/+1 | |
| | | | ||||||
| | * | Remove now-needless dependencies on the "config" crate | Nick Mathewson | 2024-03-13 | 3 | -4/+2 | |
| | | | | | | | | | | | arti and arti-testing no longer need it; tor-config no longer needs it in dev-dependencies. | |||||
| | * | tor-config: Update documentation to not refer to config crate. | Nick Mathewson | 2024-03-13 | 4 | -11/+12 | |
| | | | ||||||
| | * | config: Remove From impls from config::ConfigError | Nick Mathewson | 2024-03-13 | 4 | -18/+18 | |
| | | | | | | | | | These are another case of exposing the config crate. | |||||
| | * | tor-config: Put config::Config inside a wrapper type. | Nick Mathewson | 2024-03-13 | 7 | -24/+35 | |
| | | | | | | | | | This will let us replace Config with something better. | |||||
| | * | Use ConfigurationSource::Verbatim in our tests. | Nick Mathewson | 2024-03-13 | 3 | -23/+41 | |
| | | | ||||||
| | * | tor-config: Allow ConfigurationSource to be verbatim text. | Nick Mathewson | 2024-03-13 | 4 | -14/+32 | |
| | | | | | | | | | | | This will let us test our configuration logic without having to use the `config` crate directly. | |||||
| | * | tor_config: Hide macro-only re-exports. | Nick Mathewson | 2024-03-13 | 3 | -12/+18 | |
| | | | | | | | | | | | Our macros use these exports, but we don't need everybody else to be able to see them. | |||||
| | * | ptmgr: Use Itertools directly. | Nick Mathewson | 2024-03-13 | 2 | -1/+2 | |
| | | | | | | | | | Previously it used tor_config::Itertools, which is silly. | |||||
| | * | ptmgr: reformat Cargo.toml | Nick Mathewson | 2024-03-13 | 1 | -1/+2 | |
| | | | ||||||
