aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Merge branch 'idx' into 'main'Ian Jackson2023-06-231-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-circmgr: Fix random_idx_where with empty slice Closes #918 See merge request tpo/core/arti!1296
| * | | | | | tor-circmgr: Test random_idx_where with empty sliceIan Jackson2023-06-231-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have verified that this test fails, as expected, when applied without the corresponding bugfix.
| * | | | | | tor-circmgr: random_idx_where: Don't panic on empty rangeIan Jackson2023-06-231-0/+3
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Fixes #918.
* | | | | | Merge branch 'circuit' into 'main'Alexander Færøy2023-06-231-21/+29
|\ \ \ \ \ \ | |_|/ / / / |/| | / / / | | |/ / / | |/| | | Drop intro circuit after ack, and deal with TODOs See merge request tpo/core/arti!1299
| * | | | tor-hsclient: Discuss HS descriptor expiry and revision countersIan Jackson2023-06-231-2/+4
| | | | | | | | | | | | | | | | | | | | And delete the corresponding TODO.
| * | | | tor-hsclient: Downgrade multi-ipt TODOIan Jackson2023-06-231-3/+4
| | | | |
| * | | | tor-hsclient: Downgrade rend/ipt parallelism TODOs and add linksIan Jackson2023-06-231-5/+8
| | | | |
| * | | | tor-hsclient: Downgrade ipt parallelism to a noteIan Jackson2023-06-231-2/+4
| | | | |
| * | | | tor-hsclient: Downgrade hsdir fetch parallelism to a noteIan Jackson2023-06-231-2/+4
| | | | |
| * | | | tor-hsclient: Drop intro circuit after ackIan Jackson2023-06-231-7/+5
| |/ / /
* | | | Merge branch 'data2' into 'main'Nick Mathewson2023-06-231-0/+32
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | tor-hsclient: Expire old IPT data See merge request tpo/core/arti!1295
| * | | tor-hsclient: Write a test plan for IPT state managementIan Jackson2023-06-231-0/+23
| | | | | | | | | | | | | | | | | | | | This won't be trivial. Put it in as a TODO HS rather than as part of this fix MR.
| * | | tor-hsclient: Expire old IPT dataIan Jackson2023-06-231-0/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | If we don't use it for a whole, the whole of `Data` will be expired by the new machinery in !1290. However, we also need to expire individual IPTs. This bug doesn't seem to have had a relevant TODO.
* | | Merge commit '3105f99a'.Nick Mathewson2023-06-232-6/+8
|\ \ \ | | | | | | | | | | | | (This is !1294, minus a redundant merge.)
| * | | Corrected the order of imports in order to make the 'rust-checks' job ↵Andy2023-06-231-1/+1
| | | | | | | | | | | | | | | | complete successfully.
| * | | Provided a fix for #831 - 'Unused import' warnings on WindowsAndy2023-06-232-6/+8
| | |/ | |/|
* | | Merge branch 'expire' into 'main'Ian Jackson2023-06-233-21/+215
|\ \ \ | |/ / |/| | | | | | | | tor-hsclient: Expire circuits when they get too old See merge request tpo/core/arti!1287
| * | tor-hsclient: Add a note about circuit expiry uncertainty, ticketIan Jackson2023-06-221-0/+3
| | |
| * | tor-hsclient: Expand explanation of `last_used` (for Open)Ian Jackson2023-06-221-1/+20
| | |
| * | tor-hsclient: Make comment about circuit expiry more accurateNick Mathewson2023-06-221-1/+2
| | |
| * | tor-hsclient: linkify a URL in a doc commentIan Jackson2023-06-221-1/+1
| | |
| * | tor-hsclient: Apply broken formatting as demanded by rustfmtIan Jackson2023-06-221-1/+1
| | |
| * | tor-hsclient: Test circuit expiryIan Jackson2023-06-221-1/+46
| | |
| * | tor-hsclient: Expire HS circuits that we don't want to reuseIan Jackson2023-06-221-4/+128
| | |
| * | tor-hsclient: Introduce helper function for locking services tableIan Jackson2023-06-222-14/+17
| | |
| * | tor-hsclient: Abolish an obsolete commentIan Jackson2023-06-221-1/+0
| |/ | | | | | | | | | | We don't now handle inability to store by panicking. Like the previous comment says, such situations end up with Err in stored, and that's handled by logging, below.
* | Merge branch 'desc-error' into 'main'Nick Mathewson2023-06-229-129/+142
|\ \ | | | | | | | | | | | | Clean up HsDesc error types and stabilize onion-service ErrorKinds See merge request tpo/core/arti!1289
| * | hsdescerror: Add paragraph breaks to docs.Nick Mathewson2023-06-221-3/+11
| | |
| * | netdoc: Use a dev-dependency on anyhow to fix a doc exampleNick Mathewson2023-06-223-1/+3
| | |
| * | tor-error: Stabilize OnionService error kindsNick Mathewson2023-06-221-7/+0
| | |
| * | tor-error: typo fix in a comment.Nick Mathewson2023-06-221-1/+1
| | |
| * | Remove onion service descriptor-related errorkinds.Nick Mathewson2023-06-223-52/+2
| | | | | | | | | | | | | | | | | | | | | | | | These have been subsumed by other errorkinds, mostly OnionServiceProtocolViolation and TorProtocolViolation. In particular please review the change in tor-hsclient closely; I am not sure about the new errorkinds for the error there.
| * | netdoc: Introduce HsDescErrorNick Mathewson2023-06-225-68/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For higher-level HsDesc-related functions, this type indicates where exactly an error occurred. It lets us distinguish decryption errors from parsing errors, and attribute responsibility to the hsdir, the onion service, or the user's lack of encryption. This lets us remove some just-introduced complexity in tor-hsclient.
* | | Merge branch 'circmgr-timeout-est' into 'main'Nick Mathewson2023-06-224-7/+35
|\ \ \ | | | | | | | | | | | | | | | | circmgr: New API to expose estimate-based timeouts. See merge request tpo/core/arti!1281
| * | | circmgr: Now that Action is public, clean it up a little.Nick Mathewson2023-06-221-3/+2
| | | |
| * | | circmgr: New API to expose estimate-based timeouts.Nick Mathewson2023-06-224-4/+33
| | | | | | | | | | | | | | | | | | | | This will help create good timeout values for various onion-service operations.
* | | | Merge branch 'move-dummy-keymgr-impl' into 'main'gabi-2502023-06-2213-146/+159
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | keymgr: Move dummy keymgr impl from arti-client to tor-keymgr See merge request tpo/core/arti!1269
| * | | | keymgr: Remove blank line to satisfy maint/cargo_sort.Gabriela Moldovan2023-06-221-1/+0
| | | | |
| * | | | keymgr: Make the dummy types non_exhaustive.Gabriela Moldovan2023-06-221-0/+3
| | | | |
| * | | | keymgr: Add a TODO regarding missing dummy impls.Gabriela Moldovan2023-06-221-1/+3
| | | | |
| * | | | keymgr: Update outdated docs.Gabriela Moldovan2023-06-221-23/+10
| | | | |
| * | | | keymgr: Remove outdated TODOs.Gabriela Moldovan2023-06-221-9/+0
| | | | |
| * | | | keymgr: Remove unnecessary dummy types.Gabriela Moldovan2023-06-222-19/+4
| | | | | | | | | | | | | | | | | | | | We don't need dummy impls for `Error` and `Result`.
| * | | | keymgr: Move dummy implementation to tor-keymgr.Gabriela Moldovan2023-06-2210-39/+58
| | | | |
| * | | | arti-client: Make all dummy APIs pub.Gabriela Moldovan2023-06-221-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | `dummy.rs` will be moved to `tor-keymgr`, which will export everything from the module.
| * | | | arti-client: Add a dummy KeyType.Gabriela Moldovan2023-06-221-0/+3
| | | | |
| * | | | keymgr: Remove unnecessary pub(crate).Gabriela Moldovan2023-06-221-5/+5
| | | | |
| * | | | keymgr: Define a `keymgr` feature.Gabriela Moldovan2023-06-222-0/+22
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | The dummy key manager impl from `arti-client` will be moved to `tor-keymgr` soon. This commit adds a `keymgr` feature flag to `tor-keymgr` which will eventually be used to choose between the real key manager API and the dummy one.
* | | | Merge branch 'proto-better-path' into 'main'Nick Mathewson2023-06-224-86/+218
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better API for getting circuit paths Closes #787 See merge request tpo/core/arti!1286
| * | | | hspool: Use let-else pattern; our MSRV permits it.Nick Mathewson2023-06-221-6/+2
| | | | |