| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | ratelim: switch time list to start very short. | Nick Mathewson | 2023-11-16 | 1 | -4/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | Since we batch up even the earliest events, it's important that the first interval be quite short: otherwise, the user might wait minutes between when a problem first occurs and when it is first reported. | |||||
| | * | | ratelim: Add a note about summary accuracy | Nick Mathewson | 2023-11-16 | 1 | -0/+6 | |
| | | | | ||||||
| | * | | ratelim: Add a comment about behavior on reactor shutdown | Nick Mathewson | 2023-11-16 | 1 | -0/+5 | |
| | | | | ||||||
| | * | | Ratelim: use now() to see how long we have been dormant | Nick Mathewson | 2023-11-16 | 1 | -9/+22 | |
| | | | | | | | | | | | | | Also avoid infinite recursion in implementation of RuntimeSupport. | |||||
| | * | | ratelim: Note that timeouts are in minutes. | Nick Mathewson | 2023-11-16 | 2 | -11/+2 | |
| | | | | ||||||
| | * | | ratelim: refactor to avoid unreachable code | Nick Mathewson | 2023-11-16 | 3 | -43/+22 | |
| | | | | | | | | | | | | | Add a note that this uglifies a hidden API slightly. | |||||
| | * | | ratelim: rename limiter.rs to ratelim.rs | Nick Mathewson | 2023-11-16 | 2 | -5/+5 | |
| | | | | ||||||
| | * | | log_ratelim: Use a real error type for install_runtime() | Nick Mathewson | 2023-11-16 | 3 | -5/+16 | |
| | | | | ||||||
| | * | | log_ratelim: Make final semicolon optional. | Nick Mathewson | 2023-11-16 | 1 | -4/+6 | |
| | | | | ||||||
| | * | | New tor-log-ratelim crate | Nick Mathewson | 2023-11-16 | 6 | -0/+919 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This crate is meant to provide rate-limited log messages to tell users about problems that can happen too frequently to log individually. This version is based off an earlier design, and off of conversations with @diziet. It still needs tests. | |||||
| * | | | Merge branch 'main' into 'main' | gabi-250 | 2023-11-17 | 1 | -13/+15 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Added macro for StorageConfig expand dir See merge request tpo/core/arti!1728 | |||||
| | * | | | Added macro for StorageConfig expand dir | rdbo | 2023-11-17 | 1 | -13/+15 | |
| | | | | | ||||||
| * | | | | arti-client test: add clippy exception | Jim Newsome | 2023-11-16 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | This clippy rule appears to be enabled by default in Rust 1.74.0 | |||||
| * | | | | tor-keymgr: Remove unnecessary borrow. | Gabriela Moldovan | 2023-11-16 | 1 | -2/+2 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Reuse read_blind_id_keypair when building descriptors. | Gabriela Moldovan | 2023-11-16 | 1 | -14/+6 | |
| | | | | | | | | | | | | | | | | | This code was identical to that from `read_blind_id_keypair`. | |||||
| * | | | | tor-hsservice: Extract read_blind_id_keypair out of Reactor (fmt). | Gabriela Moldovan | 2023-11-16 | 1 | -36/+34 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Extract read_blind_id_keypair out of Reactor. | Gabriela Moldovan | 2023-11-16 | 1 | -12/+10 | |
| | | | | | | | | | | | | | | | | | This will soon be used in `publish/descriptor.rs` too. | |||||
| * | | | | tor-hsservice: Pass the current time as an argument to ↵ | Gabriela Moldovan | 2023-11-16 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | generate_revision_counter. | |||||
| * | | | | tor-hsservice: Add note about computing ope_key once per TP. | Gabriela Moldovan | 2023-11-16 | 1 | -0/+2 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Link the the spec instead of referencing section number. | Gabriela Moldovan | 2023-11-16 | 1 | -2/+3 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Remove dead code. | Gabriela Moldovan | 2023-11-16 | 1 | -21/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This code is no longer needed: we're now using `generate_revision_counter()` to generate revision counters using the OPE scheme from appendix F.2 rend-spec-v3. | |||||
| * | | | | tor-hsservice: Generate revision counters using an OPE scheme. | Gabriela Moldovan | 2023-11-16 | 1 | -6/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The publisher now generates revision counters according to the "encrypted time in period" scheme described in appendix F.2 rend-spec-v3. Part of #1053 | |||||
| * | | | | tor-hsservice: Add function for generating revision counters using OPE scheme. | Gabriela Moldovan | 2023-11-16 | 2 | -3/+107 | |
| | | | | | | | | | | | | | | | | | Part of #1053 | |||||
| * | | | | tor-hsservice: Rename period to period_ctx for clarity. | Gabriela Moldovan | 2023-11-16 | 1 | -5/+4 | |
| | | | | | | | | | | | | | | | | | `period` is actually a `TimePeriodContext`, not a `TimePeriod. | |||||
| * | | | | tor-hscrypto: Make offset_within_period() work with timestamps from later ↵ | Gabriela Moldovan | 2023-11-16 | 1 | -2/+2 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | periods. Hidden services can have multiple "active" time periods for which they generate descriptors. We need to be able to compute the offset of a timestamp from the start of a given time period, even if that timestamp falls within the "next" time period (for example, when publishing descriptors for the "previous" time period, the `when` timestamp will fall outside the `(start, end)` range of the "previous" time period). | |||||
| * | | | Merge branch 'aes_ope' into 'main' | Nick Mathewson | 2023-11-16 | 5 | -0/+222 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Implementation for AES-based Order-preserving encryption See merge request tpo/core/arti!1741 | |||||
| | * | | | Implementation for AES-based Order-preserving encryption | Nick Mathewson | 2023-11-16 | 5 | -0/+222 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is the approach from appendix F.2 in rend-spec. Part of #1053. | |||||
| * | | | | Merge remote-tracking branch 'public/hs_begin' | Nick Mathewson | 2023-11-16 | 3 | -4/+16 | |
| |\ \ \ \ | |/ / / |/| | | | ||||||
| | * | | | hss: document behavior needed for indistinguishability | Nick Mathewson | 2023-10-23 | 1 | -2/+12 | |
| | | | | | ||||||
| | * | | | hsrproxy: Document what we check about begin messages | Nick Mathewson | 2023-10-23 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically, we check nothing except the port. This matches the behavior of C-tor and the documentation in torspec!179. | |||||
| | * | | | hsrproxy: Send back DONE reasons. | Nick Mathewson | 2023-10-23 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | This is in keeping with the behavior of C tor, and of torspec!179. | |||||
| * | | | | Merge branch 'strip_onion_begin' into 'main' | Alexander Færøy | 2023-11-15 | 4 | -2/+49 | |
| |\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | Send less information in onion service BEGIN messages Closes #1077 See merge request tpo/core/arti!1738 | |||||
| | * | | | Send less information in onion service BEGIN messages | Nick Mathewson | 2023-11-15 | 4 | -2/+49 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While looking for differences, we found that C tor always omits the flags and the hostname from a BEGIN message sent on an onion service circuit. In torspec!179, we specified that behavior. This patch brings arti into conformance. Closes #1077. | |||||
| * | | | | Merge branch 'upgrades-20231115' into 'main' | gabi-250 | 2023-11-15 | 16 | -21/+21 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | Upgrade a couple of dependencies See merge request tpo/core/arti!1736 | |||||
| | * | | | Require a more up-to-date version of time. | Nick Mathewson | 2023-11-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | (rusqlite fails with time 0.3.18, which is the version it claims to require.) | |||||
| | * | | | Upgrade to rusqlite 0.30.0 | Nick Mathewson | 2023-11-15 | 1 | -1/+1 | |
| | | | | | ||||||
| | * | | | Upgrade to itertools 0.12.0 | Nick Mathewson | 2023-11-15 | 16 | -19/+19 | |
| | | | | | ||||||
| * | | | | Merge branch 'clap4' into 'main' | gabi-250 | 2023-11-15 | 5 | -7/+9 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Upgrade to clap 4 See merge request tpo/core/arti!1735 | |||||
| | * | | | | Use "wrap_help" feature for clap. | Nick Mathewson | 2023-11-15 | 3 | -3/+3 | |
| | | | | | | ||||||
| | * | | | | Bump to clap 4 and resolve compiler errors. | Nick Mathewson | 2023-11-15 | 5 | -7/+9 | |
| | | | | | | ||||||
| * | | | | | tor-llcrypto: bump sha3 minimum version | Jim Newsome | 2023-11-15 | 2 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before version 10.6, `Shake256Reader` is incorrectly defined using `Shake256Core` instead of `Shake256ReaderCore`. As a result, attempting to instantiate `Shake256Reader` fails at compile time. | |||||
| * | | | | | tor-proto: make ClientHandShake and ServerHandshake generic over aux data | Jim Newsome | 2023-11-15 | 6 | -164/+112 | |
| | | | | | | ||||||
| * | | | | | Add NtorV3Server and implement ServerHandshake for it | Jim Newsome | 2023-11-15 | 1 | -29/+43 | |
| | | | | | | ||||||
| * | | | | | ServerHandshake: extend to support ntorv3 extensions | Jim Newsome | 2023-11-15 | 4 | -20/+130 | |
| | | | | | | ||||||
| * | | | | | NtorV3Client: implement ClientHandshake | Jim Newsome | 2023-11-15 | 1 | -7/+13 | |
| | | | | | | ||||||
| * | | | | | ClientHandshake: extend to support ntorv3 extensions | Jim Newsome | 2023-11-15 | 4 | -22/+66 | |
| | | | | | | ||||||
| * | | | | | NtorV3Client: take a slice instead of a vec of extensions | Jim Newsome | 2023-11-15 | 1 | -5/+3 | |
| | | | | | | ||||||
| * | | | | | ntor_v3: replace `impl digest::XofReader` with `NtorV3XofReader` | Jim Newsome | 2023-11-15 | 1 | -15/+20 | |
| | | | | | | ||||||
| * | | | | | tor_llcrypto: expose `Shake256Reader` | Jim Newsome | 2023-11-15 | 2 | -1/+2 | |
| | | | | | | ||||||
| * | | | | | CircuitHandshake::Ntor::ed_identity clarify doc-comment | Jim Newsome | 2023-11-15 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use consistent phrasing when describing the two key fields to make it clear they're referring to the same relay. | |||||
