| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | | | Merge branch 'localhost' into 'main' | Alexander Færøy | 2023-09-12 | 1 | -3/+3 | |
| |\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | tor-config: Listen: Minor docs fixes See merge request tpo/core/arti!1588 | |||||
| | * | | | | tor-config: Listen: Clarify localhost_port_legacy | Ian Jackson | 2023-09-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The previous phrasing was ambiguous and set us up for bugs, see https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1582#note_2942240 | |||||
| | * | | | | tor-config: Listen: Fix a typo | Ian Jackson | 2023-09-12 | 1 | -2/+2 | |
| | | |/ / | |/| | | ||||||
| * | | | | Merge branch 'ipt-iter' into 'main' | Ian Jackson | 2023-09-12 | 1 | -22/+153 | |
| |\ \ \ \ | |_|/ / |/| | | | | | | | | | | | tor-hsservice: ipt mgr: Break out merge_join_subset_by See merge request tpo/core/arti!1583 | |||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: test | Ian Jackson | 2023-09-12 | 1 | -0/+27 | |
| | | | | | ||||||
| | * | | | tor-hsservice: ipt mgr: Add an empty test module | Ian Jackson | 2023-09-12 | 1 | -0/+18 | |
| | | | | | ||||||
| | * | | | tor-hsservice: ipt mgr: Commentary about performance | Ian Jackson | 2023-09-12 | 1 | -0/+59 | |
| | | | | | ||||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: rustfmt | Ian Jackson | 2023-09-12 | 1 | -2/+2 | |
| | | | | | ||||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: fix clippy lints | Ian Jackson | 2023-09-12 | 1 | -11/+5 | |
| | | | | | ||||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: drop Debug bounds | Ian Jackson | 2023-09-12 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | Now it's not fallible, we don't need to construct error messages. | |||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: return an iterator | Ian Jackson | 2023-09-12 | 1 | -12/+7 | |
| | | | | | ||||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: Introduce 'out | Ian Jackson | 2023-09-12 | 1 | -8/+8 | |
| | | | | | | | | | | | | | | | | | No functional change. | |||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: Replace algorithm | Ian Jackson | 2023-09-12 | 1 | -77/+20 | |
| | | | | | | | | | | | | | | | | | | | | | Use HashMap-based algorithm, as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1583#note_2941645 | |||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: document working set | Ian Jackson | 2023-09-12 | 1 | -1/+2 | |
| | | | | | ||||||
| | * | | | tor-hsservice: ipt mgr: merge_join_subset_by: check more for dupes | Ian Jackson | 2023-09-12 | 1 | -0/+4 | |
| | | | | | ||||||
| | * | | | tor-hsservice: ipt mgr: Break out merge_join_subset_by | Ian Jackson | 2023-09-12 | 1 | -19/+109 | |
| |/ / / | | | | | | | | | | | | | Propted by this conversation https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940675 | |||||
| * | | | Merge branch 'ipt-relay-err-2' into 'main' | Nick Mathewson | 2023-09-11 | 1 | -4/+34 | |
| |\ \ \ | |/ / |/| | | | | | | | | tor-hsservice: ipt mgr: Handle ipt relay selection failure See merge request tpo/core/arti!1585 | |||||
| | * | | tor-hsservice: ipt mgr: Handle ipt relay selection failure (fmt) | Ian Jackson | 2023-09-11 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | tor-hsservice: ipt mgr: Handle ipt relay selection failure | Ian Jackson | 2023-09-11 | 1 | -4/+34 | |
| |/ / | | | | | | | Without panicking. | |||||
| * | | Merge branch 'ipt-mgr' into 'main' | Ian Jackson | 2023-09-11 | 3 | -47/+144 | |
| |\ \ | | | | | | | | | | | | | tor-hsservice: Actually send ipts to publisher See merge request tpo/core/arti!1578 | |||||
| | * | | tor-hsservice: ipt_mgr: Document expiry None | Ian Jackson | 2023-09-07 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940673 | |||||
| | * | | tor-hsservice: ipt_mgr: Explain more about expiry time data flow | Ian Jackson | 2023-09-07 | 2 | -0/+16 | |
| | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940676 | |||||
| | * | | tor-hsservice: ipt_mgr: Add a TODO about the join | Ian Jackson | 2023-09-07 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940675 | |||||
| | * | | tor-hsservice: ipt_mgr: Explicitly drop publish_set | Ian Jackson | 2023-09-07 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940674 | |||||
| | * | | tor-hsservice: ipt_mgr: Actually send ipts to publisher | Ian Jackson | 2023-09-07 | 1 | -4/+2 | |
| | | | | ||||||
| | * | | tor-hsservice: ipt_mgr: Fix output expiry time handling (fmt) | Ian Jackson | 2023-09-07 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | tor-hsservice: ipt_mgr: Fix output expiry time handling | Ian Jackson | 2023-09-07 | 1 | -10/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | For the expiry times for descriptors we are intending to publish, copy out of our data structure. We don't need to actually update it to account for (possible) imminent publication; the publisher will do that. | |||||
| | * | | tor-hsservice: ipt_mgr: Import updated expiry times | Ian Jackson | 2023-09-07 | 1 | -0/+38 | |
| | | | | ||||||
| | * | | tor-hsservice: ipt_mgr: Call borrow_for_update() | Ian Jackson | 2023-09-07 | 1 | -5/+11 | |
| | | | | | | | | | | | | | | | | | | | And plumb the reference through to places that will need it. We don't actually do anything with the results yet. | |||||
| | * | | tor-hsservice: ipt_mgr: Call borrow_for_update() (pre fmt) | Ian Jackson | 2023-09-07 | 1 | -3/+10 | |
| | | | | ||||||
| | * | | tor-hsservice: ipt_mgr: Reorganise main loop a bit | Ian Jackson | 2023-09-07 | 1 | -9/+13 | |
| | | | | | | | | | | | | | | | | We are going to need to hold the ipt_set lock while we loop around making changes to our data structures etc. | |||||
| | * | | tor-hsservice: ipt_mgr: Document further data structure stability | Ian Jackson | 2023-09-07 | 1 | -0/+7 | |
| | | | | ||||||
| | * | | tor-hsservice: ipt_mgr: Fix last_descriptor_expiry_including_slop (fmt) | Ian Jackson | 2023-09-07 | 1 | -4/+5 | |
| | | | | ||||||
| | * | | tor-hsservice: ipt_mgr: Fix last_descriptor_expiry_including_slop | Ian Jackson | 2023-09-07 | 1 | -4/+7 | |
| | | | | | | | | | | | | | This should be an Option, to correspond to what's in IptSet. | |||||
| | * | | tor-hsservice: ipt_set: Add a missing Debug derive | Ian Jackson | 2023-09-07 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | tor-hsservice: ipt_set: Add an IptLocalId field | Ian Jackson | 2023-09-07 | 2 | -0/+9 | |
| | | | | ||||||
| | * | | tor-hsservice: Move IptLocalId into crate toplevel | Ian Jackson | 2023-09-07 | 2 | -14/+14 | |
| | | | | ||||||
| * | | | Merge branch 'tor-ptmgr-tests' into 'main' | Nick Mathewson | 2023-09-10 | 1 | -0/+42 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-ptmgr: Add new tests See merge request tpo/core/arti!1579 | |||||
| | * | | | tor-ptmgr: Test for empty values | Emil Engler | 2023-09-07 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a unit test that checks if an empty value is parsed properly. It fixes the coverage in `crates/tor-ptmgr/src/ipc.rs:120`. | |||||
| | * | | | tor-ptmgr: Test for missing values | Emil Engler | 2023-09-07 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | This commit adds a test which checks for a missing value in an SMETHOD argument. | |||||
| | * | | | tor-ptmgr: Test for forbidden `=` | Emil Engler | 2023-09-07 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | This commit adds a unit test to the `tor-ptmgr` crate, which checks for forbidden `=` signs while reading a value. | |||||
| | * | | | tor-ptmgr: Test argument ending with backslash | Emil Engler | 2023-09-07 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | This commit adds a unit test to the `tor-ptmgr` crate, which checks if arguments are terminated with a backslash, which is forbidden. | |||||
| | * | | | tor-ptmgr: Test unsupported octal sequences | Emil Engler | 2023-09-07 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | | This commit adds a unit test that checks if all octal escape sequences are treated as an unsupported error. | |||||
| | * | | | tor-ptmgr: Test escape sequences | Emil Engler | 2023-09-07 | 1 | -0/+8 | |
| | |/ / | | | | | | | | | | | | | This commit adds a test to the `tor-ptmgr` crate, which increases the test coverage by checking for escape sequences in values. | |||||
| * | | | Merge branch 'nodep' into 'main' | Nick Mathewson | 2023-09-10 | 1 | -2/+2 | |
| |\ \ \ | |/ / |/| | | | | | | | | maint/bump_nodep: Two changes to help it work in my environment See merge request tpo/core/arti!1573 | |||||
| | * | | maint/bump_nodep: Use "git checkout" instead of "git restore" | Ian Jackson | 2023-09-05 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | Sadly the environment I ran this command on today didn't have "git restore". I should upgrade it but there are yaks, and I may not have managed to upgrade it by *next* Arti release. | |||||
| | * | | maint/bump_nodep: Allow $CARGO to contain multiple words | Ian Jackson | 2023-09-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a more convenient approach to command overriding. It's what we do elsewhere. I need this because with a script like "maint/bump_nodep", which edits the tree, I need to write CARGO='nailing-cargo -E' maint/bump_nodep .... (The -E option tells my privsep tool that the command is *supposed* to edit the tree - and that I am intending to review those changes.) | |||||
| * | | | Merge branch 'hss_config' into 'main' | Nick Mathewson | 2023-09-07 | 12 | -29/+773 | |
| |\ \ \ | |_|/ |/| | | | | | | | | Begin working on configuration logic for onion services See merge request tpo/core/arti!1557 | |||||
| | * | | hsrproxy: repair emptyportrange behavior | Nick Mathewson | 2023-09-07 | 1 | -0/+2 | |
| | | | | ||||||
| | * | | hsproxy: add TODO link to thread. | Nick Mathewson | 2023-09-07 | 1 | -0/+3 | |
| | | | | ||||||
