summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tor-hsservice: s/fetch_hsdirs/compute_hsdirs (fmt).Gabriela Moldovan2023-08-251-1/+2
| | |
| * | tor-hsservice: s/fetch_hsdirs/compute_hsdirs.Gabriela Moldovan2023-08-251-3/+3
| | |
| * | tor-hsservice: Use [v].into_iter() instead of iter::once(v).Gabriela Moldovan2023-08-251-1/+1
| | |
| * | tor-hsservice: Handle schedule_upload_rx.recv() errors.Gabriela Moldovan2023-08-251-2/+4
| | |
| * | tor-hsservice: Remove unnecessary argument from recompute_hs_dirs.Gabriela Moldovan2023-08-251-5/+9
| | |
| * | tor-hsservice: Replace the netdir before recomputing the HsDirs.Gabriela Moldovan2023-08-251-2/+2
| | |
| * | tor-hsservice: Add partial descriptor publisher reactor implementation.Gabriela Moldovan2023-08-255-10/+848
| | | | | | | | | | | | | | | | | | | | | | | | This partially implements the descriptor publisher reactor. The code still has many TODOs and there are no tests. Partially implements #977
| * | tor-hsservice: Move PublisherError to a separate module, tweak publisher API.Gabriela Moldovan2023-08-252-5/+47
| | |
| * | tor-hsservice: Make wait_for_netdir* more widely available.Gabriela Moldovan2023-08-253-63/+78
| | | | | | | | | | | | | | | `wait_for_netdir` is needed by the descriptor publisher (to compute the initial netdir).
| * | tor-hscrypto: Impl From<&HsBlindIdKeypair> for HsBlindIdKey.Gabriela Moldovan2023-08-252-0/+8
| | | | | | | | | | | | This will be used by the descriptor publisher when building descriptors.
| * | tor-hscrypto: Add a function for deriving the subcredential.Gabriela Moldovan2023-08-252-3/+16
|/ / | | | | | | | | | | This function will be used by the descriptor publisher (it needs to generate descriptors, and for that it needs the subcredential, which can be derived from the `HsBlindIdKey` and `TimePeriod`).
* | Merge branch 'ci' into 'main'gabi-2502023-08-253-24/+30
|\ \ | | | | | | | | | | | | | | | | | | Pin CI images to specific Debian release Closes #1020 See merge request tpo/core/arti!1553
| * | CI: Replace all uses of `debian:stable-slim` with `bookworm`Ian Jackson2023-08-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Thesee jobs are ones which don't interact with our Rust executables. Since `debian:stable-slim` has already been updated I believe, I think this actually makes no difference right now. But it will prevent us unexpectedly picking up Debian updates.
| * | CI: Replace all uses of `rust:latest` image with `rust:bullseye`Ian Jackson2023-08-251-13/+13
| | | | | | | | | | | | | | | `rust:latest` updates to a new Debian willy-nilly, which broke our CI due to it being an uncontrolled dependency.
| * | CI: cargo install caching: Use cache/ directory, per-imageIan Jackson2023-08-252-7/+12
| | | | | | | | | | | | | | | | | | This avoids us trying to run binaries built on one image, on a different one. I believe that this is supposed to work according to Rust doctrine, but empirically it doesn't.
| * | Run maint/add-warningIan Jackson2023-08-251-0/+1
|/ / | | | | | | Yet another new module concurrently with a new lint.
* | Merge branch 'hashx-bench-3' into 'main'Ian Jackson2023-08-255-8/+319
|\ \ | | | | | | | | | | | | hashx: More arrays (redux), unsafe FixedCapacityVec See merge request tpo/core/arti!1538
| * | hashx: FixedCapacityVec: Fix clippy lintsIan Jackson2023-08-241-4/+3
| | |
| * | RustfmtIan Jackson2023-08-244-6/+12
| | |
| * | hashx: FixedCapacityVec: impl Send, Sync, [Ref]UnwindSafeIan Jackson2023-08-241-0/+13
| | |
| * | hashx: FixedCapacityVec: TestsIan Jackson2023-08-241-0/+105
| | | | | | | | | | | | These pass miri too.
| * | hashx: FixedCapacityVec: introduce push_innerIan Jackson2023-08-241-7/+21
| | | | | | | | | | | | | | | | | | To support testing. No change to iai benchmarks.
| * | hashx: FixedCapacityVec: use *mut T, and impl DropIan Jackson2023-08-241-24/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generate_interp_1000x Instructions: 219216169 (-0.408535%) L1 Accesses: 278018470 (-0.322766%) L2 Accesses: 28 (+12.00000%) RAM Accesses: 417 (+0.724638%) Estimated Cycles: 278033205 (-0.322706%) generate_interp_1000x_c Instructions: 272748034 (No change) L1 Accesses: 349932964 (-0.000002%) L2 Accesses: 77 (+1.315789%) RAM Accesses: 410 (+1.234568%) Estimated Cycles: 349947699 (+0.000050%) generate_compiled_1000x Instructions: 256445375 (-0.349434%) L1 Accesses: 342092951 (-0.266541%) L2 Accesses: 166505 (+9.182175%) RAM Accesses: 812 (+0.370828%) Estimated Cycles: 342953896 (-0.245532%) generate_compiled_1000x_c Instructions: 281855218 (No change) L1 Accesses: 362569037 (-0.000002%) L2 Accesses: 87 (No change) RAM Accesses: 472 (+1.287554%) Estimated Cycles: 362585992 (+0.000056%) interp_u64_hash_1000x Instructions: 13450926 (-0.006631%) L1 Accesses: 16622557 (-0.005384%) L2 Accesses: 28 (No change) RAM Accesses: 394 (+0.510204%) Estimated Cycles: 16636487 (-0.004959%) interp_8b_hash_1000x_c Instructions: 8618541 (No change) L1 Accesses: 12316161 (-0.000032%) L2 Accesses: 80 (No change) RAM Accesses: 432 (+0.934579%) Estimated Cycles: 12331681 (+0.001103%) compiled_u64_hash_100000x Instructions: 87311338 (-0.001022%) L1 Accesses: 94396161 (-0.000947%) L2 Accesses: 210 (-0.943396%) RAM Accesses: 779 (+0.386598%) Estimated Cycles: 94424476 (-0.000846%) compiled_8b_hash_100000x_c Instructions: 91547640 (No change) L1 Accesses: 98838173 (-0.000003%) L2 Accesses: 133 (-0.746269%) RAM Accesses: 485 (+0.831601%) Estimated Cycles: 98855813 (+0.000134%)
| * | hashx: FixedCapacityVec: Note some missing stuffIan Jackson2023-08-241-0/+12
| | |
| * | hashx: FixedCapacityVec: DocumentationIan Jackson2023-08-241-0/+27
| | |
| * | hashx: FixedCapacityVec: Replace .into_boxed_array method with TryIan Jackson2023-08-242-9/+16
| | | | | | | | | | | | | | | This version pushes the panic into the call site, which seems much better. No change to the iai results.
| * | hashx: FixedCapacityVec: Move into its own moduleIan Jackson2023-08-245-71/+80
| | |
| * | RustfmtIan Jackson2023-08-233-9/+9
| | |
| * | RFC: hashx: Introduce FixedCapacityVecIan Jackson2023-08-233-6/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is quite shoddy. It shouldn't be merged without some tidying up and unit tests and so on. Also I am confused about the difference between NUM_INSTRUCTIONS and model::REQUIRED_INSTRUCTIONS. However: generate_interp_1000x Instructions: 220115418 (-1.147100%) L1 Accesses: 278918725 (-0.936103%) L2 Accesses: 25 (-98.46248%) RAM Accesses: 414 (-0.956938%) Estimated Cycles: 278933340 (-0.938920%) generate_interp_1000x_c Instructions: 272748034 (No change) L1 Accesses: 349932970 (+0.000001%) L2 Accesses: 76 (-1.298701%) RAM Accesses: 405 (-0.491400%) Estimated Cycles: 349947525 (-0.000021%) generate_compiled_1000x Instructions: 257344624 (-0.982784%) L1 Accesses: 343007206 (-0.753942%) L2 Accesses: 152502 (-17.12839%) RAM Accesses: 809 (-0.369458%) Estimated Cycles: 343798031 (-0.797384%) generate_compiled_1000x_c Instructions: 281855218 (No change) L1 Accesses: 362569043 (+0.000002%) L2 Accesses: 87 (-4.395604%) RAM Accesses: 466 (-0.427350%) Estimated Cycles: 362585788 (-0.000023%) interp_u64_hash_1000x Instructions: 13451818 (-0.100680%) L1 Accesses: 16623452 (-0.105967%) L2 Accesses: 28 (No change) RAM Accesses: 392 (-1.507538%) Estimated Cycles: 16637312 (-0.107138%) interp_8b_hash_1000x_c Instructions: 8618541 (No change) L1 Accesses: 12316165 (+0.000032%) L2 Accesses: 80 (-2.439024%) RAM Accesses: 428 (-0.465116%) Estimated Cycles: 12331545 (-0.000616%) compiled_u64_hash_100000x Instructions: 87312230 (-1.358594%) L1 Accesses: 94397055 (-1.669415%) L2 Accesses: 212 (-0.469484%) RAM Accesses: 776 (-0.767263%) Estimated Cycles: 94425275 (-1.669144%) compiled_8b_hash_100000x_c Instructions: 91547640 (No change) L1 Accesses: 98838176 (+0.000009%) L2 Accesses: 134 (-4.964539%) RAM Accesses: 481 (-0.414079%) Estimated Cycles: 98855681 (-0.000097%)
| * | RFC: hashx: Make Program a boxed arrayIan Jackson2023-08-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generate_interp_1000x Instructions: 222669662 (-0.146601%) L1 Accesses: 281554367 (+0.069275%) L2 Accesses: 1623 (-90.13494%) RAM Accesses: 418 (No change) Estimated Cycles: 281577112 (+0.042908%) generate_interp_1000x_c Instructions: 272748034 (No change) L1 Accesses: 349932970 (+0.000001%) L2 Accesses: 74 (No change) RAM Accesses: 407 (-0.731707%) Estimated Cycles: 349947585 (-0.000029%) generate_compiled_1000x Instructions: 259898868 (-0.124860%) L1 Accesses: 345603941 (+0.055045%) L2 Accesses: 193008 (-4.001910%) RAM Accesses: 812 (-0.490196%) Estimated Cycles: 346597401 (+0.043228%) generate_compiled_1000x_c Instructions: 281855218 (No change) L1 Accesses: 362569040 (+0.000000%) L2 Accesses: 88 (+2.325581%) RAM Accesses: 468 (-0.636943%) Estimated Cycles: 362585860 (-0.000026%) interp_u64_hash_1000x Instructions: 13465375 (-0.024687%) L1 Accesses: 16641089 (-0.028974%) L2 Accesses: 25 (+8.695652%) RAM Accesses: 398 (+0.505051%) Estimated Cycles: 16655144 (-0.028470%) interp_8b_hash_1000x_c Instructions: 8618541 (No change) L1 Accesses: 12316165 (+0.000016%) L2 Accesses: 78 (No change) RAM Accesses: 430 (-0.462963%) Estimated Cycles: 12331605 (-0.000551%) compiled_u64_hash_100000x Instructions: 88514787 (-0.000365%) L1 Accesses: 95999693 (+0.000196%) L2 Accesses: 208 (-0.952381%) RAM Accesses: 782 (-0.255102%) Estimated Cycles: 96028103 (+0.000112%) compiled_8b_hash_100000x_c Instructions: 91547640 (No change) L1 Accesses: 98838171 (-0.000002%) L2 Accesses: 137 (+3.007519%) RAM Accesses: 483 (-0.412371%) Estimated Cycles: 98855761 (-0.000053%)
* | | Merge branch 'hssvc_high_level_api_draft' into 'main'Nick Mathewson2023-08-251-0/+272
|\ \ \ | | | | | | | | | | | | | | | | Draft high-level APIs for onion services See merge request tpo/core/arti!1541
| * | | hss-apis: Draft for authorization.Nick Mathewson2023-08-251-0/+20
| | | |
| * | | hssvc api draft: add a switch for single onion services.Nick Mathewson2023-08-251-0/+5
| | | |
| * | | Draft high-level APIs for onion servicesNick Mathewson2023-08-251-0/+247
|/ / /
* | | Merge branch 'no-pip3' into 'main'gabi-2502023-08-251-5/+2
|\ \ \ | |_|/ |/| | | | | | | | CI: Use apt, not pip, to install python packages. See merge request tpo/core/arti!1551
| * | CI: Use apt, not pip, to install python packages.Nick Mathewson2023-08-251-5/+2
|/ / | | | | | | | | Debian's pip3 now apparently complains when root is running it, which breaks our old coverage CI.
* | Merge branch 'retry_rend' into 'main'Nick Mathewson2023-08-245-8/+30
|\ \ | | | | | | | | | | | | | | | | | | hss: Retry rendezvous circuit attempts. Closes #1013 See merge request tpo/core/arti!1547
| * | 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.