| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | | | | | | arti-relay: Retrieve the signing key cert from the keystore | Gabriela Moldovan | 2026-04-08 | 1 | -8/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The API for retrieving certs exists now, so we don't need to regenerate the cert each time. This addresses a TODO. | |||||
| * | | | | | | | | arti-relay: Reuse cert_expiry calculation | Gabriela Moldovan | 2026-04-08 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For readability. | |||||
| * | | | | | | | | arti-relay: Move comment closer to the durations it refers to | Gabriela Moldovan | 2026-04-08 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We forgot to move this comment when we replaced the hard-coded durations with top-level constants. | |||||
| * | | | | | | | | arti-relay: Use more descriptive names for the key lifetimes | Gabriela Moldovan | 2026-04-08 | 1 | -20/+20 | |
| | | | | | | | | | ||||||
| * | | | | | | | | Merge branch 'memquota-add-parent' into 'main' | gabi-250 | 2026-04-08 | 4 | -48/+165 | |
| |\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | memquota: Add new add_parent() API Closes #2427 See merge request tpo/core/arti!3829 | |||||
| | * | | | | | | | memquota: Say what kind of errors add_parent() returns | Gabriela Moldovan | 2026-04-07 | 1 | -2/+2 | |
| | | | | | | | | | ||||||
| | * | | | | | | | memquota: Add dedicated variant for duplicate child error | Gabriela Moldovan | 2026-04-07 | 3 | -2/+12 | |
| | | | | | | | | | ||||||
| | * | | | | | | | memquota: Expand on the prepare_parent_aid() docs | Gabriela Moldovan | 2026-04-07 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applies the suggestion from https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3829#note_3388033 | |||||
| | * | | | | | | | memquota: Adjust Account::add_parent() docs | Gabriela Moldovan | 2026-04-07 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested by @Diziet | |||||
| | * | | | | | | | proto: Link the memquota circ acc with the outbound chan acc | Gabriela Moldovan | 2026-03-30 | 1 | -6/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #2427 | |||||
| | * | | | | | | | memquota: Make prepare_parent_aid() error message more generic | Gabriela Moldovan | 2026-03-30 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now used by `Account::add_parent()` too. | |||||
| | * | | | | | | | memquota: Add new Account::add_parent() API | Gabriela Moldovan | 2026-03-30 | 2 | -0/+100 | |
| | | | | | | | | | ||||||
| | * | | | | | | | memquota: Move parent AId checks to separate function (fmt) | Gabriela Moldovan | 2026-03-30 | 1 | -8/+3 | |
| | | | | | | | | | ||||||
| | * | | | | | | | memquota: Move parent AId checks to separate function | Gabriela Moldovan | 2026-03-30 | 1 | -40/+50 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I am moving this to another function because we'll soon need to run these same checks in the new `Account::add_parent()` API I'm planning on adding for #2427. | |||||
| * | | | | | | | | Merge branch 'closed-stream-err' into 'main' | opara | 2026-04-07 | 2 | -9/+17 | |
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Change an error from `CircuitClosed` to `NotConnected` Closes #2421 See merge request tpo/core/arti!3825 | |||||
| | * | | | | | | | | arti: fix clippy warnings in `report_proxy_error()` | Steven Engler | 2026-03-30 | 1 | -3/+5 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | arti: use report macros in `report_proxy_error()` | Steven Engler | 2026-03-30 | 1 | -5/+6 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | arti: don't warn for `NotConnected` errors | Steven Engler | 2026-03-30 | 1 | -0/+1 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | tor-proto: change an error to `NotConnected` | Steven Engler | 2026-03-29 | 1 | -3/+7 | |
| | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returning `CircuitClosed` isn't right here since the circuit may not have closed. | |||||
| * | | | | | | | | tor-netdoc: parse2/encode derive: Use unquoted attributes at call sites | Ian Jackson | 2026-04-07 | 6 | -18/+18 | |
| | | | | | | | | | ||||||
| * | | | | | | | | tor-netdoc: parse2/encode derive: Show unquoted attributes in the docs | Ian Jackson | 2026-04-07 | 3 | -11/+11 | |
| | | | | | | | | | ||||||
| * | | | | | | | | tor-netdoc: parse2/encode derive: Use meta_quoted rigorous | Ian Jackson | 2026-04-07 | 3 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `doctype_for_error` attribute needs immediate adjustment, because a string expression value is expected. With `quoted retain`, that would be re-interpreted, silently. This kind of thing is why `quoted rigorous` exists. So change its docs and the one use site. The macros' docs, and the other calls ites, we'll deal with shortly. | |||||
| * | | | | | | | | tor-netdoc: Constructor derive: Use meta_quoted rigorous | Ian Jackson | 2026-04-07 | 2 | -4/+4 | |
| | |_|_|_|/ / / |/| | | | | | | ||||||
| * | | | | | | | Merge branch 'chutney-enable-hs' into 'main' | David Goulet | 2026-04-07 | 3 | -5/+18 | |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | chutney CI: add hidden services See merge request tpo/core/arti!3858 | |||||
| | * | | | | | | | NetDir::pick_relay: add a little more info to error reports | Jim Newsome | 2026-04-02 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular to help debug arti#1907 | |||||
| | * | | | | | | | NetDir::pick_relay: add some trace logging | Jim Newsome | 2026-04-02 | 1 | -1/+6 | |
| | | | | | | | | | ||||||
| | * | | | | | | | hsdir_params: add debug log when we fall back to disaster params | Jim Newsome | 2026-04-02 | 1 | -2/+4 | |
| | | | | | | | | | ||||||
| | * | | | | | | | tor-hsclient: include period metadata in trace log message | Jim Newsome | 2026-04-02 | 1 | -1/+2 | |
| | | | | | | | | | ||||||
| * | | | | | | | | tor-proto: lower log level of "removing circuit leg" | Steven Engler | 2026-04-06 | 1 | -1/+1 | |
| | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | This appears often in the arti logs, but is a normal thing to happen. | |||||
| * | | | | | | | Merge branch 'stream-close' into 'main' | opara | 2026-04-02 | 1 | -6/+12 | |
| |\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Allow sending DATA cells on closed streams Closes #2434 See merge request tpo/core/arti!3824 | |||||
| | * | | | | | | tor-proto: allow sending DATA cells on closed streams | Steven Engler | 2026-03-29 | 1 | -6/+12 | |
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Previously we would close the circuit, which isn't great because there can be other streams in use on the circuit. | |||||
| * | | | | | | tor-netdoc: Add TODO to test ignoring | Clara Engler | 2026-04-02 | 1 | -0/+1 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Disable broken test for now | Clara Engler | 2026-04-02 | 1 | -0/+1 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Note on hardcoded test vectors | Clara Engler | 2026-04-02 | 2 | -0/+10 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Fix typo in comment | Clara Engler | 2026-04-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Some comment improvements | Clara Engler | 2026-04-02 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Ian Jackson | |||||
| * | | | | | | tor-netdoc: Replace if by exhaustive match | Clara Engler | 2026-04-02 | 1 | -2/+4 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Rename Wrapper to RawPortPolicy | Clara Engler | 2026-04-02 | 1 | -2/+2 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Use PortRanges::from_str in PortPolicy::from_str | Clara Engler | 2026-04-02 | 1 | -4/+1 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Document that an overflow is impossible | Clara Engler | 2026-04-02 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit documents that a u16 overflow in a certain branch is impossible due to the properties of a BTreeSet over which an iteration takes place. | |||||
| * | | | | | | tor-netdoc: Remove interval tree reference | Clara Engler | 2026-04-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Clarifications and comments | Clara Engler | 2026-04-02 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Ian Jackson | |||||
| * | | | | | | tor-netdoc: Private fields in PortRange | Clara Engler | 2026-04-02 | 2 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Callers now have to use PortRange::new which checks the input. | |||||
| * | | | | | | tor-netdoc: TODO for PortRanges rewrite | Clara Engler | 2026-04-02 | 1 | -0/+2 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Rename PortRanges::push to push_ordered | Clara Engler | 2026-04-02 | 2 | -5/+5 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Document PortRanges invariants | Clara Engler | 2026-04-02 | 1 | -0/+4 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Remove onion_key accessor | Clara Engler | 2026-04-02 | 1 | -5/+0 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Fix conditional compilation in test | Clara Engler | 2026-04-02 | 1 | -0/+1 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: Tests for the PortPolicy refactoring | Clara Engler | 2026-04-02 | 2 | -0/+86 | |
| | | | | | | | ||||||
| * | | | | | | tor-netdoc: parse2 for PortPolicy | Clara Engler | 2026-04-02 | 1 | -100/+57 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit refctors PortPolicy to use the new PortRanges, alongside removing the now duplicate code. The new PortPolicy implements ItemValueParseable, which makes it possible to nicely parse it. Unfortunately, we cannot derive it directly, because we do not store the RuleKind but instead parse it and then invert the ranges in order to save space. However, internally this is derived using a wrapper type from which we extract from. The old FromStr implementation continues to be as bad as it has always been because improving it would likely introduce more bugs than it would solve, given that the legacy implementation has been there since forever basically. | |||||
