summaryrefslogtreecommitdiff
path: root/crates/tor-hsservice
Commit message (Collapse)AuthorAgeFilesLines
* Update unstable `tor/arti-*` crates to 0.17.0.Nick Mathewson2024-04-021-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with: ``` CRATES=" tor-basic-utils tor-async-utils tor-error tor-config tor-events tor-units tor-geoip tor-rtcompat tor-rtmock tor-log-ratelim tor-rpcbase tor-llcrypto tor-protover tor-bytes tor-hscrypto tor-hspow tor-socksproto tor-checkable tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-congestion tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy arti-client arti-rpcserver arti-config arti-hyper arti-bench arti-testing " for crate in $CRATES; do cargo set-version -p "$crate" 0.17.0 done ```
* Bump patchlevel versions on non-{tor/arti} crates.Nick Mathewson2024-04-021-4/+4
| | | | | | | | | | | | | | | | These have all had backward-compatible changes. Generated with: ``` cargo set-version --bump patch -p fs-mistrust cargo set-version --bump patch -p test-temp-dir cargo set-version --bump patch -p fslock-guard cargo set-version --bump patch -p hashx cargo set-version --bump patch -p equix cargo set-version --bump patch -p caret cargo set-version --bump patch -p safelog cargo set-version --bump patch -p retry-error ```
* Run "fixup-features" in preparation for next release.Nick Mathewson2024-03-281-1/+1
|
* hss: Make the limit for streams configurable.Nick Mathewson2024-03-264-13/+29
| | | | Closes #1124.
* Add an IncomingStreamRequestFilter to check early propertiesNick Mathewson2024-03-261-5/+31
| | | | | | | Based on designs in #1124. Note that there is a TODO here about a hack I had to do to appease the borrow checker.
* Refactor the logic for constructing crypt layers.Nick Mathewson2024-03-261-5/+0
| | | | | | | | | | | The key insights here are: - That relay cell format and crypto protocols aren't orthogonal: Once we have GCO, it will require V1. - That we only need the actual functions for layer construction to be generic; we don't need to proliferate generic parameters everywhere. - That the circuit::handshake module already does most of what we want.
* Propagate RelayCellFormat selection up to where format decisions will be madeJim Newsome2024-03-201-0/+5
|
* Run maint/add_warning.Nick Mathewson2024-03-1313-0/+13
|
* Fix some rustdoc warnings.Nick Mathewson2024-03-126-12/+13
| | | | | These are mostly about explicitly linking to things that were already in scope.
* ipt_mgr: convert to use RelaySelector.Nick Mathewson2024-03-122-11/+22
|
* fix: fix typosDimitris Apostolou2024-03-091-1/+1
|
* BackoffSchedule refactoring and improvementsNeel Chauhan2024-03-072-22/+38
|
* Fix typos in doc commentsTobias Stoeckmann2024-03-061-1/+1
|
* AuthorizedClientConfig: add semver noteIan Jackson2024-03-051-0/+1
|
* Use tor_basic_utils::PathExt::display_lossyIan Jackson2024-03-052-3/+3
| | | | | Change Path::display to this new function, in call sites where it's being used for a diagnostic.
* tor-hsservice: client auth: Only allow `dir:...` to have valid unicodeIan Jackson2024-03-052-4/+6
| | | | | | | | | | | | 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: Fix description of sub-module handlingIan Jackson2024-03-051-3/+3
|
* tor-hsservice: ipt_mgr: Put file in a sensible order (defeat rustfmt)Ian Jackson2024-03-051-1/+1
|
* tor-hsservice: ipt_mgr: Put file in a sensible orderIan Jackson2024-03-051-220/+235
| | | | Fixes #1212
* tor-hsservice: prelude: Manually tidy and group Arti and crate imports (fmt)Ian Jackson2024-03-051-27/+15
|
* tor-hsservice: prelude: Manually tidy and group Arti and crate importsIan Jackson2024-03-051-41/+31
|
* tor-hsservice: prelude: Use braced group syntaxIan Jackson2024-03-051-143/+151
| | | | This reduces visual clutter and reclaims horizontal space.
* tor-hsservice: prelude: Manually tidy and group std and upstreams (fmt)Ian Jackson2024-03-051-8/+8
|
* tor-hsservice: prelude: Manually tidy and group std and upstreamsIan Jackson2024-03-051-35/+20
|
* tor-hsservice: prelude: Don't import postage::sink::SendErrorIan Jackson2024-03-052-5/+3
| | | | This is too vague.
* tor-hsservice: prelude: Don't import futures::streamIan Jackson2024-03-052-2/+2
| | | | This is too vague.
* Run rustfmtIan Jackson2024-03-057-139/+118
| | | | | This alphabetises the imports, ready for us to do some more manual tidying.
* tor-hsservice: nickname: Trick rustfmt into not exploding derivesIan Jackson2024-03-051-3/+2
|
* tor-hsservice: prelude: Move imports from nickname.rsIan Jackson2024-03-051-9/+1
| | | | There are none here that aren't in the prelude now.
* tor-hsservice: don't import derive_more::Display as suchIan Jackson2024-03-051-2/+2
| | | | "Display" is rather vague.
* tor-hsservice: prelude: Move imports from netdir.rsIan Jackson2024-03-051-5/+1
| | | | There are none here that aren't in the prelude now.
* tor-hsservice: prelude: Move most imports from status.rsIan Jackson2024-03-052-10/+2
|
* tor-hsservice: prelude: Move most imports from req.rsIan Jackson2024-03-052-18/+16
|
* tor-hsservice: prelude: Move imports from replay.rsIan Jackson2024-03-052-12/+13
|
* tor-hsservice: prelude: Move most imports from rend_handshake.rsIan Jackson2024-03-052-16/+10
|
* tor-hsservice: prelude: Move imports from reupload_timer.rsIan Jackson2024-03-052-4/+2
|
* tor-hsservice: prelude: Promote imports from reactor.rsIan Jackson2024-03-052-4/+3
| | | | Move these two publisher-specific imports to publish.rs.
* tor-hsservice: prelude: Move imports from reactor.rsIan Jackson2024-03-052-50/+25
|
* tor-hsservice: Refer to mpsc::{Sender, Receiver} by their module nameIan Jackson2024-03-051-4/+4
| | | | Just "Sender" and "Receiver" is rather vague.
* tor-hsservice: prelude: Promote imports from descriptor.rsIan Jackson2024-03-052-1/+1
| | | | Move these two publisher-specific imports to publish.rs.
* tor-hsservice: prelude: Move imports from descriptor.rsIan Jackson2024-03-052-21/+15
| | | | We use these via an import of the parent, publish.rs.
* tor-hsservice: prelude: Move imports from backoff.rsIan Jackson2024-03-052-12/+5
|
* tor-hsservice: prelude: Move imports from publish.rsIan Jackson2024-03-052-13/+3
|
* tor-hsservice: prelude: Move imports from keys.rsIan Jackson2024-03-052-14/+6
|
* tor-hsservice: prelude: Move imports from ipt_set.rsIan Jackson2024-03-052-22/+9
|
* tor-hsservice: prelude: Use internal_prelude in ipt_lid.rsIan Jackson2024-03-051-1/+1
| | | | This did use crate::*, which was a bit of a bodge.
* tor-hsservice: prelude: Move imports from helpers.rsIan Jackson2024-03-052-4/+3
|
* tor-hsservice: prelude: Use prelude names in anon_level.rsIan Jackson2024-03-051-5/+7
|
* tor-hsservice: prelude: Move imports from err.rsIan Jackson2024-03-052-12/+2
|
* tor-hsservice: prelude: Move imports from config.rsIan Jackson2024-03-052-11/+6
|