summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-chanmgr: Make a memquota::ChannelAcocunt per channelIan Jackson2024-10-035-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 Jackson2024-10-031-1/+4
| | | |
| * | | memquota: Add a toplevel account in tor-chanmgrIan Jackson2024-10-0310-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 Jackson2024-10-031-1/+2
| | | |
| * | | tor-proto: Make PendingClientCirc::new fallible (fmt)Ian Jackson2024-10-031-7/+1
| | | |
| * | | tor-proto: Make PendingClientCirc::new fallibleIan Jackson2024-10-032-6/+7
| | | |
| * | | tor-proto: channel: Make construction fallibleIan Jackson2024-10-033-5/+7
| | | | | | | | | | | | | | | | | | | | Making a channel is going to involve making a memquota Participant, which can fail.
| * | | arti-client: Provide another variant for memquota errorsIan Jackson2024-10-031-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 errorsIan Jackson2024-10-033-0/+10
| | | |
| * | | tor-proto: Provide a variant for memquota errorsIan Jackson2024-10-031-0/+6
| | | |
| * | | Provide newtypes to distinguish memoquota accounts at different levelsIan Jackson2024-10-032-0/+118
| |/ /
* | | Merge branch 'update-circmgr-0.23.0-changelog' into 'main'gabi-2502024-10-031-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-Cassels2024-10-031-3/+7
| |/ /
* | | Merge branch 'rpc-forward-compat' into 'main'Nick Mathewson2024-10-031-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_featuresNick Mathewson2024-10-031-1/+5
| | |
| * | rpc-meta-draft: Use SHOULD NOT instead of USUALLY NOT RECOMMENDEDNick Mathewson2024-10-031-2/+1
| | | | | | | | | | | | AIUI they mean the same thing
| * | rpc-meta-draft: describe rules for remembering feature supportNick Mathewson2024-10-031-0/+20
| | | | | | | | | | | | From a suggestion from @diziet
| * | rpc-meta-draft: describe feature namespacing.Nick Mathewson2024-10-031-2/+12
| | |
| * | rpc-meta-draft: describe compatibility rules and mechanismsNick Mathewson2024-09-301-3/+79
| | | | | | | | | | | | | | | | | | This tries to memorialize the mechanism that @diziet and I came up with and memorialized on #1634. Once this is merged I can implement it.
* | | Merge branch 'launch-with-hsid-docs' into 'main'gabi-2502024-10-032-2/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | arti-client: Clarify the launch_onion_service_with_hsid() docs. Closes #1626 See merge request tpo/core/arti!2494
| * | | tor-keymgr: Linkify the ArtiKeystoreKind docs.Gabriela Moldovan2024-10-031-2/+2
| | | |
| * | | arti-client: Clarify the launch_onion_service_with_hsid() docs.Gabriela Moldovan2024-10-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates the docs to mention that the specified key may get actually persisted to disk. Closes #1626
* | | | Merge branch 'prop351-refs' into 'main'Jim Newsome2024-10-032-8/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace references to prop351 with socks-extensions.md Closes #1629 See merge request tpo/core/arti!2492
| * | | | Replace references to prop351 with socks-extensions.mdNick Mathewson2024-10-022-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the proposal is implemented and merged into the specs, the proposal itself is only historical. Closes #1629.
* | | | | Merge branch 'rename-client-auth' into 'main'Ian Jackson2024-10-0321-44/+65
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Use the new "restricted discovery" terminology throughout Closes #1476 See merge request tpo/core/arti!2495
| * | | | doc/dev: Rename client authorization to restricted discovery.Gabriela Moldovan2024-10-033-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames "client auth" to "restricted discovery" where appropriate. Closes #1476
| * | | | doc: Note that client authorization was renamed.Gabriela Moldovan2024-10-036-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | This adds a note mentioning the new "restricted discovery" terminology to the various docs that talk about client authorization.
| * | | | arti-client: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-hscrypto: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-key-forge: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-031-4/+4
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-hsservice: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-hsclient: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-033-8/+10
| | | | | | | | | | | | | | | | | | | | Part of #1476
| * | | | tor-netdoc: Wrap some too-long comments and docs.Gabriela Moldovan2024-10-033-4/+7
| | | | |
| * | | | tor-netdoc: Use the new "restricted discovery" terminology.Gabriela Moldovan2024-10-035-22/+22
| | |/ / | |/| | | | | | | | | | Part of #1476
* | | | Merge branch 'div_ceil' into 'main'Nick Mathewson2024-10-032-15/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Use {u64,usize}::div_ceil See merge request tpo/core/arti!2473
| * | | | Use {u64,usize}::div_ceilNick Mathewson2024-09-302-15/+2
| | |_|/ | |/| | | | | | | | | | | | | | Previously we had to avoid it, but now that our MSRV is above 1.73 we can use it with abandon.
* | | | Merge branch 'rpc-annotation' into 'main'Nick Mathewson2024-10-032-55/+86
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | python: Type-annotate rpc.py See merge request tpo/core/arti!2476
| * | | | python: Use mypy option for cleaner code wrt rebinding.Nick Mathewson2024-10-031-11/+24
| | | | |
| * | | | python: Fix annotation typo.Nick Mathewson2024-10-031-1/+1
| | | | |
| * | | | python: Remove TODO about WinDLLNick Mathewson2024-10-031-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @opara says that we'll want to have our API functions be `extern "C"` everywhere, and so `ctypes.CDLL` should work fine for them on Windows. This sounds good to me.
| * | | | python: annotate CDLL-related functionsNick Mathewson2024-10-031-16/+11
| | | | | | | | | | | | | | | | | | | | This, incidentally, turned up a repeated mistake in the code.
| * | | | python: Remove todos about annotating "params"Nick Mathewson2024-10-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Since params can be "anything encodeable to json", there isn't a lot of point in restricting its type.
| * | | | python: Prefer Optional over Union.Nick Mathewson2024-10-031-4/+4
| | | | |
| * | | | python: Type-annotate rpc.pyNick Mathewson2024-10-012-38/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has required a few code changes and turned up a few bugs. The type annotations pass with `mypy`. Notable code changes: With type annotations, variable assignment may no longer change the type of a variable. (I disagree with these semantics, but here we are.) Note that some TODOs remain: I have no clear sense how to annotate the library type from `ctypes`, and better wrappers are needed in some cases.
| * | | | python: Add minimal annotations for "mypy" to pass.Nick Mathewson2024-10-011-4/+6
| |/ / /
* | | | Merge branch 'circmgr-initial-test' into 'main'gabi-2502024-10-0310-291/+426
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CircMgr: Start writing tests. See merge request tpo/core/arti!2444
| * | | | CircMgr: Start writing tests.Wesley Aptekar-Cassels2024-10-0310-291/+426
| | | | |
* | | | | Merge branch 'rpc-doc-automation' into 'main'Nick Mathewson2024-10-031-0/+669
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Python tool to build RPC method/type documentation. See merge request tpo/core/arti!2479
| * | | | rpc-doc-tool: improvements to HTML_HEADERNick Mathewson2024-10-031-2/+4
| | | | |
| * | | | rpc-doc-tool: move constants to head of fileNick Mathewson2024-10-031-26/+26
| | | | |