summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Release.md: Say to recheck blockers before releasing!Ian Jackson2025-08-141-0/+2
| | | | | |
| * | | | | Release.md: Add tickyboxesIan Jackson2025-08-141-27/+34
| | | | | |
| * | | | | maint/release-prep-ticket-template: script for making checklistIan Jackson2025-08-142-0/+84
|/ / / / /
* | | | | Merge branch 'send-unbounded' into 'main'gabi-2502025-08-131-2/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | proto: Consolidate all send_unbounded() calls in send_msg(). See merge request tpo/core/arti!3154
| * | | | | proto: Consolidate all send_unbounded() calls in send_msg().Gabriela Moldovan2025-08-131-2/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces a `send_unbounded()` call with `send_msg()`. Now `send_msg()` is the only place where we call `send_unbounded()` in the tunnel reactor, which makes it a bit easier to see which callsites have the potential to cause buffering in the channel sink. Prompted by #2112
* | | | | Merge branch 'mock-time-core-tidy' into 'main'Ian Jackson2025-08-131-6/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-rtmock: Slightly clean up CrateGetters macro See merge request tpo/core/arti!3150
| * | | | | tor-rtmock: MockTimeCore: fix docsIan Jackson2025-08-121-2/+2
| | | | | |
| * | | | | tor-rtmock: Slightly clean up CrateGetters macroIan Jackson2025-08-121-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I want to use this as an example in a talk. Add a blank line that makes it more readable, and generate only one impl block with many methods.
* | | | | | Merge branch 'remove-comment' into 'main'David Goulet2025-08-121-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-cell: Fix comment in `ChannelCodec::encode` See merge request tpo/core/arti!3155
| * | | | | | tor-cell: fix comment in `ChannelCodec::encode`Steven Engler2025-08-121-1/+3
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This comment isn't correct if the encode() was given a non-empty buffer (for example if two cells were written to the same buffer, the second encode() would be given a non-empty buffer, so `pos != 5`).
* | | | / / Merge branch 'slab' into 'main'Ian Jackson2025-08-121-2/+2
|\| | | | | | |_|_|/ / |/| | | | | | | | | | | | | | Update slab dependency to fix cargo audit See merge request tpo/core/arti!3151
| * | | | Update slab dependency to fix cargo auditIan Jackson2025-08-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids https://rustsec.org/advisories/RUSTSEC-2025-0047 I have considered whether this needs a TROVE. I think not. We don't call the unsound method at all directly within arti.git. As for our dependencies: I (with some flailing) managed to patch the whole build to use a modified version of slab with the unsound method sabotaged. This was successful. So I think nothing in our whole tree uses it. (I also verified that my sabotage arrangements were effective: applying `#![cfg(any())]` at the top of slab's lib.rs did break the build of hs.)
* | | | | Merge branch 'chutney-multi-phase' into 'main'Jim Newsome2025-08-124-13/+31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CI: tweaks to make chutney network bootstrap less noisy See merge request tpo/core/arti!3149
| * | | | | integration-e2e-shadow: update simulated time more frequentlyJim Newsome2025-08-111-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, this is to avoid floods of: > compute_drain_rate(): Bug: Computing stream drain rate with zero time delta in tor logs.
| * | | | | chutney test net: add 2nd exit and bridge for conflux compatJim Newsome2025-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti isn't trying to use conflux yet, but the tor nodes are. Things were stumbling along without this, but adding it reduces some log noise, and might help with consistency.
| * | | | | chutney test network: use multi-phase launchJim Newsome2025-08-111-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces some noise and warnings, and may help with consistency. e.g. this avoids everything trying to repeatedly contact the directory authorities before they're up.
| * | | | | chutney ci: use "chutney bootstrap" to support multi-phase networksJim Newsome2025-08-111-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this commit there should be little effective difference, other than combining the "setup", "configure", and "wait_for_bootstrap" steps. "chutney bootstrap" also support multi-phase networks, though, in which chutney waits for some nodes to fully bootstrap before bringing up other nodes.
| * | | | | CI: increase CHUTNEY_START_TIME to defaultJim Newsome2025-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the time we wait for the network to bootstrap before giving up. With the larger network we seem to need this extra time. We've already increased the default in chutney to 300; no reason to use a smaller value here. Keep the explicit-setting for now as a convenience in case we want to modify it again.
| * | | | | CI: bump chutney versionJim Newsome2025-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Primarily to get arti hidden services support, added in tpo/core/chutney!77
* | | | | | Merge branch 'fix-keys-list' into 'main'wesleyac2025-08-121-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: keys: Fix `display_keystore_entries` output See merge request tpo/core/arti!3143
| * | | | | | arti: keys: Fix `display_keystore_entries` outputhjrgrn2025-08-091-0/+1
| | | | | | |
* | | | | | | Merge branch 'arti-crate-readme-typos' into 'main'wesleyac2025-08-121-9/+9
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | arti-crate-readme-typos: Typos See merge request tpo/core/arti!3115
| * | | | | | arti-crate-readme-typos: Typosnield2025-08-041-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - "command-line" should be written with hyphen when adjective. - Rephrased some sentences. - OS X is now called MacOS.
* | | | | | | Merge branch 'relay-reactor-design' into 'main'gabi-2502025-08-121-0/+491
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/dev/notes: relay-reactor: Add a relay reactor implementation sketch. See merge request tpo/core/arti!3146
| * | | | | | | doc/dev/notes: relay-reactor: Add a relay reactor implementation sketch.Gabriela Moldovan2025-08-111-0/+491
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a rough sketch for the new relay tunnel reactor design. It also contains a proposed refactoring which would enable us to repurpose much of the existing tunnel reactor implementation. This is by no means final, and we might choose not to refactor the tunnel reactor until after we have an initial working (or quasi-working) version for the relay reactor.
* | | | | | | | Merge branch 'channel_doesnt_count_towards_timing' into 'main'wesleyac2025-08-113-71/+102
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | circmgr: Don't count channel negotiation towards circuit built time. See merge request tpo/core/arti!3141
| * | | | | | | circmgr: Move the body of get_channel_to_guard into its only caller.Nick Mathewson2025-08-071-33/+23
| | | | | | | |
| * | | | | | | circmgr: Don't count channel negotiation towards circuit built time.Nick Mathewson2025-08-073-53/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is important, since some circuits require us to negotiate a new channel, and some don't: by adding this variability, we can easily learn a timeout based on pre-existing channels to our guards, but then later time out if it takes a while to open a TLS connection. This is a possible solution to part of #2079, a bug where we "learn" a circuit timeout that is too low for us to satisfy.
| * | | | | | | cirmgr: extract code that opens a channel.Nick Mathewson2025-08-071-14/+26
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge branch 'docs' into 'main'opara2025-08-112-30/+8
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | web: Small fixes/improvements See merge request tpo/core/arti!3109
| * | | | | | web: change example onion addressSteven Engler2025-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the tor project onion address returned from: ``` curl --head https://www.torproject.org ``` I think it's better to give an example with our own onion service than a third-party one. Also ddg seems to use an obfuscated webpage with a single line, which doesn't show nicely in the terminal.
| * | | | | | web: connecting to onion services is now supported by defaultSteven Engler2025-08-111-23/+3
| | | | | | |
| * | | | | | web: 'censorship' -> 'censorship circumvention'Steven Engler2025-08-111-1/+1
| | | | | | |
| * | | | | | web: remove outdated warningSteven Engler2025-08-111-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No one is actively updating the web docs, so the existing comment is misleading.
| * | | | | | web: update c-tor addressSteven Engler2025-08-111-1/+1
|/ / / / / /
* | | | | | Merge branch 'lifetime' into 'main'opara2025-08-111-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti-client example: Write rather than hide an elided lifetime See merge request tpo/core/arti!3145
| * | | | | | arti-client example: Write rather than hide an elided lifetimeIan Jackson2025-08-111-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes this warning. Not sure why it's not showing up in CI. --> crates/arti-client/examples/one_hop_circuit.rs:16:35 | 16 | fn find_one_hop_dir_cache(netdir: &NetDir) -> Option<Relay> { | ^^^^^^^ ----- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 16 | fn find_one_hop_dir_cache(netdir: &NetDir) -> Option<Relay<'_>> { | ++++
* | | | | | Merge branch 'hyper-examples' into 'main'Ian Jackson2025-08-1110-103/+117
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | hyper-examples: Update examples for `hyper`. See merge request tpo/core/arti!2941
| * | | | | hyper-examples: Run rustfmtIan Jackson2025-08-111-1/+3
| | | | | |
| * | | | | Merge branch 'main' into !2941Ian Jackson2025-08-11497-4493/+6543
| |\ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/hyper/hyper-http-client-example/Cargo.toml examples/hyper/hyper-http-hs-example/Cargo.toml In both cases, just the change of edition, which I have applied to examples/hyper-examples/Cargo.toml instead.
* | | | | | Merge branch 'circ-react-report' into 'main'opara2025-08-073-18/+31
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Use error report in tunnel/channel reactor mainloop Closes #2057 See merge request tpo/core/arti!3122
| * | | | | | tor-proto: use error report in tunnel/channel reactorSteven Engler2025-08-073-18/+31
|/ / / / / /
* | | | | | Merge branch 'fix-cargo-fmt' into 'main'gabi-2502025-08-071-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Fix failing cargo fmt See merge request tpo/core/arti!3140
| * | | | | | tor-proto: fix failing cargo fmtSteven Engler2025-08-071-1/+1
| | | | | | |
* | | | | | | Merge branch 'note_result_flatten_msrv' into 'main'David Goulet2025-08-071-2/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | Fix a comment about Result::flatten See merge request tpo/core/arti!3138
| * | | | | | Fix a comment about Result::flattenNick Mathewson2025-08-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this API was nightly-only; now it's in 1.89.
* | | | | | | Merge branch 'enable-cgo' into 'main'Nick Mathewson2025-08-077-53/+43
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable counter-galois onion negotiation and make it work. See merge request tpo/core/arti!3133
| * | | | | | | proto: In CircuitExtender, derive relay crypt protocol from settings.Nick Mathewson2025-08-072-40/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a CGO bug: when extending circuits with ntorv3, we were never actually using CGO encryption for the newly constructed layer. This change also simplifies the code a bit, by un-parameterizing CircuitExtender a bit.
| * | | | | | | Propagate cgo feature up to arti crate.Nick Mathewson2025-08-072-0/+8
| | | | | | | |
| * | | | | | | proto: List CGO-related features in supported_client_protocolsNick Mathewson2025-08-061-3/+9
| | | | | | | |