summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tor-netdoc: remove use of arrayref.Nick Mathewson2023-06-013-5/+7
| | |
| * | tor-proto: Remove use of arrayref.Nick Mathewson2023-06-014-6/+10
| | |
| * | tor-bytes: Remove use of arrayrefNick Mathewson2023-05-255-21/+16
| | | | | | | | | | | | | | | Part of #872: Now that const generics are in, we have better ways to express converting slices into array-references.
* | | Merge branch 'rpc_session_registry' into 'main'Nick Mathewson2023-06-0613-72/+724
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Incomplete branch to implement an RPC session registry and link SOCKS streams to RPC Closes #863 See merge request tpo/core/arti!1208
| * | | arti: Interpret socks request to mean "lookup an RPC session"Nick Mathewson2023-06-053-14/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The actual decoding here is just a placeholder. The important part is that we can get either a (SessionId, StreamId) tuple out of the request, or we treat it as part of an isolation token. This commit has a few TODOs for additional things that we'll need in order to build out our design.
| * | | arti: Move SOCKS code for building StreamPrefs and getting a TorClient.Nick Mathewson2023-06-051-12/+25
| | | |
| * | | arti: Add an alias in the SOCKS code for per-conn isolatino info.Nick Mathewson2023-06-051-4/+10
| | | | | | | | | | | | | | | | This enables some small simplifications.
| * | | RPC: Note a possible API change in RpcMgr::new.Nick Mathewson2023-06-051-0/+4
| | | |
| * | | RPC: Make Session objects get a GlobalId.Nick Mathewson2023-06-051-1/+7
| | | |
| * | | RPC: tell the `arti` SOCKS code about an RpcMgr object.Nick Mathewson2023-06-053-23/+78
| | | | | | | | | | | | | | | | | | | | It will use this to find which TorClient to use when opening a stream.
| * | | RPC: Give out and accept GlobalIds for appropriate objects.Nick Mathewson2023-06-053-11/+86
| | | |
| * | | RPC: Let objects declare that they need a GlobalId.Nick Mathewson2023-06-051-1/+17
| | | |
| * | | RPC: Implement a "global identifier" for non-session-bound IDsNick Mathewson2023-06-056-8/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These identifiers are actually only "global" with respect to a given `RpcMgr`, but they should not be forgeable or reusable across RpcMgr objects. We're going to use them so that we have a kind of identifier for `TorClient`s that we can expose to SOCKS.
| * | | rpc: Slightly refactor GenIdx encoding.Nick Mathewson2023-06-053-17/+27
| | | |
| * | | rpc: Give RpcMgr a registry of connections.Nick Mathewson2023-06-054-5/+70
| | | | | | | | | | | | | | | | | | | | We're going to use this to implement arti#863, which requires that some RPC objects be globally nameable.
| * | | rpc: Move Arc::new() to RpcMgr code.Nick Mathewson2023-06-052-4/+4
|/ / /
* | | Merge branch 'ctrldoc2' into 'main'Nick Mathewson2023-06-053-2/+4
|\ \ \ | | | | | | | | | | | | | | | | tor-circmgr: send_control_message: Furrher docs changes See merge request tpo/core/arti!1219
| * | | tor-circmgr: send_control_message: Add reference to MR discussionIan Jackson2023-06-051-0/+2
| | | |
| * | | tor-circmgr: send_control_message: Change a rename proposalIan Jackson2023-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1218#note_2908119
| * | | tor-circmgr: send_control_message: Fix reference to circuitIan Jackson2023-06-051-1/+1
| | | |
* | | | Merge branch 'ctrldoc' into 'main'Ian Jackson2023-06-053-7/+59
|\| | | | |_|/ |/| | | | | | | | tor-circmgr: send_control_message: Clarify some corner cases See merge request tpo/core/arti!1218
| * | tor-circmgr: send_control_message: API change proposalIan Jackson2023-06-051-0/+21
| | | | | | | | | | | | | | | | | | I am hoping we can merge this as a "TODO (Diziet)", even though I think it may be controversial. Ie merging this doesn't represent a decision to do as I suggest.
| * | tor-circmgr: Propose to rename `MetaCellDisposition::UninstallHandler`Ian Jackson2023-06-051-0/+4
| | |
| * | tor-circmgr: send_control_message: Clarify some corner casesIan Jackson2023-06-052-7/+34
|/ / | | | | | | | | | | | | | | | | | | | | | | Also, no longer talk about handlers being "installed". That's not something that's exposed by this API. And, say that `send_control_message` can be called again only after *`send_control_message`* returns, not when `handle_msg` has returned `UinstallHandler`. IMO this makes more sense. Explain that we can't maintain a continuous watch while holding a conversation with the peer. (This is surely an API bug.)
* | Merge branch 'cargo-audit-ignore' into 'main'Ian Jackson2023-06-051-0/+3
|\ \ | | | | | | | | | | | | maint/cargo-audit: Ignore RUSTSEC-2023-0040 (the users crate is unmaintained) See merge request tpo/core/arti!1217
| * | maint/cargo-audit: Ignore RUSTSEC-2023-0040 (the users crate is unmaintained)Gabriela Moldovan2023-06-051-0/+3
|/ / | | | | | | Signed-off-by: Gabriela Moldovan <[email protected]>
* | Remove semver.md files from 1.1.5Nick Mathewson2023-06-016-14/+0
| |
* | Merge branch 'bump-versions-v115' into 'main'arti-v1.1.5Ian Jackson2023-06-0144-349/+349
|\ \ | | | | | | | | | | | | Bump crate versions in preparation for v1.1.5 release. See merge request tpo/core/arti!1211
| * | Bump crate versions in preparation for v1.1.5 release.Nick Mathewson2023-06-0144-349/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generated with the following commands: ``` cargo set-version --bump minor -p tor-cell cargo set-version --bump minor -p tor-linkspec cargo set-version --bump minor -p tor-proto cargo set-version --bump minor -p tor-netdoc cargo set-version --bump minor -p tor-circmgr cargo set-version --bump patch -p tor-cert cargo set-version --bump patch -p tor-basic-utils cargo set-version --bump patch -p tor-rpcbase cargo set-version --bump patch -p tor-llcrypto cargo set-version --bump patch -p tor-hscrypto cargo set-version --bump patch -p tor-checkable cargo set-version --bump patch -p tor-async-utils cargo set-version --bump patch -p caret cargo set-version --bump patch -p fs-mistrust cargo set-version --bump patch -p safelog cargo set-version --bump patch -p retry-error cargo set-version --bump patch -p tor-error cargo set-version --bump patch -p tor-config cargo set-version --bump patch -p tor-events cargo set-version --bump patch -p tor-units cargo set-version --bump patch -p tor-rtcompat cargo set-version --bump patch -p tor-rtmock cargo set-version --bump patch -p tor-protover cargo set-version --bump patch -p tor-bytes cargo set-version --bump patch -p tor-socksproto cargo set-version --bump patch -p tor-consdiff cargo set-version --bump patch -p tor-netdir cargo set-version --bump patch -p tor-congestion cargo set-version --bump patch -p tor-persist cargo set-version --bump patch -p tor-chanmgr cargo set-version --bump patch -p tor-ptmgr cargo set-version --bump patch -p tor-guardmgr cargo set-version --bump patch -p tor-dirclient cargo set-version --bump patch -p tor-dirmgr cargo set-version --bump patch -p tor-hsclient cargo set-version --bump patch -p tor-hsservice cargo set-version --bump patch -p arti-client cargo set-version --bump patch -p arti-rpcserver cargo set-version --bump patch -p arti-config cargo set-version --bump patch -p arti-hyper cargo set-version --bump patch -p arti cargo set-version --bump patch -p arti-bench cargo set-version --bump patch -p arti-testing ```
* | | Merge branch 'one_more_cl_msg' into 'main'Nick Mathewson2023-06-011-0/+4
|\ \ \ | | | | | | | | | | | | | | | | changelog: mention fallback list update. See merge request tpo/core/arti!1212
| * | | changelog: mention fallback list update.Nick Mathewson2023-06-011-0/+4
|/ / /
* | | Merge branch 'fallbackdir-2023-06-01' into 'main'Nick Mathewson2023-06-011-892/+896
|\ \ \ | |/ / |/| | | | | | | | fallbackdir: Update list generated on June 01, 2023 See merge request tpo/core/arti!1210
| * | fallbackdir: Update list generated on June 01, 2023Tor CI Release2023-06-011-892/+896
|/ / | | | | | | Signed-off-by: Tor CI Release <[email protected]>
* | Merge branch 'cl-more' into 'main'Nick Mathewson2023-06-011-7/+59
|\ \ | | | | | | | | | | | | changelog: add links for 1.1.5 changelog See merge request tpo/core/arti!1209
| * | changelog: Minor cleanupsNick Mathewson2023-06-011-3/+1
| | |
| * | changelog: add links for 1.1.5 changelogNick Mathewson2023-06-011-4/+58
|/ /
* | Merge branch 'changelog' into 'main'Alexander Færøy2023-05-311-0/+125
|\ \ | | | | | | | | | | | | Draft a changelog for 1.1.5 See merge request tpo/core/arti!1207
| * | Draft a changelog for 1.1.5Nick Mathewson2023-05-311-0/+125
| | |
* | | Merge branch 'semver_checks_script' into 'main'gabi-2502023-05-311-0/+121
|\ \ \ | |/ / |/| | | | | | | | New script to run cargo-semver-checks with appropriate options. See merge request tpo/core/arti!1206
| * | New script to run cargo-semver-checks with appropriate options.Nick Mathewson2023-05-311-0/+121
|/ / | | | | | | | | | | | | | | | | | | | | | | | | The options are rather complicated; because we do not want to subject our experimental features to semver, we need to run generate JSON rustdoc on our own and then pass that JSON to cargo-semver-checks. This in turn requires us to use the same options that cargo-semver-checks uses, including "RUSTC_BOOTSTRAP". I've left some TODOs here in places where we will likely want to improve our code in the future. See #711.
* | Merge branch 'fixup-features' into 'main'Nick Mathewson2023-05-314-4/+9
|\ \ | | | | | | | | | | | | Run fixup-features script and resolve its complaints. See merge request tpo/core/arti!1205
| * | Run fixup-features script and resolve its complaints.Nick Mathewson2023-05-314-4/+9
|/ /
* | Merge branch 'pre-release-updates' into 'main'Nick Mathewson2023-05-301-80/+71
|\ \ | |/ |/| | | | | Run "cargo update" in preparation for Thursday release. See merge request tpo/core/arti!1204
| * Run "cargo update" in preparation for Thursday release.Nick Mathewson2023-05-301-80/+71
|/
* Merge branch 'stream_ctrl' into 'main'Nick Mathewson2023-05-244-3/+238
|\ | | | | | | | | | | | | Experimental new stream-ctrl feature Closes #847 See merge request tpo/core/arti!1198
| * Add "TODO RPC" notes around DataStreamCtrl per review.Nick Mathewson2023-05-242-0/+16
| |
| * proto: Add stream-status functionality to DataStreamCtrl.Nick Mathewson2023-05-241-2/+106
| | | | | | | | There are some weaknesses and problems here; see TODO notes.
| * proto: Create a `DataStreamCtrl` type.Nick Mathewson2023-05-223-1/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea here is that we want to make DataStream visible to the RPC system without requiring that the RPC session hold the DataStream itself (or the Reader, or the Writer). We could solve this problem by making _all_ the state in the DataStream shared, but that would introduce unnecessary extra locking in our critical path. Instead we're creating the notion of a "control handle" that lets you manage and observe a stream without actually owning the stream. Right now the only supported functionality is asking for the stream's circuit. Part of #847
| * proto: Add a new experimental stream-ctrl feature.Nick Mathewson2023-05-221-1/+2
| | | | | | | | | | (It doesn't do anything yet. It may eventually become always-on. But for now let's make this API optional. Part of #847)
| * tor-proto: Move a comment in Cargo.tomlNick Mathewson2023-05-221-1/+2
| |