| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
use runtime TlsProvider in tcp-hook example
See merge request tpo/core/arti!356
|
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
tor-proto datastream: Fix typo in Debug impl
See merge request tpo/core/arti!354
|
| | | |
| | |
| | |
| | |
| | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/353#note_2781632
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
TorClient: Add get_runtime() convenience method
See merge request tpo/core/arti!350
|
| | | |
| | |
| | |
| | |
| | | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/350#note_2781368
|
| | | | |
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
tor-rtcompat: Provide TLS wrapping for all streams
See merge request tpo/core/arti!349
|
| | | | |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Now all of the runtime types we provide all
impl<S> TlsProvider<S> where S: ...
rather than merely TlsProvider<Self::TcpStream>.
And we document and intent to perhaps require this in the future.
|
| |\ \
| | |
| | |
| | |
| | | |
tor-proto datastream: Do not dump packet data in DataWriterImpl
See merge request tpo/core/arti!353
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
arti-client: Unlock the state manager on failure to bootstrap
Closes #335
See merge request tpo/core/arti!334
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`StateMgr` got a new `unlock()` method that does what it says on the
tin. We now call it from `bootstrap()` using the new
`util::StateMgrUnlockGuard`, which works in a manner similar to the
`BoolResetter` from `tor_dirmgr`.
(A decent small little task in future might be to unify these types in
some sort of general arti utility crate?)
closes arti#335
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
make arti return a web page when receiving http request on socks port
See merge request tpo/core/arti!348
|
| | | | | |
|
| | | |/
| |/| |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Initial cut of hyper bindings as a library crate
See merge request tpo/core/arti!342
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Pure code motion. (Including motion/copying of "use" lines.)
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We need this not to use anyhow because we don't want our libraries to
expose anyhow, and this is about to go into the library.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
It auto-converts to ErrorDetail but add this for convenience of
callers which don't want to look into that unstable API.
|
| | | | |
| | | |
| | | |
| | | | |
Code motion and consequential dependency adjustments.
|
| | | | | |
|
| | |/ / |
|
| |\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
tor-proto: Split up a couple of handshake-based errors
Closes #359 and #358
See merge request tpo/core/arti!344
|
| | | |
| | |
| | |
| | |
| | | |
Remove default conversion; instead use a specific conversion in each
of the two modules that need to do it.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This helps the user distinguish between protocol violations that
happen when connecting to the tor network from those that happen
while connected.
Closes #358.
|
| | | |
| | |
| | |
| | | |
(We'll have a BadChanHandshake soon.)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
We want to distinguish handshake failures from errors later on in
the channel's lifetime.
Closes #359.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Give specific error kinds to different END reasons
Closes #360
See merge request tpo/core/arti!343
|
| | |/ /
| | |
| | |
| | | |
Closes #360.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
impl Debug for DataStream (and its components)
See merge request tpo/core/arti!351
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
My proximate motivation is that tls-api wants its inner streams to be
Debug. But in general, I agree with the Rust API Guidelines notion
that almost everything should be Debug.
I have gone for the "dump all the things" approach. A more nuanced
approach would be possible too.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Dir store redux
See merge request tpo/core/arti!345
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
add example of tcp hook
See merge request tpo/core/arti!341
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Try to make the `hook-tcp` example a bit easier to read by
adding/changing comments, and renaming the lifetimes for
`async_trait`-generated trait methods.
|
| | | |
| | |
| | |
| | | |
goal of the example
|