summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | proto: Fix documentation to avoid recommending ntor methodsNick Mathewson2025-04-281-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Since we have create_firsthop() and extend(), we should recommend them in our documentation, instead of recommending the no-longer-best methods.
| * | | proto: Provide and use a create_firsthop() wrapper too.Nick Mathewson2025-04-282-7/+25
| | | |
| * | | circmgr: Rename AbstractCirc::{extend_ntor => extend}Nick Mathewson2025-04-284-6/+5
| | | | | | | | | | | | | | | | | | | | We don't want to be thinking about ntor vs ntor3 in circmgr.
| * | | tor-proto: New extend() to pick between ntor and ntor3Nick Mathewson2025-04-283-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the future, when we add more circuit handshakes (PQ anyone?) we'll want to have the logic for choosing which to use be unified. Almost nobody calling tor-proto should need to care which circuit handshake is going to be used. Closes #1970.
* | | | Merge branch 'file_limit' into 'main'David Goulet2025-05-061-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | debian: Match default limit of file descriptors with systemd See merge request tpo/core/arti!2937
| * | | | debian: Match default limit of file descriptors with systemdsyphyr2025-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default arti.toml configuration sets the maximum number of available file descriptiors (max_files) to 16384. So, match arti default limit with systemd.
* | | | | Merge branch 'item-metadata-cert-support' into 'main'gabi-2502025-05-061-75/+159
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: Refactor ItemMetadata to support certificate metadata Closes #1913 See merge request tpo/core/arti!2921
| * | | | | tor-keymgr: Refactor ItemMetadata to support certificate metadatashivam374832025-05-061-75/+159
| | | | | |
* | | | | | Merge branch 'experimental_api_path' into 'main'gabi-2502025-05-061-1/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | circmgr: Make path module public on "--features=experimental-api" Closes #1981 See merge request tpo/core/arti!2990
| * | | | | | circmgr: Make path module public on "--features=experimental-api"Nick Mathewson2025-05-051-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Back in 4c1eb94173521bc5104449327650e20ffe32afa7, for sensible reasons, we made `tor_circmgr::path` a crate-private module. But when we did that, we lost the ability for callers to construct circuits with custom paths. This will make it possible for callers to build custom circuits again, without committing to a very-long-term API for that. Closes #1981.
* | | | | | | Merge branch 'debug-ci' into 'main'gabi-2502025-05-064-3/+51
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shadow CI tweaks See merge request tpo/core/arti!2989
| * | | | | | | Bump shadow version used in CIJim Newsome2025-05-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly to get the `faccessat` fix in <https://github.com/shadow/shadow/pull/3578>. I don't *think* it's currently affecting these tests, but is a very confusing bug when it does bite.
| * | | | | | | CI jobs: use tor package repositoryJim Newsome2025-05-052-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It probably makes sense to test against a version of c-tor that we still support.
| * | | | | | | shadow CI: enable model-unblocked-syscall-latencyJim Newsome2025-05-051-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not expected to solve any immediate issue, but helpful for consistency with the chutney-shadow CI, and I think in the past we've hit busy-loop deadlock without it if/when we try increasing the simulation end time. Similarly, we apply the same tuning of "max_unapplied_cpu_latency" as we use in the chutney-shadow simulation, which gets back some of the simulation stability that enabling model-unblocked-syscall-latency otherwise sometimes sacrifices.
| * | | | | | | shadow CI: disable strace loggingJim Newsome2025-05-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While useful, it significantly slows down the test. We should probably just enable it when needed.
* | | | | | | | Merge branch 'windows' into 'main'Jim Newsome2025-05-061-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fs-mistrust: fix build on non-unix systems See merge request tpo/core/arti!2962
| * | | | | | | | fs-mistrust: fix build on non-unix systemsTobias Stoeckmann2025-04-251-0/+1
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The TrustAdminOnly enum value is only defined for unix systems. Consider this fact in mistrust_build function to fix build on e.g. Windows systems.
* | | | | | | | Merge branch 'conflux-link' into 'main'David Goulet2025-05-0614-87/+2232
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Start handling conflux cells in the circuit reactor See merge request tpo/core/arti!2946
| * | | | | | | | tor-proto: Use AcqRel instead of SeqCst to clarify intent.Gabriela Moldovan2025-05-062-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2946#note_3192334
| * | | | | | | | tor-proto: Document the lifecycle of a ConfluxSet.Gabriela Moldovan2025-05-061-1/+28
| | | | | | | | |
| * | | | | | | | tor-proto: Document why RemoveLegReason exists.Gabriela Moldovan2025-05-061-0/+14
| | | | | | | | |
| * | | | | | | | tor-proto: Move error binding under is_conflux_pending condition.Gabriela Moldovan2025-05-061-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't use it outside this branch, so might as well move it there.
| * | | | | | | | tor-proto: Remove already-addressed TODO.Gabriela Moldovan2025-05-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already do this, using `note_conflux_handshake_result`.
| * | | | | | | | tor-proto: Explain why the handshake result is noted before the LINKED_ACK.Gabriela Moldovan2025-05-061-1/+10
| | | | | | | | |
| * | | | | | | | tor-proto: Remove confusing parts of join_point docs.Gabriela Moldovan2025-05-061-4/+1
| | | | | | | | |
| * | | | | | | | tor-proto: Future-proof the unsupported_client_cell macro.Gabriela Moldovan2025-05-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prompted by opara's suggestion in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2946#note_3192319
| * | | | | | | | tor-proto: Clarify why ConfluxHandshakeComplete exists.Gabriela Moldovan2025-05-061-0/+8
| | | | | | | | |
| * | | | | | | | tor-proto: s/ConfluxTunnelResult/ConfluxHandshakeResults.Gabriela Moldovan2025-05-061-4/+4
| | | | | | | | |
| * | | | | | | | tor-proto: Linkify reference to HopDetail.Gabriela Moldovan2025-05-061-1/+1
| | | | | | | | |
| * | | | | | | | tor-proto: Fix incorrect RemoveLeg docs.Gabriela Moldovan2025-05-061-1/+1
| | | | | | | | |
| * | | | | | | | tor-proto: Clarify ConfluxHandshakeComplete docs.Gabriela Moldovan2025-05-061-2/+3
| | | | | | | | |
| * | | | | | | | tor-proto: Remove unnecessary TODO.Gabriela Moldovan2025-05-061-2/+0
| | | | | | | | |
| * | | | | | | | tor-proto: Add TODO about only switching legs before sending a cell.Gabriela Moldovan2025-05-061-0/+4
| | | | | | | | |
| * | | | | | | | tor-proto: Increment last delivered seqno for items popped from the heap.Gabriela Moldovan2025-05-062-4/+14
| | | | | | | | |
| * | | | | | | | tor-proto: Remove unnecessary &mut self.Gabriela Moldovan2025-05-061-1/+1
| | | | | | | | |
| * | | | | | | | tor-proto: Fix typo in warning.Gabriela Moldovan2025-05-061-1/+1
| | | | | | | | |
| * | | | | | | | tor-proto: Remove unnecessary mut in seqno check.Gabriela Moldovan2025-05-061-1/+1
| | | | | | | | |
| * | | | | | | | tor-proto: Rename helper closure for clarity.Gabriela Moldovan2025-05-061-2/+2
| | | | | | | | |
| * | | | | | | | tor-proto: s/leg/hop in variable name for clarity.Gabriela Moldovan2025-05-061-2/+2
| | | | | | | | |
| * | | | | | | | tor-proto: Get rid of unnecessary clone().Gabriela Moldovan2025-05-061-4/+1
| | | | | | | | |
| * | | | | | | | tor-proto: Note that we need to update impl based on torspec!369Gabriela Moldovan2025-05-061-0/+2
| | | | | | | | |
| * | | | | | | | tor-proto: Note the LINK cell was sent after sending it.Gabriela Moldovan2025-05-061-5/+9
| | | | | | | | |
| * | | | | | | | tor-proto: Shut down if conflux initiator is gone before handshake completes.Gabriela Moldovan2025-05-061-13/+28
| | | | | | | | |
| * | | | | | | | tor-proto: Move SWITCH seqno validation to validate_switch_seqno.Gabriela Moldovan2025-05-061-8/+8
| | | | | | | | |
| * | | | | | | | tor-proto: Validate conflux state before decoding SWITCH.Gabriela Moldovan2025-05-061-5/+5
| | | | | | | | |
| * | | | | | | | tor-proto: s/link/linked_ack in variable name.Gabriela Moldovan2025-05-061-2/+2
| | | | | | | | |
| * | | | | | | | tor-proto: Validate conflux state before decoding LINKED cell.Gabriela Moldovan2025-05-061-17/+17
| | | | | | | | |
| * | | | | | | | tor-proto: Check that we sent a LINK cell before decoding LINKED response.Gabriela Moldovan2025-05-061-5/+5
| | | | | | | | |
| * | | | | | | | tor-proto: Use u64 for the conflux seqnos.Gabriela Moldovan2025-05-064-22/+32
| | | | | | | | |
| * | | | | | | | tor-proto: Mention that the error came from a conflux circuit.Gabriela Moldovan2025-05-061-1/+1
| | | | | | | | |