summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Doc: Add xref from NetDir::by_ids to ids_listed.Nick Mathewson2024-04-101-0/+7
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Explain that `by_ids` isn't what you want if you need to know whether a relay _definitely_ doesn't exist. Closes #1365
* | | | Merge branch 'relay-sketch' into 'main'gabi-2502024-04-101-0/+174
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Sketch out first stages of work on relay support. See merge request tpo/core/arti!2067
| * | | | Sketch out first stages of work on relay support.Nick Mathewson2024-04-021-0/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @ahf asked me to try to outline what we should do in order to start out here, so I'm putting this in. It should cover us for a few months. This is by no means final; I'm just looking for initial comment.
* | | | | Merge branch 'ephemeral-keystore' into 'main'gabi-2502024-04-105-4/+324
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: added initial implementation for in-memory ArtiEphemeralKeystore Closes #1358 See merge request tpo/core/arti!2076
| * | | | | tor-keymgr: added initial implementation for in-memory ArtiEphemeralKeystoreRichard Pospesel2024-04-105-4/+324
|/ / / / /
* | | | | Merge branch 'tor26-changes' into 'main'Nick Mathewson2024-04-091-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | dirauth: New tor26 v3 identity See merge request tpo/core/arti!2080
| * | | | | dirauth: New tor26 v3 identityDavid Goulet2024-04-091-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | C-tor commit for this change: e3e4fa35e8b9368ac549db4da3240aba1ee3054e Signed-off-by: David Goulet <[email protected]>
* | | | | Merge branch 'keymgr-builder-errror' into 'main'Nick Mathewson2024-04-081-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | tor-keymgr: Export KeyMgrBuilderError. See merge request tpo/core/arti!2078
| * | | | tor-keymgr: Export KeyMgrBuilderError.Gabriela Moldovan2024-04-081-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | `KeyMgrBuilderError` is used in `KeyMgrBuilder`'s public API. See https://gitlab.torproject.org/tpo/core/arti/-/issues/1358#note_3016025
* | | | Merge branch 'relay-details-doc-fix' into 'main'Alexander Færøy2024-04-042-5/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix some rustdoc links and copypaste errors in tor-netdir. See merge request tpo/core/arti!2073
| * | | | Fix some rustdoc links and copypaste errors in tor-netdir.Nick Mathewson2024-04-042-5/+9
|/ / / /
* | | | Merge branch 'relay-id-perf-2' into 'main'Nick Mathewson2024-04-037-15/+52
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Use derive-deftly for same_relay_ids, abolish open-coded version in tor-netdir See merge request tpo/core/arti!2072
| * | | | tor-linkspec: Suppress clippy false positive (link ticket)Ian Jackson2024-04-031-1/+1
| | | | |
| * | | | tor-linkspec: Suppress clippy false positiveIan Jackson2024-04-031-0/+1
| | | | |
| * | | | tor-netdir: Abolish Relay::has_same_relay_idsIan Jackson2024-04-033-12/+5
| | | | | | | | | | | | | | | | | | | | This was an open-coded specialisation. Remove the one call site.
| * | | | tor-linkspec: Use derive-deftly rather than strum for same_relay_idsIan Jackson2024-04-035-1/+44
| | | | |
| * | | | tor-linkspec: Use RelayIdType::all_types rather than ::iterIan Jackson2024-04-031-2/+2
|/ / / / | | | | | | | | | | | | | | | | This will make it slightly easier to find these call sites if we want to change them in the future.
* | | | Merge branch '504-cleanup-part1' into 'main'Nick Mathewson2024-04-0312-250/+346
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Move fiddly Relay functionality into a RelayDetails type. See merge request tpo/core/arti!2057
| * | | Comment fixes in RelayDetails refactor.Ian Jackson2024-04-031-2/+4
| | | |
| * | | Add a semver.md file so we do not forget to put "breaking!" in changelog.Nick Mathewson2024-03-281-0/+1
| | | |
| * | | exitpath: Refactor a test to use tor-relay-usage.Nick Mathewson2024-03-281-20/+14
| | | |
| * | | Move rs_is_dircache to details.rsNick Mathewson2024-03-282-9/+9
| | | |
| * | | Rename `Relay::same_relay` and make it private.Nick Mathewson2024-03-283-10/+8
| | | | | | | | | | | | | | | | | | | | Everybody outside of tor-netdir should use HasRelayIds::same_relay_ids, whose intent is clearer.
| * | | Remove all *Relay is_flagged_guard methods.Nick Mathewson2024-03-284-31/+10
| | | | | | | | | | | | | | | | These were only used for testing.
| * | | Remove temporary functions in CheckedRelay.Nick Mathewson2024-03-2810-203/+122
| | | |
| * | | Remove temporary functions in UncheckedRelay.Nick Mathewson2024-03-282-27/+8
| | | |
| * | | Move most functions from *Relay to *RelayDetailsNick Mathewson2024-03-282-22/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In *RelayDetails, this is just a matter of changing a bunch of `self`s to `self.0`. Additionally, I've added temporary stub functions to delegate to the new functions.
| * | | Relocate declarations of *Relay methods to details.rsNick Mathewson2024-03-282-129/+141
| | | | | | | | | | | | | | | | This is 99% code movement.
| * | | Add low_level_details to {Unchecked,}Relay.Nick Mathewson2024-03-272-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm going to use this wrapper type to hide checks that should mostly not be used without careful thinking. There are also comments here explaining when you'd want to use these types, and when you shouldn't. Part of #504.
* | | | Merge branch 'fix_relaymsg_fuzzer' into 'main'Nick Mathewson2024-04-032-4/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix compilation for relaymsg fuzzer Closes #1349 See merge request tpo/core/arti!2069
| * | | | Fix compilation for relaymsg fuzzerNick Mathewson2024-04-022-4/+10
| | | | | | | | | | | | | | | | | | | | This broke when we changed the relaymsg api.
* | | | | Merge branch 'deftly' into 'main'Ian Jackson2024-04-0331-289/+271
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Switch to derive-deftly See merge request tpo/core/arti!2066
| * | | | | derive-deftly: Change some docs referencesIan Jackson2024-04-035-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Found by "git grep adhoc" and manual inspection.
| * | | | | Apply import alphabetisation churnIan Jackson2024-04-032-2/+2
| | | | | |
| * | | | | tor-rtmock: Remove a todo commentIan Jackson2024-04-031-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | derive-deftly 0.10.x rejects unrecognised `#[deftly]` attributes.
| * | | | | derive-deftly: Call pub_template_semver_checkIan Jackson2024-04-032-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new feature in d-d 0.10.0. Our currrent semver policy doesn't care about this, but let's not encode that property in the tree and leave ourselves a booby-trap.
| * | | | | Switch to derive-deftlyIan Jackson2024-04-0330-279/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the combination of a number of separate commits, many of which were generated by seddery, and then rebased and squashed. Cargo.toml perl -i~ -pe 's{^derive-adhoc}{derive-deftly = "0.10"}' crates/*/Cargo.toml (not regenerated during rebase) update Cargo.lock `cargo fetch` without --locked (regenerated during rebase) seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{^use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bdefine_derive_adhoc\b}{define_derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bAdhoc\b}{Deftly}g if m{derive}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[derive_adhoc\b}{#[derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc\b}{derive_deftly_adhoc} if m{use.*deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc!}{derive_deftly_adhoc!}' (not regenerated during rebase) Manually add `#[derive_deftly_adhoc]` where needed. seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[adhoc\b}{#[deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc_template}{derive_deftly_template}' (not regenerated during rebase) Manually fix up an import Manually update some builder attrs Manually fix up tor_rtmock::time_core This was missed in my seddery, due to me rebasing the branch and not redoing the seddery.
* | | | | | Merge branch 'finish-backoff-refactor' into 'main'Nick Mathewson2024-04-022-31/+126
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-hsservice: Use single_attempt_timeout in backoff Runner impl. Closes #1259 See merge request tpo/core/arti!2064
| * | | | | | tor-hsservice: Move optional timeout to optionally_timeout().Gabriela Moldovan2024-04-021-7/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2064#note_3014793
| * | | | | | tor-hsservice: s/timeout/overall_timeout for clarity.Gabriela Moldovan2024-04-021-2/+2
| | | | | | |
| * | | | | | tor-hsservice: Add a test for the backoff runner's single_attempt_timeout().Gabriela Moldovan2024-04-021-0/+51
| | | | | | |
| * | | | | | tor-hsservice: Use single_attempt_timeout in backoff Runner impl (fmt).Gabriela Moldovan2024-04-021-10/+10
| | | | | | |
| * | | | | | tor-hsservice: Use single_attempt_timeout in backoff Runner impl.Gabriela Moldovan2024-04-022-19/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | !2024 introduced `BackoffSchedule::single_attempt_timeout()`, partially implementing #1259. This completes the implementation by moving the per-iteration timeout from the publisher reactor to `backoff::Runner`. Addresses https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2024?commit_id=a4f2bf5cb7d4027a49b74ec5a5298f7b9a3cf62e#note_3005097 Note: the `if should_retry` block is intentionally misindented, to make reviewing the actual changes easier. A future commit will fix the indentation. I originally wanted to suggest reviewing this commit using `--ignore-space-change`, but I found that it makes things a bit confusing (it shows some funky indentation around the parts that have both whitespace changes and modifications). Closes #1259
* | | | | | | Merge branch 'loosen_check_licenses' into 'main'gabi-2502024-04-021-2/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove check_licenses exception for rustls-webpki See merge request tpo/core/arti!2070
| * | | | | | | Remove note about option-ext statusNick Mathewson2024-04-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They merged the suggested notice back May 2023: https://github.com/soc/option-ext/pull/4
| * | | | | | | Remove check_licenses exception for rustls-webpkiNick Mathewson2024-04-021-1/+0
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | (They have declared their license as ISC, which is on our allow-list.)
* | | | | | | Merge branch 'unmanaged-proxy-config-test' into 'main'Nick Mathewson2024-04-024-10/+63
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test (and small cleanups) for Transport configuration Closes #1333 See merge request tpo/core/arti!2056
| * | | | | | | Add a test for transport configurationNick Mathewson2024-04-021-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Previously, nothing actually parsed these values in our configuration.) Closes #1333.
| * | | | | | | example-config: Indent transport argumentsNick Mathewson2024-04-021-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make it possible for our tests to pull them out.
| * | | | | | | ptmgr: Use impl_standard_builder for TransportConfigNick Mathewson2024-04-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This is !Default, since there is no default TransportConfig.)