summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | tor-hsservice: ipt mgr: merge_join_subset_by: check more for dupesIan Jackson2023-09-121-0/+4
| | | |
| * | | tor-hsservice: ipt mgr: Break out merge_join_subset_byIan Jackson2023-09-121-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 Mathewson2023-09-111-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 Jackson2023-09-111-1/+1
| | |
| * | tor-hsservice: ipt mgr: Handle ipt relay selection failureIan Jackson2023-09-111-4/+34
|/ / | | | | | | Without panicking.
* | Merge branch 'ipt-mgr' into 'main'Ian Jackson2023-09-113-47/+144
|\ \ | | | | | | | | | | | | tor-hsservice: Actually send ipts to publisher See merge request tpo/core/arti!1578
| * | tor-hsservice: ipt_mgr: Document expiry NoneIan Jackson2023-09-071-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 flowIan Jackson2023-09-072-0/+16
| | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940676
| * | tor-hsservice: ipt_mgr: Add a TODO about the joinIan Jackson2023-09-071-0/+4
| | | | | | | | | | | | | | | Apropos https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940675
| * | tor-hsservice: ipt_mgr: Explicitly drop publish_setIan Jackson2023-09-071-0/+2
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1578#note_2940674
| * | tor-hsservice: ipt_mgr: Actually send ipts to publisherIan Jackson2023-09-071-4/+2
| | |
| * | tor-hsservice: ipt_mgr: Fix output expiry time handling (fmt)Ian Jackson2023-09-071-2/+2
| | |
| * | tor-hsservice: ipt_mgr: Fix output expiry time handlingIan Jackson2023-09-071-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 timesIan Jackson2023-09-071-0/+38
| | |
| * | tor-hsservice: ipt_mgr: Call borrow_for_update()Ian Jackson2023-09-071-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 Jackson2023-09-071-3/+10
| | |
| * | tor-hsservice: ipt_mgr: Reorganise main loop a bitIan Jackson2023-09-071-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 stabilityIan Jackson2023-09-071-0/+7
| | |
| * | tor-hsservice: ipt_mgr: Fix last_descriptor_expiry_including_slop (fmt)Ian Jackson2023-09-071-4/+5
| | |
| * | tor-hsservice: ipt_mgr: Fix last_descriptor_expiry_including_slopIan Jackson2023-09-071-4/+7
| | | | | | | | | | | | This should be an Option, to correspond to what's in IptSet.
| * | tor-hsservice: ipt_set: Add a missing Debug deriveIan Jackson2023-09-071-0/+1
| | |
| * | tor-hsservice: ipt_set: Add an IptLocalId fieldIan Jackson2023-09-072-0/+9
| | |
| * | tor-hsservice: Move IptLocalId into crate toplevelIan Jackson2023-09-072-14/+14
| | |
* | | Merge branch 'tor-ptmgr-tests' into 'main'Nick Mathewson2023-09-101-0/+42
|\ \ \ | | | | | | | | | | | | | | | | tor-ptmgr: Add new tests See merge request tpo/core/arti!1579
| * | | tor-ptmgr: Test for empty valuesEmil Engler2023-09-071-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 valuesEmil Engler2023-09-071-0/+6
| | | | | | | | | | | | | | | | | | | | This commit adds a test which checks for a missing value in an SMETHOD argument.
| * | | tor-ptmgr: Test for forbidden `=`Emil Engler2023-09-071-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 backslashEmil Engler2023-09-071-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 sequencesEmil Engler2023-09-071-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 sequencesEmil Engler2023-09-071-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 Mathewson2023-09-101-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 Jackson2023-09-052-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 wordsIan Jackson2023-09-051-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 Mathewson2023-09-0712-29/+773
|\ \ \ | |_|/ |/| | | | | | | | Begin working on configuration logic for onion services See merge request tpo/core/arti!1557
| * | hsrproxy: repair emptyportrange behaviorNick Mathewson2023-09-071-0/+2
| | |
| * | hsproxy: add TODO link to thread.Nick Mathewson2023-09-071-0/+3
| | |
| * | hsprproxy: add note about possible validation stepNick Mathewson2023-09-071-0/+2
| | |
| * | Allow max_concurrent_streams_per_circuit to be impossibly high.Nick Mathewson2023-09-071-1/+1
| | |
| * | hss: clarify and document deserialization for AnonymityNick Mathewson2023-09-071-5/+14
| | | | | | | | | | | | | | | Don't make people say "Dangerous!" in the configuration, document the formats, and make the strings case-insensitive.
| * | hsrproxy: tests for (not accepting) legacy ipv4 formatsNick Mathewson2023-09-071-0/+17
| | |
| * | hsrproxy: Add todos about udp and haproxyNick Mathewson2023-09-071-1/+9
| | |
| * | hsrproxy: Refactor ProxyPattern to use RangeInclusive.Nick Mathewson2023-09-071-50/+33
| | | | | | | | | | | | | | | Also, allow nonempty ranges starting with 0- and implement Eq and PartialEq.
| * | hsservice: add TODO about authorized client pluginsNick Mathewson2023-09-071-0/+5
| | |
| * | add a TODO about rate limits and their relationship.Nick Mathewson2023-09-071-0/+4
| | |
| * | hsservice: Make configs members pub(crate).Nick Mathewson2023-09-071-5/+5
| | |
| * | hsrproxy: Make config member pub(crate).Nick Mathewson2023-09-071-1/+1
| | |
| * | HSS: Parser/encoder for AuthorizedClientConfigNick Mathewson2023-09-073-2/+56
| | |
| * | HSS: Start making builders for config structs.Nick Mathewson2023-09-072-12/+51
| | | | | | | | | | | | Note a few issues encountered while doing so.
| * | HSS: adjust two options.Nick Mathewson2023-09-071-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | For rate-limiting, we make it optional. If it isn't set, we don't tell the intro to rate-limit. We condense our two max-streams options into one. We had two options here because we were looking for feature parity with C, but I think I had misunderstood what C provides.
| * | hss: Move Anonymity to module and make it serde.Nick Mathewson2023-09-072-15/+77
| | |