summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | hss: Retry rendezvous circuit attempts.Nick Mathewson2023-08-243-8/+28
| | | | | | | | | | | | Closes #1013.
| * | linkspec: Derive Clone and Copy for VerbatimLinkSpecCircTarget.Nick Mathewson2023-08-242-0/+2
| | |
* | | Merge branch 'pt-proxy' into 'main'Ian Jackson2023-08-247-307/+662
|\ \ \ | |/ / |/| | | | | | | | Add initial support for running a PT in server mode See merge request tpo/core/arti!1504
| * | Add initial support for running a PT in server modeSaksham Mittal2023-08-247-307/+662
|/ /
* | Merge branch 'ssh-key-todo' into 'main'Nick Mathewson2023-08-242-14/+3
|\ \ | | | | | | | | | | | | tor-keymgr: Bump ssh-key to 0.6.1 and remove unnecessary dependency. See merge request tpo/core/arti!1546
| * | tor-keymgr: Bump ssh-key to 0.6.1 and remove unnecessary dependency.Gabriela Moldovan2023-08-242-14/+3
|/ / | | | | | | | | | | | | Now that [ssh-key 0.6.1] is out, we no longer need the explicit sec1 dependency in tor-keymgr. [ssh-key 0.6.1]: https://github.com/RustCrypto/SSH/pull/155
* | Merge branch 'nickname' into 'main'gabi-2502023-08-249-9/+177
|\ \ | | | | | | | | | | | | Sort out HsNickname, and improve ArtiPathComponent See merge request tpo/core/arti!1544
| * | tor-keymgr, tor-hsservice: Run rustfmt to make derives uglierIan Jackson2023-08-232-6/+16
| | |
| * | tor-keymgr, tor-hsservice: deser for ArtiPathComponent and HsNicknameIan Jackson2023-08-236-0/+51
| | |
| * | tor-hsservice: Use real HsNickname in configIan Jackson2023-08-231-4/+4
| | |
| * | tor-hsservice: Use real HsNickname in ipt_mgrIan Jackson2023-08-231-4/+1
| | |
| * | tor-hsservice: Provide a sensible HsNicknameIan Jackson2023-08-234-0/+92
| | |
| * | tor-keymgr: Improve ArtiPathComponent a bitIan Jackson2023-08-232-0/+18
| | | | | | | | | | | | And add a TODO about the error type.
* | | Merge branch 'import' into 'main'gabi-2502023-08-231-1/+3
|\ \ \ | |/ / |/| | | | | | | | tor-proto: Make some imports more precise See merge request tpo/core/arti!1543
| * | tor-proto: Make some imports more preciseIan Jackson2023-08-231-1/+3
|/ / | | | | | | | | | | | | | | A warning is getting in my way when I run cargo clippy -p tor-hsservice --all-features See also https://gitlab.torproject.org/tpo/core/arti/-/issues/1006#note_2932088
* | Merge branch 'fix' into 'main'Nick Mathewson2023-08-231-0/+1
|\ \ | | | | | | | | | | | | Rerun maint/add_warning See merge request tpo/core/arti!1542
| * | Rerun maint/add_warningIan Jackson2023-08-231-0/+1
|/ / | | | | | | | | Fixes CI. There was a semantic conflict between !1535 (which added a suppression) and !1523 (which added a new module).
* | Merge branch 'clippy' into 'main'Ian Jackson2023-08-23207-0/+207
|\ \ | | | | | | | | | | | | clippy: Suppress needless_pass_by_value in tests See merge request tpo/core/arti!1535
| * | Run maint/add_warning to add lint block everywhereIan Jackson2023-08-23206-0/+206
| | |
| * | clippy: Suppress needless_pass_by_value in testsIan Jackson2023-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | Rationale: same as for useless_vec, as in 01cb7ee0a112. Prompted by reading a commit where someone did makework to get rid of an occurrence of this warning.
* | | Merge branch 'hss_send_raw' into 'main'Ian Jackson2023-08-231-20/+2
|\ \ \ | | | | | | | | | | | | | | | | hss: use send_raw_msg in rend_handshake. See merge request tpo/core/arti!1536
| * | | hss: use send_raw_msg in rend_handshake.Nick Mathewson2023-08-221-20/+2
| | | |
* | | | Merge branch 'hsdir-apis' into 'main'gabi-2502023-08-232-39/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-netdoc: Remove redundant `IntroPointDesc` struct. See merge request tpo/core/arti!1528
| * | | | tor-netdoc: Remove semver.mdGabriela Moldovan2023-08-231-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing the private `IntroPointDesc` isn't really a breaking change, and neither is changing the type of `HsDescBuilder::intro_points`'s argument (because nobody would've been able to this function in the first place as `IntroPointDesc` was never exported from tor-netdoc), so let's remove the semver.md.
| * | | | tor-netdoc: Fix clippy lints.Gabriela Moldovan2023-08-232-6/+6
| | | | |
| * | | | tor-netdoc: Remove redundant `IntroPointDesc` struct.Gabriela Moldovan2023-08-233-33/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces `tor_netdoc::hsdesc::inner::IntroPointDesc` with the (almost identical) `tor_netdoc::hsdesc::IntroPointDesc`. The only difference between the two structs is that `inner::IntroPointDesc` wraps a `Vec<LinkSpec>` instead of a `Vec<EncodedLinkSpec>`. Since `EncodedLinkSpec` can be derived from `LinkSpec` (and vice-versa), and since `hsdesc::inner::IntroPointDesc` never made it in our public API, this commit also removes `hsdesc::inner::IntroPointDesc` in favour of `hsdesc::IntroPointDesc`.
* | | | | Merge branch 'ipt-e' into 'main'Nick Mathewson2023-08-232-24/+47
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | ipt establisher API: pass a struct to new() See merge request tpo/core/arti!1540
| * | | | ipt establisher API: pass a struct to new() (fmt)Ian Jackson2023-08-231-6/+2
| | | | | | | | | | | | | | | | | | | | One of rustfmt's changes here is wrong. Whatever.
| * | | | ipt establisher API: pass a struct to new()Ian Jackson2023-08-232-20/+47
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now new() only has a reasonable number of arguments and removes some repetition in the mocking arrangements in the IPT Manager. This is the minimum amount that needs to be done in the commit that touches both the IPT Establisher and the Manager.
* | | | Merge branch 'hashx-bench' into 'main'Ian Jackson2023-08-231-38/+63
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | hashx_cachegrind: factor out some common stuff in benchmarks See merge request tpo/core/arti!1529
| * | | hashx_cachegrind: Fix black_box locationIan Jackson2023-08-231-2/+2
| | | |
| * | | hashx_cachegrind: Make mk_c_equix not shuffle the HashXIan Jackson2023-08-231-8/+8
| | | |
| * | | hashx_cachegrind: Make mk_rust not shuffle the HashXBuilderIan Jackson2023-08-231-10/+9
| | | |
| * | | hashx_cachegrind: Introduce C_HASHX_OK aliasIan Jackson2023-08-231-2/+5
| | | |
| * | | hashx_cachegrind: Introduce bench_loop helper macroIan Jackson2023-08-231-24/+29
| | | | | | | | | | | | | | | | | | | | The macro generates similar but not identical code. There are new bindings.
| * | | hashx_cachegrind: Introduce u32be helper functionIan Jackson2023-08-231-4/+11
| | | | | | | | | | | | | | | | This is going to be more obviously useful in a moment.
| * | | hashx_cachegrind: Introduce mk_c_equix helper macroIan Jackson2023-08-231-4/+9
| | | | | | | | | | | | | | | | The macro generates precisely the existing code.
| * | | hashx_cachegrind: Introduce mk_rust helper macroIan Jackson2023-08-231-8/+14
| | |/ | |/| | | | | | | The macro generates precisely the existing code.
* | | Merge branch 'ipt-m' into 'main'Ian Jackson2023-08-2311-6/+1475
|\ \ \ | |/ / |/| | | | | | | | About half of an IPT Manager See merge request tpo/core/arti!1523
| * | tor-hsservice: Add a TODO for breaking up the big functionIan Jackson2023-08-231-0/+2
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1523#note_2934367
| * | tor-hsservice: timeout_track: Add some TODOsIan Jackson2023-08-231-0/+3
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1523#note_2934299
| * | tor-hsservice: ipt-m: Add a TODO about code motionIan Jackson2023-08-231-0/+2
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1523#note_2934300
| * | tor-hsservice: ipt-m: tests: Fix wrong commentIan Jackson2023-08-231-1/+1
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1523#note_2934298
| * | Fix doc formatting.gabi-2502023-08-231-1/+1
| | |
| * | tor-hsservice: About half of an IPT ManagerIan Jackson2023-08-236-2/+800
| | | | | | | | | | | | There are many TODOs and no tests, but it does compile.
| * | tor-hsservice: Expose the ipt_establish and publish modulesIan Jackson2023-08-231-2/+2
| | | | | | | | | | | | | | | | | | I still think putting these in svc/ module doesn't make much sense. Anyway, we can leave them there for now, but I need to get at them from crate::ipt_establisher.
| * | tor-hsservice: Provide timeout tracking utilities - testsIan Jackson2023-08-233-2/+203
| | |
| * | tor-hsservice: Provide timeout tracking utilitiesIan Jackson2023-08-234-0/+436
| | | | | | | | | | | | | | | This module is perhaps rather more comprehensive than needed right now. But I found I kept wanting to change which bits of it I used.
| * | tor-rtmock: Relax Sync bound on spawned tasks in MockExecutorIan Jackson2023-08-232-2/+3
| | | | | | | | | | | | | | | Sync is actually otiose - and I'm about to have some test cases with futures that aren't Sync.
| * | tor-rtmock: Expose time_until_next_timeout on MockRuntimeIan Jackson2023-08-232-0/+26
| | |