| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-hsservice: Remove a TODO that is no longer relevant. | Gabriela Moldovan | 2024-08-21 | 1 | -16/+1 |
| | | | | | This is now implemented. | ||||
| * | tor-hsservice: Derive getters for OnionServiceConfig, RestrictedDiscoveryConfig. | Gabriela Moldovan | 2024-08-21 | 1 | -6/+3 |
| | | |||||
| * | tor-hsservice: Make restricted_discovery updateable. | Gabriela Moldovan | 2024-08-21 | 1 | -1/+1 |
| | | |||||
| * | tor-hsservice: Create a type for the descriptor publisher's view of the config. | Gabriela Moldovan | 2024-08-21 | 1 | -1/+49 |
| | | | | | | Partially addresses https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1603#note_2944902 | ||||
| * | tor-hsservice: Remove unnecessary docsrs cfg_attr. | Gabriela Moldovan | 2024-08-07 | 1 | -1/+0 |
| | | | | | | The module is correctly documented as "only available on crate feature restricted-discovery" without it. | ||||
| * | tor-hsservice: Add comments about the cfg_attrs around restricted_discovery. | Gabriela Moldovan | 2024-08-07 | 1 | -0/+3 |
| | | |||||
| * | tor-hsservice: Add missing docsrs cfg to restricted_discovery module. | Gabriela Moldovan | 2024-08-06 | 1 | -0/+1 |
| | | | | | | | | | | | | Without it, if the `restricted-discovery` feature is compiled out, the module gets documented as: ``` Non-restricted-discovery (Available on non-crate feature `restricted-discovery` only) ``` which is inaccurate. | ||||
| * | tor-hsservice: Remove unused config types. | Gabriela Moldovan | 2024-08-05 | 1 | -79/+0 |
| | | |||||
| * | tor-hsservice: Use restricted config option in OnionServiceConfig. | Gabriela Moldovan | 2024-08-05 | 1 | -13/+30 |
| | | |||||
| * | tor-hsservice: Add restricted discovery configuration. | Gabriela Moldovan | 2024-08-05 | 1 | -1/+8 |
| | | |||||
| * | tor-hsservice: Remove extraneous whitespace. | Gabriela Moldovan | 2024-08-05 | 1 | -2/+2 |
| | | |||||
| * | Switch to derive-deftly | Ian Jackson | 2024-04-03 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the combination of a number of separate commits, many of which were generated by seddery, and then rebased and squashed. Cargo.toml perl -i~ -pe 's{^derive-adhoc}{derive-deftly = "0.10"}' crates/*/Cargo.toml (not regenerated during rebase) update Cargo.lock `cargo fetch` without --locked (regenerated during rebase) seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{^use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bdefine_derive_adhoc\b}{define_derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bAdhoc\b}{Deftly}g if m{derive}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[derive_adhoc\b}{#[derive_deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{use derive_adhoc}{use derive_deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc\b}{derive_deftly_adhoc} if m{use.*deftly}' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc!}{derive_deftly_adhoc!}' (not regenerated during rebase) Manually add `#[derive_deftly_adhoc]` where needed. seddery git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[adhoc\b}{#[deftly}g' git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc_template}{derive_deftly_template}' (not regenerated during rebase) Manually fix up an import Manually update some builder attrs Manually fix up tor_rtmock::time_core This was missed in my seddery, due to me rebasing the branch and not redoing the seddery. | ||||
| * | hss: Make the limit for streams configurable. | Nick Mathewson | 2024-03-26 | 1 | -5/+14 |
| | | | | | Closes #1124. | ||||
| * | tor-hsservice: client auth: Only allow `dir:...` to have valid unicode | Ian Jackson | 2024-03-05 | 1 | -2/+4 |
| | | | | | | | | | | | | | We have Display/FromStr for AuthorizedClientConfig. We can't have Display if it can containa PathBuf because a PathBuf may not have a string representation. If we want to support non-unicode in the future, we'll need an escaping scheme and messing around with OsStr. The config scheme here may not be the best, but right now I'm just fixing uses of Path::display. | ||||
| * | tor-hsservice: prelude: Move imports from config.rs | Ian Jackson | 2024-03-05 | 1 | -11/+2 |
| | | |||||
| * | tor-hsservice: reconfigure: Allow changing rate_limit_at_intro | Ian Jackson | 2024-02-21 | 1 | -5/+3 |
| | | |||||
| * | tor-hsservice: reconfigure: Prove we've handled all the fields | Ian Jackson | 2024-02-21 | 1 | -3/+2 |
| | | |||||
| * | tor-hsservice: config: max_concurrent_streams_per_circuit: comment out (fmt) | Ian Jackson | 2024-02-21 | 1 | -1/+0 |
| | | | | | Remove a wanted blank line. | ||||
| * | tor-hsservice: config: max_concurrent_streams_per_circuit: comment out | Ian Jackson | 2024-02-21 | 1 | -4/+6 |
| | | | | | | This is not implemented. It is better to have it commented out than providing a knob that isn't connected to anything. | ||||
| * | tor-hsservice: reconfigure: reject changing rate_limit_at_intro for now | Ian Jackson | 2024-02-21 | 1 | -0/+6 |
| | | |||||
| * | tor-hsservice: reconfigure: changing num_intro_points is fine | Ian Jackson | 2024-02-21 | 1 | -0/+5 |
| | | |||||
| * | tor-hsservice: reconfigure: Formalise field handling | Ian Jackson | 2024-02-21 | 1 | -8/+59 |
| | | |||||
| * | Document allowed numbers of intro points, and make them match C | Nick Mathewson | 2024-01-25 | 1 | -7/+17 |
| | | | | | | | | Part of #1210. These values are not necessarily the cleverest possible, but they match the C implementation. We can tune them if we need to. | ||||
| * | hss: Pick random intro-point lifetime based on netparams | Nick Mathewson | 2024-01-25 | 1 | -10/+0 |
| | | | | | | This makes us more spec-conformant. See discussion at #1210 "question 3". | ||||
| * | fixup! hss: Use 3 hours for IPT_PUBLISH_*. | Nick Mathewson | 2024-01-25 | 1 | -3/+0 |
| | | |||||
| * | hsservice: Make a few more TODOs refer to #1210 | Nick Mathewson | 2024-01-12 | 1 | -3/+3 |
| | | | | | | (These are about parameters and configuration for the introduction point manager.) | ||||
| * | hsservice: downgrade TODO about "enabled". | Nick Mathewson | 2024-01-12 | 1 | -1/+3 |
| | | | | | We don't necessarily need to build this option at all. | ||||
| * | hsservice: Make TODO HSS comments about client auth refer to #1206 | Nick Mathewson | 2024-01-12 | 1 | -4/+4 |
| | | |||||
| * | Fix typos | Dimitris Apostolou | 2024-01-08 | 1 | -1/+1 |
| | | |||||
| * | hss::config: Downgrade or remove some TODO HSS comments. | Nick Mathewson | 2023-12-12 | 1 | -16/+15 |
| | | |||||
| * | tor-hsservice: Soup up plumbing for ipt_relay_rotation_time | Ian Jackson | 2023-11-27 | 1 | -0/+10 |
| | | | | | | This will mean if we refer to it in more places, we'll still only have one place to change it. | ||||
| * | Improve documentation in/around DosParams extension | Nick Mathewson | 2023-11-20 | 1 | -1/+8 |
| | | | | | | | It does not help that C tor has a set of parameters and a set of configuration options with exactly the same names which configure the same thing in two slightly different ways. | ||||
| * | hss: Take intro_dos extension from configuration and send it. | Nick Mathewson | 2023-11-20 | 1 | -0/+39 |
| | | | | | Closes #723. | ||||
| * | Implement build_auth_clients() | Neel Chauhan | 2023-10-11 | 1 | -1/+2 |
| | | |||||
| * | hss: Implement a reconfigure function. | Nick Mathewson | 2023-10-05 | 1 | -0/+26 |
| | | |||||
| * | hss: Give Config a nickname accessor. | Nick Mathewson | 2023-10-04 | 1 | -0/+7 |
| | | |||||
| * | arti: Make onion_services serialize as a map. | Nick Mathewson | 2023-10-03 | 1 | -0/+5 |
| | | | | | This lets us write `[onion_services.allium_cepa]`. | ||||
| * | hss: Rename the "name" config field to "nickname". | Nick Mathewson | 2023-10-03 | 1 | -1/+1 |
| | | |||||
| * | hss: Temporarily disable POW config items. | Nick Mathewson | 2023-10-03 | 1 | -4/+5 |
| | | | | | | We plan to ship without them at first, so we may as well remove them. | ||||
| * | hss: Make more of the configuration defaultable. | Nick Mathewson | 2023-10-03 | 1 | -0/+2 |
| | | |||||
| * | hss: Make configs and builders implement more traits. | Nick Mathewson | 2023-10-03 | 1 | -3/+5 |
| | | |||||
| * | hss: Flatten limit and pow fields into main config | Nick Mathewson | 2023-09-19 | 1 | -46/+25 |
| | | | | | | | See thread at https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1599#note_2944510 for information about why `flatten` doesn't work here. | ||||
| * | hss: make config subbuilders get flattened. | Nick Mathewson | 2023-09-19 | 1 | -0/+2 |
| | | | | | This matches our design. | ||||
| * | hss: Make the config builders serde. | Nick Mathewson | 2023-09-19 | 1 | -9/+17 |
| | | | | | | Temporarily disable descriptor encryption configuration while we figure out how it should work (see #1028) | ||||
| * | tor-hsservice: Derive PartialEq for Anonimity and DescEncryptionConfig. | Gabriela Moldovan | 2023-09-18 | 1 | -2/+2 |
| | | | | | | | | | | | | This will enable the descriptor publisher to tell whether it needs to update the descriptor. When the publisher is notified of an `OnionServiceConfig` change, it checks whether the `anonimity` or `encrypt_descriptor` fields have changed. If they have, it rebuilds and republishes the descriptor using the new values (note: the publisher changes will be implemented in a future commit). | ||||
| * | Allow max_concurrent_streams_per_circuit to be impossibly high. | Nick Mathewson | 2023-09-07 | 1 | -1/+1 |
| | | |||||
| * | hsservice: add TODO about authorized client plugins | Nick Mathewson | 2023-09-07 | 1 | -0/+5 |
| | | |||||
| * | add a TODO about rate limits and their relationship. | Nick Mathewson | 2023-09-07 | 1 | -0/+4 |
| | | |||||
| * | hsservice: Make configs members pub(crate). | Nick Mathewson | 2023-09-07 | 1 | -5/+5 |
| | | |||||
| * | HSS: Parser/encoder for AuthorizedClientConfig | Nick Mathewson | 2023-09-07 | 1 | -2/+54 |
| | | |||||
