| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
The `StateMgr` is currently only needed in `launch()`, so we don't
really need to store it.
This allows us to unparameterize OnionService.
|
| | | |
|
| | |
| |
| |
| |
| | |
The functionality previously provided by the so-called `StateMgr` is now
part of `OnionService`, so we can remove state.rs altogether.
|
| | | |
|
| | |
| |
| |
| |
| | |
We are about to need the `svc_cfg` (for calling
`TorClient::create_onion_service`).
|
| | |
| |
| |
| |
| | |
This will be used from `arti` to create an `OnionService`, to implement
the `arti hss` command.
|
| | |
| |
| |
| |
| |
| |
| | |
This a modified version of `tor_hsservice::state::StateMgr::onion_name`.
`tor_hsservice::state::StateMgr` will soon be abolished.
Part of #1220, #1227
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This will enable us to construct non-launched (but configured)
`OnionService`s. We need this, for example, for implementing
the `arti hss` CLI command.
Part of #1227
|
| |/
|
|
| |
Part of #1227
|
| |\
| |
| |
| |
| |
| |
| | |
Implement is_ipt_failure better.
Closes #1234
See merge request tpo/core/arti!1889
|
| | | |
|
| | |
| |
| |
| |
| | |
Additionally, explain its behavior better, since we cannot always
identify an Ipt failure with certainty.
|
| |\ \
| | |
| | |
| | |
| | | |
shadow ci: add instructions for building arti-extra
See merge request tpo/core/arti!1891
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
hsdesc: Document why enc_key_cert signbit is always zero.
Closes #1221
See merge request tpo/core/arti!1888
|
| | | |/
| |/|
| | |
| | |
| | |
| | | |
Closes #1221.
See torspec!240 for a corresponding spec change.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Several clean-ups around failures in incoming stream request handlers.
Closes #1190, #1189, and #1188
See merge request tpo/core/arti!1892
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Closes #1190
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In theory, it might be better to just un-register the
IncomingStreamRequestHandler when the Receiver for the stream
requests is dropped. However, there are two reasons not to do so:
1. It's tricky. We never actually poll on the corresponding Sink,
so there isn't a place where the Reactor would expect to get a
prompt notification of closure. We only find out that the
Receiver has been dropped when an attempt to send on the Sink
returns an `is_disconnected` error.
2. It's unnecessary. In the Tor protocols, once we have decided to
accept incoming stream requests on a circuit, we want to continue
to do so until one of the parties closes the circuit.
I've documented this in several comments, in case whe want to get
fancier in the future.
Closes #1188.
|
| | | |/
| |/|
| | |
| | | |
Closes #1189.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
hsservice: Document circ lifetime in OpenSession.
Closes #1224
See merge request tpo/core/arti!1894
|
| | |/ /
| | |
| | |
| | |
| | | |
Closes #1224, by making it more clear that we aren't keeping a
circuit alive indefinitely.
|
| |\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Remove TODO for #1191
Closes #1191
See merge request tpo/core/arti!1893
|
| |/ /
| |
| |
| |
| |
| | |
The bug described here was already fixed as #1065 via !1681.
Closes #1191.
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
RouterStatus: Add test functions for Fast and Stable flags.
Closes #1240
See merge request tpo/core/arti!1884
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
All appropriate checks here should be in `is_hs_intro_point()`.
Closes #1211.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This implements Relay::is_hs_intro_point.
Close #1240.
|
| | | |
| | |
| | |
| | |
| | | |
As we enforce these flags in more places, it will be handy for our
default network to have them for its relays.
|
| | | |
| | |
| | |
| | |
| | | |
(We don't need Fast right now, but we will certainly need it down
the line.)
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
Give an error when user configured onion services with no support.
Closes #1184
See merge request tpo/core/arti!1885
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We do this by adding a stub config and config builder type, whose
only purpose is to generate an error if anything is deserialized
into it.
(If this turns out not to be the best pattern, we can change it
later, since this is all internal to the `arti` crate.)
Closes #1184.
|
| | |/
| |
| |
| |
| | |
Previously, within() would transform this error variant into
Invalid.
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
hsrproxy: Temporarily remove ability to config unix addresses
Closes #1245
See merge request tpo/core/arti!1886
|
| |/
|
|
|
|
|
|
| |
I'm taking this out for now since we don't have support for actually
making these addresses work, and the current behavior will just
ignore connections silently.
Closes #1245
|
| |\
| |
| |
| |
| | |
Triage most remaining TODO HSS items in tor-hsservice
See merge request tpo/core/arti!1880
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
k_sid was not redundant with RequestContext: the latter only held
the public key, but the reactor here needed the entire keypair.
|
| | |
| |
| |
| |
| | |
(I've expanded #1209 to give us the option to either _implement_ these
transitions, or _forbid_ them. We shouldn't just ignore them, though.)
|
| | | |
|