| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
The other features we want aren't there yet.
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Fix typos
See merge request tpo/core/arti!346
|
| |/ / / |
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
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
|
| | | | |
|
| | | |
| | |
| | |
| | | |
this required to make additional types public
|
| |\ \ \ |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To implement this, we had to refactor the tor_circmgr api for
flushing state changes to disk, so that it checks if it has the lock,
and only then tries to store.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There was only one use of this, and it was in as-yet-unused relay-only
code.
Removing this type required refactoring the relay onion handshake code
to use its own error type, which is probably clever anyway.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This is a bit ugly but we need it to work around the problem where
exits aren't always clear about _why_ a hostname lookup failed.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is still not as specific as we want; but there's already a TODO
comment in tor-dirclient::err about fixing that at some point in the
future.
|
| | | | | |
|