aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'clippy-fixes' into 'main'gabi-2502026-08-134-5/+8
|\ | | | | | | | | tor-proto: Some misc rust/clippy warning fixes See merge request tpo/core/arti!4304
| * tor-proto: 'expect' -> 'allow' in `CircReactorHandle`Steven Engler2026-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | This fixes an `unfulfilled_lint_expectations` warning. tor-proto conditionally sets a global `allow(unused)`, and if you have an `expect(unused)` field within an `allow(unused)` struct, rust seems to warn with 'unfulfilled_lint_expectations'. https://github.com/rust-lang/rust/issues/160942
| * tor-proto: fix a `clippy::unnecessary_filter_map`Steven Engler2026-08-111-0/+2
| |
| * tor-proto: box `CircParameters` in test-only `CtrlCmd::AddFakeHop`Steven Engler2026-08-112-2/+3
| | | | | | | | This fixes a `clippy::large_enum_variant`.
| * tor-proto: fix a 'clippy::useless_conversion'Steven Engler2026-08-111-1/+1
| |
* | Merge branch 'backend-dirserver' into 'main'Clara Engler2026-08-134-4/+139
|\ \ | | | | | | | | | | | | Support DirBackendPlugin kludge in tor-dirserver See merge request tpo/core/arti!4306
| * | tor-dirserver: Disallow non GET methodsClara Engler2026-08-121-0/+5
| | |
| * | tor-dirserver: Improve empty body checkClara Engler2026-08-121-1/+10
| | | | | | | | | | | | This commit improves the empty body check by failing if it has happened.
| * | tor-dirserver: Support DirBackendPlugin kludgeClara Engler2026-08-123-2/+124
| | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for the directory backend plugin kludge by adding a new wrapper struct called `DirMirrorWithBackend`. It also moves http-body-util from a development dependency to a real dependency, as this makes working with hyper a lot more comfortable.
| * | tor-dircommon: Sync + Send + 'static for DirBackendPluginClara Engler2026-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds marker traits as dependencies for implementations of the DirBackendPlugin trait, which will be required for intergration with hyper. Works like a charm, as DirMgr itself implements all three of these already.
| * | tor-dirserver: Remove unused_async lintClara Engler2026-08-121-1/+0
| |/ | | | | | | No longer required.
* | Merge branch 'dns_qdcount_must_be_one' into 'main'Nick Mathewson2026-08-121-68/+71
|\ \ | | | | | | | | | | | | fix: the number of dns queries should be 1 See merge request tpo/core/arti!4281
| * | fix: the number of dns queries should be 1steven2026-08-041-68/+71
| | |
* | | Merge branch 'ntor-v3' into 'main'opara2026-08-128-58/+336
|\ \ \ | | | | | | | | | | | | | | | | tor-proto: Handle incoming CREATE2 with ntor-v3 handshakes See merge request tpo/core/arti!4176
| * | | tor-proto: make `CreateRequestHandler` methods asyncSteven Engler2026-08-122-28/+39
| | | |
| * | | tor-proto: use `CgoRelayCrypto`/`Tor1RelayCrypto` aliasesSteven Engler2026-08-121-8/+7
| | | |
| * | | tor-proto: change `TryFrom<_> for HandshakeSubprotocols` to a dedicated ↵Steven Engler2026-08-122-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | constructor Replaces `TryFrom<SubprotocolRequest> for HandshakeSubprotocols`.
| * | | tor-proto: check the handshake type in the ntor testSteven Engler2026-08-121-8/+12
| | | |
| * | | tor-proto: implement the ntor-v3 handshakeSteven Engler2026-08-121-9/+199
| | | |
| * | | tor-proto: add `TryFrom<SubprotocolRequest> for HandshakeSubprotocols`Steven Engler2026-08-121-1/+74
| | | |
| * | | tor-cell: derive `Default` for `SubprotocolRequest`Steven Engler2026-08-121-1/+1
| | | |
| * | | tor-protover: fix doc comment for `ProtoKind`Steven Engler2026-08-121-1/+1
| | | | | | | | | | | | | | | | This is both recognized and unrecognized protocol kinds.
| * | | tor-proto: change some instances of `sendme_inc` to u8Steven Engler2026-08-123-9/+7
| | |/ | |/|
* | | Merge branch 'fix-outdated-netdoc-comment' into 'main'Jim Newsome2026-08-121-2/+0
|\ \ \ | |/ / |/| | | | | | | | tor-netdoc: Fix outdated rustdoc for misc.rs See merge request tpo/core/arti!4307
| * | tor-netdoc: Fix outdated rustdoc for misc.rsClara Engler2026-08-121-2/+0
|/ / | | | | | | | | | | | | | | This commit fixes an outdated rustdoc comment with regard to the misc.rs types and their publicity. Most of these types have been public for a while now and this comment is outdated.
* | Merge branch 'README_relay.md' into 'main'Nick Mathewson2026-08-112-11/+135
|\ \ | | | | | | | | | | | | New README_relay.md. See merge request tpo/core/arti!4295
| * | README_relay.md: Make the disclaimer parts more obvious.Nick Mathewson2026-08-111-1/+11
| | |
| * | Apply 1 suggestion(s) to 1 file(s)Nick Mathewson2026-08-111-1/+1
| | | | | | | | | Co-authored-by: gabi-250 <[email protected]>
| * | Update "Current status" in README.md.Nick Mathewson2026-08-101-11/+8
| | |
| * | New README_relay.md.Nick Mathewson2026-08-101-0/+117
| | | | | | | | | | | | | | | | | | In the long term this will turn into instructions for running a test relay. For now, it's going to be a checklist showing what we have built and what is remaining to build.
* | | Merge branch 'dir-cache-kludge' into 'main'Nick Mathewson2026-08-117-14/+363
|\ \ \ | | | | | | | | | | | | | | | | Implement kludge to allow use of DirMgr as a backend for DirServer. See merge request tpo/core/arti!4298
| * | | dirmgr: use FixedB64 to parse MD digests in as_plugin.Nick Mathewson2026-08-111-8/+10
| | | |
| * | | dirmgr: Provide a DirPlugin to temporarily pose as a directory cacheNick Mathewson2026-08-114-1/+297
| | | | | | | | | | | | | | | | Part of #2657
| * | | dircommon: cargo sort.Nick Mathewson2026-08-101-18/+18
| | | |
| * | | dircommon: Add trait to use DirMgr as a temporary pluginNick Mathewson2026-08-104-0/+51
| |/ / | | | | | | | | | | | | | | | | | | This is part of #2657. The goal here is to use DirMgr as a temporary backend for tor-dirserver, so that we can have a sort-of-working directory cache that can be used for testing guards before tor-dirserver is complete.
* | | Merge branch 'dirserver-database-getters' into 'main'wesleyac2026-08-113-18/+13
|\ \ \ | | | | | | | | | | | | | | | | tor-dirserver: Remove getters from database.rs See merge request tpo/core/arti!4303
| * | | tor-dirserver: Remove getters from database.rsClara Engler2026-08-113-18/+13
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes the getters in database.rs. If the overall tor-netdoc refactoring has taught us something, then that the use of getters can be quite annoying. Therefore, this commit removes the getters and marks the respective fields as pub. Given that these data types are pub(crate) only right now, it does not matter a lot anyways.
* | | Merge branch 'ticket_2653' into 'main'Jim Newsome2026-08-101-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | arti: Fix compilation of http-connect without rpc Closes #2653 See merge request tpo/core/arti!4296
| * | | arti: Fix compilation of http-connect without rpcNick Mathewson2026-08-101-1/+1
| |/ / | | | | | | | | | Closes #2653.
* | | Merge branch 'add_todo' into 'main'wesleyac2026-08-101-0/+4
|\ \ \ | |/ / |/| | | | | | | | add TODO about Arti#2634 See merge request tpo/core/arti!4293
| * | add TODO about Arti#2634pryty262026-08-101-0/+4
|/ /
* | Merge branch 'lifetime-eq' into 'main'David Goulet2026-08-102-1/+2
|\ \ | | | | | | | | | | | | tor-netdoc: Derive PartialEq and Eq for Lifetime See merge request tpo/core/arti!4294
| * | tor-netdoc: Derive PartialEq and Eq for LifetimeClara Engler2026-08-102-1/+2
|/ / | | | | | | Needed for tor-dirserver testing.
* | Merge branch 'upgrades' into 'main'wesleyac2026-08-064-14/+14
|\ \ | | | | | | | | | | | | | | | | | | ci,maint: Update container image versions Closes #2618 See merge request tpo/core/arti!4280
| * | tor-persist: remove hidden backspace characterSteven Engler2026-08-041-1/+1
| | |
| * | maint: 'SpacesAftertabs' -> 'SpacesAfterTabs'Steven Engler2026-08-041-1/+1
| | | | | | | | | | | | | | | > The configuration key `SpacesAftertabs` is deprecated. Use > `SpacesAfterTabs` instead.
| * | maint: renamed '.ecrc'Steven Engler2026-08-041-0/+0
| | | | | | | | | | | | | | | > The default configuration file name `.ecrc` is deprecated. Use > `.editorconfig-checker.json` instead. You can simply rename it
| * | ci,maint: update container image versionsSteven Engler2026-08-042-12/+12
| |/
* | Merge branch 'tor-dirserver-connect-fix' into 'main'opara2026-08-052-3/+3
|\ \ | | | | | | | | | | | | | | | | | | tor-dirserver: fix tests on OpenBSD Closes #2656 See merge request tpo/core/arti!4286
| * | tor-dirserver: fix tests on OpenBSDAndrew Kloet2026-08-052-3/+3
|/ / | | | | | | | | | | Use an IPv6 loopback address instead of the unspecified address when creating test servers. The address returned by binding to [::]:0 is not valid as a connection target on OpenBSD.