| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | | CircMgr: Move get_or_launch_exit method to generic impl. | Wesley Aptekar-Cassels | 2024-10-03 | 1 | -45/+45 | |
| | | | | | | | ||||||
| | * | | | | | CircMgr: Move get_or_launch_dir method to generic impl. | Wesley Aptekar-Cassels | 2024-10-03 | 1 | -8/+8 | |
| | | | | | | | ||||||
| | * | | | | | CircMgr: Move skew_events method to generic impl. | Wesley Aptekar-Cassels | 2024-10-03 | 1 | -11/+11 | |
| | | | | | | | ||||||
| | * | | | | | CircMgr: Move retire_circ method to generic impl. | Wesley Aptekar-Cassels | 2024-10-03 | 1 | -6/+6 | |
| | | | | | | | ||||||
| | * | | | | | CircMgr: Move reconfigure method to generic impl. | Wesley Aptekar-Cassels | 2024-10-03 | 1 | -67/+67 | |
| | | | | | | | ||||||
| | * | | | | | CircMgr: Move retire_all_circuits method to generic impl. | Wesley Aptekar-Cassels | 2024-10-03 | 1 | -11/+11 | |
| | | | | | | | ||||||
| * | | | | | | Merge branch 'allow-onion-addrs-default-true' into 'main' | gabi-250 | 2024-10-07 | 4 | -42/+4 | |
| |\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default allow_onion_addrs to true. Closes #1402 See merge request tpo/core/arti!2506 | |||||
| | * | | | | | Default allow_onion_addrs to true. | Wesley Aptekar-Cassels | 2024-10-07 | 4 | -42/+4 | |
| | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was disabled due to lack of vanguard support. Now that we support vanguards, we should enable this by default. Fixes: #1402 | |||||
| * | | | | | Merge branch 'params-required' into 'main' | Nick Mathewson | 2024-10-07 | 1 | -3/+0 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rpcserver: Remove TODO about optionality of params Closes #1665 See merge request tpo/core/arti!2510 | |||||
| | * | | | | | rpcserver: Remove TODO about optionality of params | Nick Mathewson | 2024-10-07 | 1 | -3/+0 | |
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The spec no longer says that `params` is optional, so we can remove the TODO about making it optional. Closes #1665. | |||||
| * | | | | | Merge branch 'fix-onion-service-client-feature-flag' into 'main' | gabi-250 | 2024-10-07 | 2 | -5/+4 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti-client: Mark tor-hsservice a dep of onion-service-client feature. Closes #1638 See merge request tpo/core/arti!2457 | |||||
| | * | | | | | arti-client: Fix restricted-discovery dependencies. | Wesley Aptekar-Cassels | 2024-10-07 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | restricted-discovery should require tor-hsservice to be enabled. This previously caused this command to fail: cargo check -p arti-client --features restricted-discovery,vanguards | |||||
| | * | | | | | arti-client: Fix incorrect feature gate for onion-service-client. | Wesley Aptekar-Cassels | 2024-10-07 | 1 | -4/+3 | |
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, arti-client doesn't compile with just the features experimental-api and onion-service-client enabled, because it incorrectly depends on tor-hsservice. This fixes that by gating the use statement behind the correct feature. Fixes: #1638 | |||||
| * | | | | | Merge branch 'fix-flaky-accept-valid-sendme-test' into 'main' | Jim Newsome | 2024-10-07 | 1 | -4/+3 | |
| |\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Fix flaky circuit::test::accept_valid_sendme test. Closes #628 See merge request tpo/core/arti!2501 | |||||
| | * | | | | tor-proto: Fix flaky circuit::test::accept_valid_sendme test. | Wesley Aptekar-Cassels | 2024-10-07 | 1 | -4/+3 | |
| |/ / / / | | | | | | | | | | | | | Fixes: #628 | |||||
| * | | | | Merge branch 'bump-futures-util' into 'main' | Nick Mathewson | 2024-10-07 | 1 | -14/+14 | |
| |\ \ \ \ | |_|/ / |/| | | | | | | | | | | | cargo-audit Bump our various futures-* deps to 0.3.31. See merge request tpo/core/arti!2499 | |||||
| | * | | | cargo-audit Bump our various futures-* deps to 0.3.31. | Gabriela Moldovan | 2024-10-07 | 1 | -14/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `cargo-audit` job is currently failing because `futures-util 0.3.30` was yanked. This bumps our various futures-* deps to [0.3.31]. [0.3.31]: https://github.com/rust-lang/futures-rs/commit/631aa93a598520b24e671aa3492351f516e85538?short_path=06572a9#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed | |||||
| * | | | | Merge branch 'mq' into 'main' | Ian Jackson | 2024-10-07 | 30 | -63/+453 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | Implement memory quota tracking See merge request tpo/core/arti!2493 | |||||
| | * | | | Document breaking changes (new memquota arguments) | Ian Jackson | 2024-10-03 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | Start an UNRELEASED section in the changelog. | |||||
| | * | | | tor-proto: Remove the no-longer needed allows | Ian Jackson | 2024-10-03 | 3 | -3/+0 | |
| | | | | | ||||||
| | * | | | tor-proto: Make incoming stream requests participate in memquota (fmt) | Ian Jackson | 2024-10-03 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | tor-proto: Make incoming stream requests participate in memquota | Ian Jackson | 2024-10-03 | 2 | -3/+5 | |
| | | | | | ||||||
| | * | | | tor-proto: Implement HasMemoryCost for StreamReqInfo | Ian Jackson | 2024-10-03 | 1 | -1/+8 | |
| | | | | | | | | | | | | | | | | | | | | | This is necessarily a bit fudged, since a StreamReqInfo is full of exciting things like ends of other MPSC queues. | |||||
| | * | | | tor-proto: Make stream queues participate in memquota (fmt) | Ian Jackson | 2024-10-03 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | tor-proto: Make stream queues participate in memquota | Ian Jackson | 2024-10-03 | 2 | -8/+19 | |
| | | | | | | | | | | | | | | | | | Change the typss of StreamMpscSender and StreamMpscReceiver. | |||||
| | * | | | tor-proto: channel: Provide time_provider accessors | Ian Jackson | 2024-10-03 | 1 | -0/+17 | |
| | | | | | | | | | | | | | | | | | This will save circuits etc. keeping their own clone of the time provider. | |||||
| | * | | | tor-proto: Make circuit->channel queues participate in memquota | Ian Jackson | 2024-10-03 | 4 | -11/+53 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use the *channel*'s memquota account. This is arguably wrong, but it's hard to get right now. See #1652. Change the type of the queue, and the places it's constructed. The use sites can all stay the same. | |||||
| | * | | | tor-proto: Introduce a fake_mpsc helper for channel tests | Ian Jackson | 2024-10-03 | 1 | -2/+11 | |
| | | | | | | | | | | | | | | | | | | | | | This provides a nice place to change in the tests, when we want to change the way the queue is made. | |||||
| | * | | | tor-proto: Put a StreamAccount in DataStream etc. | Ian Jackson | 2024-10-03 | 4 | -7/+29 | |
| | | | | | ||||||
| | * | | | tor-proto: Put a StreamAccount in DataStream etc. (pre-fmt) | Ian Jackson | 2024-10-03 | 1 | -2/+9 | |
| | | | | | ||||||
| | * | | | tor-proto: Put a CircuitAccount in ClientCirc and circuit::Reactor | Ian Jackson | 2024-10-03 | 2 | -1/+18 | |
| | | | | | ||||||
| | * | | | tor-proto: Plumb the ChannelAccount through to queue creation site | Ian Jackson | 2024-10-03 | 9 | -17/+73 | |
| | | | | | | | | | | | | | | | | | | | | | This gets it as far as the outbound circuit->channel mpsc queue creation. Also, we provide an accessor for it. | |||||
| | * | | | tor-proto: Plumb the ChannelAccount through to queue creation site (pre-fmt) | Ian Jackson | 2024-10-03 | 4 | -4/+16 | |
| | | | | | ||||||
| | * | | | tor-chanmgr: Make a memquota::ChannelAcocunt per channel | Ian Jackson | 2024-10-03 | 5 | -6/+20 | |
| | | | | | | | | | | | | | | | | | | | | | This delivers a fresh account per channel to the places where channels are actually made, but doesn't pass them to tor-proto yet. | |||||
| | * | | | tor-chanmgr: Make a memquota::ChannelAcocunt per channel (pre-fmt) | Ian Jackson | 2024-10-03 | 1 | -1/+4 | |
| | | | | | ||||||
| | * | | | memquota: Add a toplevel account in tor-chanmgr | Ian Jackson | 2024-10-03 | 10 | -1/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Plumb through a top-level account. This doesn't have any channel-specific, circuit-specific or stream-specific accounts yet. tor-circmgr's and tor-hsclient's *tests* need fake account. In arti-relay, use a dummy account for now. | |||||
| | * | | | memquota: Add a toplevel account in tor-chanmgr (pre-fmt) | Ian Jackson | 2024-10-03 | 1 | -1/+2 | |
| | | | | | ||||||
| | * | | | tor-proto: Make PendingClientCirc::new fallible (fmt) | Ian Jackson | 2024-10-03 | 1 | -7/+1 | |
| | | | | | ||||||
| | * | | | tor-proto: Make PendingClientCirc::new fallible | Ian Jackson | 2024-10-03 | 2 | -6/+7 | |
| | | | | | ||||||
| | * | | | tor-proto: channel: Make construction fallible | Ian Jackson | 2024-10-03 | 3 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | | | Making a channel is going to involve making a memquota Participant, which can fail. | |||||
| | * | | | arti-client: Provide another variant for memquota errors | Ian Jackson | 2024-10-03 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | During startup we'll call a few not-just-at-startup memquota methods which produce tor_memquota::Error, rather than StartupError. So we need a variant for that. | |||||
| | * | | | tor-chanmgr: Provide a variant for memquota errors | Ian Jackson | 2024-10-03 | 3 | -0/+10 | |
| | | | | | ||||||
| | * | | | tor-proto: Provide a variant for memquota errors | Ian Jackson | 2024-10-03 | 1 | -0/+6 | |
| | | | | | ||||||
| | * | | | Provide newtypes to distinguish memoquota accounts at different levels | Ian Jackson | 2024-10-03 | 2 | -0/+118 | |
| | |/ / | ||||||
| * | | | Merge branch 'update-circmgr-0.23.0-changelog' into 'main' | gabi-250 | 2024-10-03 | 1 | -3/+7 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Update CHANGELOG.md with more tor-circmgr 0.23.0 changes. See merge request tpo/core/arti!2496 | |||||
| | * | | | Update CHANGELOG.md with more tor-circmgr 0.23.0 changes. | Wesley Aptekar-Cassels | 2024-10-03 | 1 | -3/+7 | |
| | |/ / | ||||||
| * | | | Merge branch 'rpc-forward-compat' into 'main' | Nick Mathewson | 2024-10-03 | 1 | -3/+112 | |
| |\ \ \ | |_|/ |/| | | | | | | | | rpc-meta-draft: describe compatibility rules and mechanisms See merge request tpo/core/arti!2475 | |||||
| | * | | rpc-meta-draft: add TODO note about unsupported_features | Nick Mathewson | 2024-10-03 | 1 | -1/+5 | |
| | | | | ||||||
| | * | | rpc-meta-draft: Use SHOULD NOT instead of USUALLY NOT RECOMMENDED | Nick Mathewson | 2024-10-03 | 1 | -2/+1 | |
| | | | | | | | | | | | | | AIUI they mean the same thing | |||||
| | * | | rpc-meta-draft: describe rules for remembering feature support | Nick Mathewson | 2024-10-03 | 1 | -0/+20 | |
| | | | | | | | | | | | | | From a suggestion from @diziet | |||||
