| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | | * | tor-ptmgr: add PtReactor | eta | 2022-11-29 | 3 | -37/+264 | |
| | | | | | | | | | | | | | | | | | | | This fleshes out the PtReactor that was previously a stub, making it actually do reactor-ey things. Note that this is entirely untested, and might not work at all. Hopefully it does, though. | |||||
| * | | | arti-client: Try to take ownership of state earlier. | Nick Mathewson | 2022-11-29 | 1 | -0/+4 | |
| |/ / | | | | | | | | | | | | | | | There's no harm in doing this, since we'll try to take ownership of the state soon as soon as we use it: We just want to try early, so that we'll get it before we decide that we're using bridges. Fixes bug #669; bug introduced by !889. | |||||
| * | | Merge branch 'todos-chanmgr' into 'main' | Nick Mathewson | 2022-11-29 | 4 | -9/+13 | |
| |\ \ | | | | | | | | | | | | | chanmgr: resolve several remaining "TODO pt-client" issues See merge request tpo/core/arti!897 | |||||
| | * | | chanmgr: Distinguish failure to connect to proxy from other IO failures | Nick Mathewson | 2022-11-29 | 2 | -6/+12 | |
| | | | | ||||||
| | * | | chanmgr: remove a now-stale TODO. | Nick Mathewson | 2022-11-29 | 1 | -2/+0 | |
| | | | | ||||||
| | * | | chanmgr: Report Pt errors correctly. | Nick Mathewson | 2022-11-29 | 1 | -1/+1 | |
| | |/ | | | | | | | | | We were panicking if the PtMgr gave us an error, which isn't so good. | |||||
| * | | Merge branch 'list-builder-lint' into 'main' | Nick Mathewson | 2022-11-29 | 1 | -0/+8 | |
| |\ \ | | | | | | | | | | | | | tor-basic-utils: list_builder: Use standard test lint block See merge request tpo/core/arti!900 | |||||
| | * | | tor-basic-utils: list_builder: Use standard test lint block | Ian Jackson | 2022-11-29 | 1 | -0/+8 | |
| | | | | | | | | | | | | | This gets rid of a spurious warning on nightly about the use of dbg! | |||||
| * | | | Merge branch 'more-linkspec-tests' into 'main' | Nick Mathewson | 2022-11-29 | 5 | -16/+161 | |
| |\ \ \ | |/ / |/| | | | | | | | | Add tests for a bunch of code in tor-linkspec See merge request tpo/core/arti!867 | |||||
| | * | | Fix up compatibility issues between linkspec tests and other patches | Nick Mathewson | 2022-11-28 | 2 | -6/+6 | |
| | | | | ||||||
| | * | | linkspec: Add some tests for ChannelMethod | Nick Mathewson | 2022-11-28 | 2 | -0/+85 | |
| | | | | ||||||
| | * | | linkspec: Tests for PtTargetSettings | Nick Mathewson | 2022-11-28 | 1 | -0/+46 | |
| | | | | ||||||
| | * | | PtTransportName: Remove unused accessors. | Nick Mathewson | 2022-11-28 | 1 | -13/+0 | |
| | | | | ||||||
| | * | | linkspec: Add tests for has_any_identity. | Nick Mathewson | 2022-11-28 | 1 | -0/+7 | |
| | | | | ||||||
| | * | | linkspec: Add test for lookup on no-ids. | Nick Mathewson | 2022-11-28 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | Add a test for ByRelayIds::remove_by_all_ids | Nick Mathewson | 2022-11-28 | 1 | -2/+21 | |
| | | | | ||||||
| * | | | Merge branch 'ptmgr-optional-dep-test' into 'main' | Ian Jackson | 2022-11-29 | 1 | -20/+65 | |
| |\ \ \ | | | | | | | | | | | | | | | | | MultilineListBuilder etc.: add serde tests See merge request tpo/core/arti!899 | |||||
| | * | | | tor-config MultilineListBuilder: Test deserialisation | Ian Jackson | 2022-11-29 | 1 | -0/+45 | |
| | | | | | ||||||
| | * | | | tor-config MultilineListBuilder: Print line number starting at 1, not 0 | Ian Jackson | 2022-11-29 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | tor-config list_builder tests: Move Outer up a level | Ian Jackson | 2022-11-29 | 1 | -19/+19 | |
| | | | | | | | | | | | | | | | | | We're going to reuse this. | |||||
| * | | | | Merge branch 'ptmgr-optional-dep' into 'main' | Ian Jackson | 2022-11-29 | 5 | -7/+66 | |
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Support building without pluggable transports Closes #649 See merge request tpo/core/arti!898 | |||||
| | * | | | arti-client: Make ptmgr actually optional | Ian Jackson | 2022-11-29 | 1 | -2/+3 | |
| | | | | | ||||||
| | * | | | guardmgr: Conditionalise DisplayRule::Redacted | Ian Jackson | 2022-11-29 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | This is unused in bridgeless configs. Fixes a compiler warning. | |||||
| | * | | | arti, arti-client: Conditionalise various things on pt-client | Ian Jackson | 2022-11-29 | 2 | -3/+5 | |
| | | | | | ||||||
| | * | | | arti cfg tests: Add some more debug output | Ian Jackson | 2022-11-29 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | MultilineListBuilder: Use a manual implementation of Deserialize | Ian Jackson | 2022-11-29 | 1 | -2/+52 | |
| | | |/ | |/| | | | | | | | | | | | | | The error message from `#[serde(untagged)]` would otherwise start to appear when we try to deserialise unsupported PT configurations, when compiled with bridge but not PT support. | |||||
| * | | | Merge branch 'll-todo-fixes' into 'main' | Ian Jackson | 2022-11-29 | 6 | -22/+9 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Fix and resolve TODO pt-client comments in guardmgr, linkspec. See merge request tpo/core/arti!896 | |||||
| | * | | | guardmgr: remove todo about bridge::config::Inner members | Nick Mathewson | 2022-11-29 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | | | We've revised this a few times; now it seems plausible. | |||||
| | * | | | guardmgr: Remove now-unneeded #[allow(unnecessary_wraps)] | Nick Mathewson | 2022-11-29 | 1 | -1/+0 | |
| | | | | | ||||||
| | * | | | Remove deprecated aliases in tor-linkspec. | Nick Mathewson | 2022-11-29 | 4 | -17/+9 | |
| | |/ / | ||||||
| * | | | Clarify internal error. | Ian Jackson | 2022-11-29 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | ptmgr: Refine RetryTime for ChildSpawnFailed. | Nick Mathewson | 2022-11-29 | 1 | -1/+7 | |
| | | | | ||||||
| * | | | ptmgr: Rename ClientTransportFailed, document, and correct its RetryTime. | Nick Mathewson | 2022-11-29 | 2 | -6/+7 | |
| | | | | ||||||
| * | | | ptmgr: Replace StdioUnavailable with a PtError. | Nick Mathewson | 2022-11-29 | 2 | -11/+12 | |
| | | | | ||||||
| * | | | Rename LocalLoginFailed to ExternalToolFailed. | Nick Mathewson | 2022-11-29 | 2 | -3/+3 | |
| | | | | ||||||
| * | | | Document better what LocalProtocolViolation does not cover. | Nick Mathewson | 2022-11-29 | 1 | -1/+4 | |
| |/ / | ||||||
| * | | Merge branch 'ptmgr-cleanup' into 'main' | Nick Mathewson | 2022-11-29 | 11 | -52/+181 | |
| |\ \ | | | | | | | | | | | | | | | | | | | Post-merge cleanups for PtMgr Closes #667 and #659 See merge request tpo/core/arti!893 | |||||
| | * | | Spelling fix in arti_client::err | eta | 2022-11-29 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | Temporarily make ptmgr required for arti-client :/ | Nick Mathewson | 2022-11-28 | 2 | -2/+5 | |
| | | | | ||||||
| | * | | PtMgr: Use a persistent state directory for PT state. | Nick Mathewson | 2022-11-28 | 4 | -10/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes a `pt_state` directory inside .local/share/arti (or the local equivalent), right next to our existing `state` dir. Ideally we would use a separate directory for each PT, but we have a very fuzzy "what is a specific PT" notion. Closes #667 | |||||
| | * | | Integrate PtMgr into arti-client. | Nick Mathewson | 2022-11-28 | 4 | -3/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | If support is available at compile-time, then we construct a PtMgr and register it with the ChanMgr. We keep a handle to it ourself so that we can reconfigure it as needed. Closes #659. | |||||
| | * | | Fix ChanMgr APIs for setting PtMgr etc to match what TorClient wants. | Nick Mathewson | 2022-11-28 | 1 | -7/+4 | |
| | | | | ||||||
| | * | | Revise the API of "PtMgr::reconfigure" | Nick Mathewson | 2022-11-28 | 1 | -2/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | I prefer that it not take `&mut self`, since PtMgr already has interior mutability. I also need it to take `tor_config::Reconfigure` argument, in case it gains any more smarts about validation in the future. | |||||
| | * | | ptmgr: Note a TODO issue around TempDir. | Nick Mathewson | 2022-11-28 | 1 | -0/+2 | |
| | | | | ||||||
| | * | | ptmgr: Fill in some error-related code; resolve TODOs. | Nick Mathewson | 2022-11-28 | 3 | -8/+55 | |
| | | | | ||||||
| | * | | ptmgr: clear up unused_import exceptions. | Nick Mathewson | 2022-11-28 | 2 | -16/+21 | |
| | | | | ||||||
| | * | | PtMgr: New features section in README.md | Nick Mathewson | 2022-11-28 | 2 | -6/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | Per convention, have a `full` feature. Also, downgrade the 'TODO pt-client' entries in README::limitations, since they are not blockers for 1.1.0. | |||||
| | * | | ptmgr: Mark PtMessage and next_message as experimental-api. | Nick Mathewson | 2022-11-28 | 3 | -3/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | These are implementation details and we don't want to mark them as stable. To do this, I needed to apply some additional options to the example code's configuration in Cargo.toml. | |||||
| * | | | Switch from sha-1 back to sha1. | Nick Mathewson | 2022-11-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | As near as I can tell, the rust-crypto SHA1 crate was called `sha-1` for a while because of a conflict with a different SHA1 crate. Now they apparently have the `sha1` name back and have deprecated the `sha-1` name. | |||||
| * | | | Merge branch 'redacted' into 'main' | Ian Jackson | 2022-11-29 | 16 | -13/+323 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Define a "redactable" trait, and use it when logging guard info Closes #648 and #627 See merge request tpo/core/arti!882 | |||||
