aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | 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.
* | | | Merge branch 'rust-upgrades' into 'main'opara2026-08-052-104/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-proto: Upgrade statrs dev-dependency and remove default features See merge request tpo/core/arti!4283
| * | | | tor-proto: remove all default features from statrsSteven Engler2026-08-052-114/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This doesn't appear to be needed, and removes an nalgebra dev-dependency which should help build times.
| * | | | tor-proto: upgrade statrsSteven Engler2026-08-042-29/+45
| |/ / / | | | | | | | | | | | | | | | | | | | | ```bash cargo upgrade --incompatible allow -p statrs ```
* | | | Merge branch 'test-dirclient-bad-utf8' into 'main'Nick Mathewson2026-08-051-1/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | test(dirclient): invalid utf-8 bytes in response body See merge request tpo/core/arti!4277
| * | | | test: invalid utf-8 bytes in response bodyiqdecay2026-08-041-1/+18
| | | | |
* | | | | Merge branch 'fix-incomplete' into 'main'Nick Mathewson2026-08-051-2/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: Fix left-over incompletes See merge request tpo/core/arti!4273
| * | | | | tor-netdoc: Fix left-over incompletesClara Engler2026-08-041-2/+0
| |/ / / / | | | | | | | | | | | | | | | | | | | | This removes two left over incomplete feature flags. Follow-up to c20df8c5f879806f7044c6e26d9e69404c88cfa3.
* | | | | Merge branch 'rd-comment-outdated' into 'main'gabi-2502026-08-051-5/+0
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | tor-netdoc: Remove outdated top-level RouterDesc comment See merge request tpo/core/arti!4274
| * | | | tor-netdoc: Remove outdated top-level RouterDesc commentClara Engler2026-08-041-5/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature is no longer present and we now always compile with router descriptors enabled, deferring the optimization to the Rust compiler and linker respectively. Follow-up to arti!3972
* | | | Merge branch 'revert-b656bb27' into 'main'Alexander Hansen Færøy2026-08-048-608/+11
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Revert "Merge branch 'da-microdesc-calc' into 'main'" See merge request tpo/core/arti!4282
| * | | Revert "Merge branch 'da-microdesc-calc' into 'main'"Clara Engler2026-08-048-608/+11
|/ / / | | | | | | This reverts merge request !4264
* | | Merge branch 'upgrade-weak-table' into 'main'opara2026-08-047-15/+11
|\ \ \ | | | | | | | | | | | | | | | | Upgrade to weak-table 0.4.0 See merge request tpo/core/arti!4278
| * | | Once more permit weak_table::*::retainNick Mathewson2026-08-041-8/+0
| | | | | | | | | | | | | | | | | | | | We had disabled these methods because of a bug in the old implementation; but now the bug is fixed.
| * | | Upgrade to weak-table 0.4.0Nick Mathewson2026-08-046-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Weak-table 0.4.0 replaces the backend with hashbrown for improved performance and correctness. It adds a bunch of APIs for parity with std::collections, and deprecates the risky `ahash` feature. (I'm the maintainer at this point.)
* | | | Merge branch 'consistent-rd-doclinks' into 'main'opara2026-08-041-37/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Make RouterDesc item docs consistent See merge request tpo/core/arti!4279
| * | | | tor-netdoc: Make RouterDesc item docs consistentClara Engler2026-08-041-37/+18
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now, the documentation for the items is inconsistent in the sense that some items contain specification links whereas others contain copies of the specification. This has historic reasons during the development, but ultimately links to the specification are superior, as they provide up-to-date information and are the canonical source.
* | | | Merge branch 'move-routerdesc' into 'main'Ian Jackson2026-08-046-362/+373
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disintegrate types::misc::routerdesc Closes #2555 See merge request tpo/core/arti!4276
| * | | | tor-netdoc: Update semver.mdClara Engler2026-08-041-0/+1
| | | | |
| * | | | tor-netdoc: Run cargo-fmt subsequentiallyClara Engler2026-08-044-9/+15
| | | | | | | | | | | | | | | | | | | | No functional change, purely formatting.
| * | | | tor-netdoc: Move misc::routerdesc into types::descriptorClara Engler2026-08-045-178/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit moves the remainder of misc::routerdesc into a new module called types::descriptor, which contains the shared types needed in router descriptors as well as extra-info documents. Please review with --color-moved --color-moved-ws=allow-indentation-change, as this is mainly code motion, except for parts where inputs and type aliases had to be fixed.
| * | | | tor-netdoc: Split types::misc::routerdesc into routerdescClara Engler2026-08-042-181/+177
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit moves all non-signature related parts from types::misc::routerdesc into doc::routerdesc, because they are only required for that specific netdoc. The signature related parts will be moved in the next commits, as we will need those for extra info documents as well. Review with --color-moved --color-moved-ws=allow-indentation-change. This is mostly code motion with small import/type name fixes being the notable exception.
* | | | Merge branch 'da-microdesc-calc' into 'main'Ian Jackson2026-08-048-11/+608
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-dirauth: Calculate microdescriptors See merge request tpo/core/arti!4264
| * | | | tor-dirauth: tests: Unit test for microdescriptor calculation coalesceIan Jackson2026-08-041-0/+52
| | | | |
| * | | | tor-dirauth: tests: Provide SupportedConsensusMethod::new_uncheckedIan Jackson2026-08-041-0/+8
| | | | |
| * | | | tor-dirauth: tests: Test error handling of all-supported-microdescsIan Jackson2026-08-041-1/+25
| | | | |
| * | | | tor-dirauth: tests: Test computation of all microdescriptorsIan Jackson2026-08-041-0/+20
| | | | |
| * | | | tor-dirauth: Function for computing all supported microdescriptorsIan Jackson2026-08-042-1/+87
| | | | |
| * | | | tor-dirauth: tests: Test microdescriptor calculation against live dataIan Jackson2026-08-044-0/+70
| | | | |
| * | | | tor-dirauth: Implement main microdescriptor calculation functionIan Jackson2026-08-046-4/+59
| | | | | | | | | | | | | | | | | | | | This is actually quite simple now.
| * | | | tor-dirauth: Use TrackedConsensusMethod in summarise_policy_v4_approximateIan Jackson2026-08-041-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | It doesn't actually use the value, but its call site is going to have one of these, not a SupportedConsensusMethod.
| * | | | tor-dirauth: Introduce new TrackedConsensusMethod typeIan Jackson2026-08-045-3/+280
| | | | |
| * | | | tor-dirauth: Rework tor-netdoc dependencyIan Jackson2026-08-041-1/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | No longer request "experimental" - we don't need it. We do need "testing" but only for our own tests, so that can go in dev-dependencies. Enable retain-unknown, which we'll need.
* | | | Merge branch 'cc-event-counters' into 'main'opara2026-08-041-6/+7
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | tor-proto: Fix cc vegas counter updates on clock stall Closes #2651 See merge request tpo/core/arti!4256
| * | | tor-proto: fix cc vegas counter updates on clock stallSteven Engler2026-07-301-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pseudocode says: ```text if next_cc_event: next_cc_event-- if next_cwnd_event: next_cwnd_event-- if clock_stalled_or_jumped: inflight -= 'cc_sendme_inc' return ``` but we were previously decrementing these after the return rather than before.