summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-rtmock: Use MockTimeCore in time.rs too (fmt)Ian Jackson2024-03-251-6/+12
| | | |
| * | | tor-rtmock: Use MockTimeCore in time.rs tooIan Jackson2024-03-251-23/+18
| | | |
| * | | tor-rtmock: Introduce MockTimeCoreIan Jackson2024-03-252-25/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It bothered me that when I added a `MockCoarseTimeProvider` to the mock time providers, I had to manually grep to check that there weren't places the time was updated where I ought to also update the coarse time. Prove that the code is right by hiding all the times together in a struct that prevents un-synchronised updates. This is part 1, where we move the fields from simple_time::State to the new struct.
| * | | tor-rtmock: time_core: rename from coarse_time (fmt)Ian Jackson2024-03-251-1/+1
| | | |
| * | | tor-rtmock: time_core: rename from coarse_timeIan Jackson2024-03-254-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | We're going to put more in here. (Yes, I know we just invented this...)
* | | | Merge branch 'fixup-features-1.2.1' into 'main'Nick Mathewson2024-04-0115-7/+31
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Run "fixup-features" in preparation for next release. See merge request tpo/core/arti!2061
| * | | | Run "fixup-features" in preparation for next release.Nick Mathewson2024-03-2815-7/+31
| | |/ / | |/| |
* | | | Merge branch 'downgrade-alpine-reproducible' into 'main'Nick Mathewson2024-03-292-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | downgrade alpine used for reproducible builds See merge request tpo/core/arti!2062
| * | | downgrade alpine used for reproducible buildstrinity-1686a2024-03-292-2/+2
|/ / / | | | | | | | | | temporary fix for broken macos builds
* | | Merge branch 'netdir-params-links' into 'main'Alexander Færøy2024-03-271-3/+3
|\ \ \ | | | | | | | | | | | | | | | | tor-netdir: Fix broken links in NetParameters docs. See merge request tpo/core/arti!2054
| * | | tor-netdir: Fix broken links in NetParameters docs.Gabriela Moldovan2024-03-261-3/+3
| | | | | | | | | | | | | | | | Spotted in https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2053#note_3012632
* | | | Merge branch 'yes-it-is-supported' into 'main'Alexander Færøy2024-03-271-1/+4
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Fix note in config that claimed onion services weren't implemented See merge request tpo/core/arti!2055
| * | | Fix note in config that claimed onion services weren't implementedNick Mathewson2024-03-271-1/+4
|/ / / | | | | | | | | | | | | Instead, link to documentation, and give the warning about their security.
* | | Merge branch 'broad-semver' into 'main'gabi-2502024-03-263-8/+110
|\ \ \ | | | | | | | | | | | | | | | | Update our semver policy as suggested in #1005 See merge request tpo/core/arti!2051
| * | | Release.md: Clarify structure slightlyIan Jackson2024-03-261-6/+6
| | | |
| * | | README: suggest use of cargo upgrade.Ian Jackson2024-03-251-0/+1
| | | |
| * | | Release.md: Correct set-version rubricsIan Jackson2024-03-251-1/+3
| | | |
| * | | semver policy: Remove word "woolly"Ian Jackson2024-03-251-1/+1
| | | |
| * | | docs: Typos/grammarNick Mathewson2024-03-251-2/+2
| | | |
| * | | semver policy: Be clear about date when we write somethingNick Mathewson2024-03-251-1/+1
| | | |
| * | | Improve markdown syntaxNick Mathewson2024-03-251-2/+2
| | | |
| * | | doc/Release.md: Initial cut of changes apropos new semver approachIan Jackson2024-03-251-1/+30
| | | |
| * | | doc/Semver.md: Add semver policyIan Jackson2024-03-252-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | Taken from https://gitlab.torproject.org/tpo/core/arti/-/issues/1005#note_2991812 and edited.
| * | | README: Document our semver approachIan Jackson2024-03-251-0/+7
| | | | | | | | | | | | | | | | Even before the policy change, this is, in practice, true.
| * | | doc/Release.md: Move a comment about committing lockfilesIan Jackson2024-03-251-3/+2
| | | |
* | | | Merge branch 'vanguard-params' into 'main'gabi-2502024-03-262-0/+89
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | tor-netdir: Add the vanguard params to NetParameters. See merge request tpo/core/arti!2053
| * | | tor-guardmgr: Replace From impl with from_net_parameter constructor.Gabriela Moldovan2024-03-261-2/+8
| | | |
| * | | tor-netdir: Use IntegerSeconds for the vanguard lifetime params.Gabriela Moldovan2024-03-261-4/+4
| | | |
| * | | tor-netdir: Use consistent termninology in the vanguard param docs.Gabriela Moldovan2024-03-261-6/+6
| | | |
| * | | tor-netdir: Fix torspec links in vanguard param docs.Gabriela Moldovan2024-03-261-8/+8
| | | |
| * | | tor-guardmgr: Implement From<BoundedInt32> for VanguardMode.Gabriela Moldovan2024-03-261-0/+13
| | | | | | | | | | | | | | | | | | | | We'll need this to convert the `vanguard_enabled` and `vanguard_hs_service` net params to a `VanguardMode.
| * | | tor-netdir: Add the vanguard params to NetParameters.Gabriela Moldovan2024-03-261-0/+70
| | |/ | |/| | | | | | | | | | | | | See also torspec!258 Part of #1272
* | | Merge branch 'stream_counting' into 'main'Nick Mathewson2024-03-2611-99/+362
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Implement max_concurrent_streams_per_circuit Closes #1124 See merge request tpo/core/arti!2047
| * | | Make filter conditional, to fix build with hs-service disabled.Nick Mathewson2024-03-262-2/+6
| | | |
| * | | Refactor and simplify ClientCircSyncViewNick Mathewson2024-03-262-34/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch, it holds only a reference to `&reactor.hops`, which greatly simplifies the reactor code's fight with the borrow checker. I've left some TODO comments about future directions here.
| * | | Rename the old IncomingStreamRequestContext to StreamReqInfo.Nick Mathewson2024-03-263-9/+7
| | | | | | | | | | | | | | | | (Doing this to prevent us having two structs with the same name.)
| * | | hss: Make the limit for streams configurable.Nick Mathewson2024-03-265-16/+30
| | | | | | | | | | | | | | | | Closes #1124.
| * | | Add an IncomingStreamRequestFilter to check early propertiesNick Mathewson2024-03-266-17/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on designs in #1124. Note that there is a TODO here about a hack I had to do to appease the borrow checker.
| * | | Define a type for a synchronous (blocking) view of a circuit state.Nick Mathewson2024-03-263-0/+40
| | | | | | | | | | | | | | | | | | | | We'll use this as an argument for the callback that checks stream requests to make sure they're permitted.
| * | | proto: Make StreamMap keep a count of open streams.Nick Mathewson2024-03-261-0/+34
| | | |
| * | | proto: Prevent general state-transitions on StreamEntNick Mathewson2024-03-262-38/+60
| | | | | | | | | | | | | | | | | | | | | | | | We want to keep an accurate count of the number of open streams, so we have to stop exposing `&mut StreamEnt` outside of the streammap module.
| * | | proto: Refactor circuit::streammap::StreamEntNick Mathewson2024-03-262-40/+51
|/ / / | | | | | | | | | | | | | | | | | | This is the first part of a refactoring that will let us keep code from the outside of `streammap` from changing a stream from one state to another. And we need to do _that_ so that StreamMap can count how many open streams it has.
* | | Merge branch 'refactor_stream_crypto_init' into 'main'Nick Mathewson2024-03-265-87/+118
|\ \ \ | |/ / |/| | | | | | | | Refactor the logic for constructing crypt layers. See merge request tpo/core/arti!2048
| * | Push HandshakeRole down one level.Nick Mathewson2024-03-261-5/+4
| | |
| * | Provide spec links for relay crypto formats.Nick Mathewson2024-03-261-2/+10
| | |
| * | Clean up match statement a little.Nick Mathewson2024-03-261-7/+7
| | |
| * | We now need circuit::handshake to exist unconditionally.Nick Mathewson2024-03-262-2/+15
| | |
| * | Refactor the logic for constructing crypt layers.Nick Mathewson2024-03-265-86/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The key insights here are: - That relay cell format and crypto protocols aren't orthogonal: Once we have GCO, it will require V1. - That we only need the actual functions for layer construction to be generic; we don't need to proliferate generic parameters everywhere. - That the circuit::handshake module already does most of what we want.
* | | Merge branch 'coarse' into 'main'Ian Jackson2024-03-2520-35/+397
|\ \ \ | |_|/ |/| | | | | | | | tor-rtcompat: Introduce CoarseTimeProvider, a new part of Runtime See merge request tpo/core/arti!2050
| * | tor-rtmock: Rename coarsetime module to coarse_timeIan Jackson2024-03-254-3/+3
| | | | | | | | | | | | | | | Modules with the same name as external crates don't work well with our MSRV.