| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | 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 | |
| | | | ||||||
| * | | Add unknown-lints exception to examples | Nick Mathewson | 2024-03-13 | 7 | -1/+7 | |
| | | | | | | | | | | | We need this to avoid warnings when runnning non-nightly clippy on these examples. | |||||
| * | | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 235 | -0/+235 | |
| |/ | ||||||
| * | Merge branch 'prop340-decoding-api' into 'main' | Nick Mathewson | 2024-03-13 | 14 | -94/+364 | |
| |\ | | | | | | | | | relay_cell: Update decoding API to support prop340 format See merge request tpo/core/arti!2034 | |||||
| | * | Remove RelayMsgOuter::decode_from_reader | Jim Newsome | 2024-03-12 | 1 | -11/+3 | |
| | | | | | | | | | | | | | The semantics of such a function that supports both the legacy V0 format and the V1 packing and fragmentation format are a bit tricky. Since it's not used outside of its module, we can simply remove it. | |||||
| | * | relay-cell: Update relay cell decoding API for prop340 | Jim Newsome | 2024-03-12 | 8 | -56/+337 | |
| | | | | | | | | | | | | | | | | | | | | | | | Prop 340: https://spec.torproject.org/proposals/340-packed-and-fragmented.html This updates the decoding API to support multiple versions of the relay cell encoding, including the new encoding proposed in prop340 that supports relay message packing and fragmentation. This commit doesn't actually add support for that new encoding yet. | |||||
| | * | Rename UnparsedRelayCell -> UnparsedRelayMsg | Jim Newsome | 2024-03-12 | 12 | -48/+45 | |
| | | | | | | | | | | | For consistency with the terminology proposed in https://gitlab.torproject.org/tpo/core/torspec/-/issues/253 | |||||
| * | | Fix some rustdoc warnings. | Nick Mathewson | 2024-03-12 | 7 | -13/+14 | |
| |/ | | | | | These are mostly about explicitly linking to things that were already in scope. | |||||
| * | tor-relay-selection: Use partition() in testing code. | Nick Mathewson | 2024-03-12 | 1 | -9/+3 | |
| | | ||||||
| * | Rename and clarify result_is_relaxed. | Nick Mathewson | 2024-03-12 | 1 | -5/+5 | |
| | | ||||||
| * | Refactor RelaySelector to make its invariants less subtle. | Nick Mathewson | 2024-03-12 | 1 | -48/+61 | |
| | | ||||||
| * | Add a comment about future extensions to RestrictionInner. | Nick Mathewson | 2024-03-12 | 1 | -0/+6 | |
| | | ||||||
| * | tor-relay-selector: Clarify "flexible" vs "relaxed" a little. | Nick Mathewson | 2024-03-12 | 2 | -3/+4 | |
| | | ||||||
| * | Annotate usage of low_level_predicate_permits_relay | Nick Mathewson | 2024-03-12 | 2 | -1/+15 | |
| | | ||||||
| * | relay-selection: Remove the extension traits for Relay and NetDir | Nick Mathewson | 2024-03-12 | 2 | -64/+0 | |
| | | | | | | | I thought we would need these, but after the latest refactoring they turned out not to have any users, and one of them had only deprecated methods. Best just to drop them. | |||||
| * | Rename the RelayPredicate trait to discourage its being used directly. | Nick Mathewson | 2024-03-12 | 7 | -30/+48 | |
| | | | | | Everybody who can, should instead use a RelaySelector. | |||||
| * | Add comments about "unaccompanied" use of Relay{Usage,Exclusion} | Nick Mathewson | 2024-03-12 | 2 | -0/+4 | |
| | | | | | | | When used outside of RelaySelector, these two types don't enforce one another's presence, and as such have a bit more risk of negligent use. | |||||
| * | Annotate remaining "TODO #504" comments explaining why they are there. | Nick Mathewson | 2024-03-12 | 1 | -4/+14 | |
| | | ||||||
| * | hspool: Replace TargetInfo with a RelayExclusion. | Nick Mathewson | 2024-03-12 | 1 | -53/+17 | |
| | | ||||||
| * | guardmgr: explain remaining work for #504 issues. | Nick Mathewson | 2024-03-12 | 1 | -2/+4 | |
| | | ||||||
| * | guardmgr: refactor most logic for relay selection | Nick Mathewson | 2024-03-12 | 3 | -30/+57 | |
| | | ||||||
| * | ipt_mgr: convert to use RelaySelector. | Nick Mathewson | 2024-03-12 | 2 | -11/+22 | |
| | | ||||||
| * | circmgr: Rename "any exit" code to reflect its real purpose | Nick Mathewson | 2024-03-12 | 2 | -8/+11 | |
| | | | | | | (These functionalities are for onion service circuits, and don't actually need to go to an exit at all.) | |||||
| * | circmgr: Remove now-obsolete error variants. | Nick Mathewson | 2024-03-12 | 2 | -48/+5 | |
| | | ||||||
| * | circmgr: Begin porting path selection to tor-relay-selection | Nick Mathewson | 2024-03-12 | 5 | -191/+160 | |
| | | | | | | This covers the easy cases, where we are selecting relays at random based on a selector. | |||||
| * | New crate to define a high-level API for relay selection | Nick Mathewson | 2024-03-12 | 11 | -46/+1684 | |
| | | ||||||
| * | Create a new empty tor-relay-selection crate. | Nick Mathewson | 2024-03-12 | 3 | -0/+90 | |
| | | ||||||
| * | netdir: Add additional functionality to SubnetConfig | Nick Mathewson | 2024-03-12 | 1 | -1/+62 | |
| | | | | | We'll need this to implement restrictions more reasonably. | |||||
| * | Add a clear_flags function to RouterStatusBuilder | Nick Mathewson | 2024-03-12 | 1 | -0/+6 | |
| | | | | | (For testing.) | |||||
| * | Merge branch 'arti_client_test' into 'main' | gabi-250 | 2024-03-11 | 1 | -1/+12 | |
| |\ | | | | | | | | | arti-client: increase coverage in src/address.rs See merge request tpo/core/arti!2029 | |||||
