| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
|
| | |/
| |
| |
| |
| |
| | |
We don't now handle inability to store by panicking. Like the
previous comment says, such situations end up with Err in stored,
and that's handled by logging, below.
|
| |\ \
| | |
| | |
| | |
| | | |
Clean up HsDesc error types and stabilize onion-service ErrorKinds
See merge request tpo/core/arti!1289
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These have been subsumed by other errorkinds, mostly
OnionServiceProtocolViolation and TorProtocolViolation.
In particular please review the change in tor-hsclient closely;
I am not sure about the new errorkinds for the error there.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For higher-level HsDesc-related functions, this type indicates where
exactly an error occurred. It lets us distinguish decryption errors
from parsing errors, and attribute responsibility to the hsdir, the
onion service, or the user's lack of encryption.
This lets us remove some just-introduced complexity in
tor-hsclient.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
circmgr: New API to expose estimate-based timeouts.
See merge request tpo/core/arti!1281
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This will help create good timeout values for various onion-service
operations.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
keymgr: Move dummy keymgr impl from arti-client to tor-keymgr
See merge request tpo/core/arti!1269
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
We don't need dummy impls for `Error` and `Result`.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`dummy.rs` will be moved to `tor-keymgr`, which will export everything
from the module.
|
| | | | | | |
|
| | | | | | |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
The dummy key manager impl from `arti-client` will be moved to
`tor-keymgr` soon. This commit adds a `keymgr` feature flag to
`tor-keymgr` which will eventually be used to choose between the real
key manager API and the dummy one.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Better API for getting circuit paths
Closes #787
See merge request tpo/core/arti!1286
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The new path_ref() method returns an Arc<Path>, which gives a much
better API for reasons discussed in the new documentation of path().
(We could just replace path() if we'd prefer, but IMO having
path_ref() here isn't so bad.)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(I'm not 100% sure about having both hops() and iter(). Should I
remove one?)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The new PathEntry struct wraps the old PathEntry enum, which has
been renamed to HopDetail. It's an opaque struct because we want to
be able to put new information in the enum as we think best.
|
| | | | | |
| | | | |
| | | | |
| | | | | |
(You can't get one yet or do much with it.)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now Path is a regular struct with no interior mutability, and we use
Arc::make_mut() for the case when we need to add a hop.
|
| | | |_|/
| |/| |
| | | |
| | | | |
(We're about to remove the interior mutability from Path.)
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
tor-proto: resolve or defer the easier TODO HS items.
See merge request tpo/core/arti!1282
|
| | | | |
| | | |
| | | |
| | | | |
We never actually need to allow these again; see #914
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This lets us keep the service-side hs-ntor handshake experiemental
for now.
|
| | | | | |
|
| | |/ /
| | |
| | |
| | |
| | | |
These are all related to issues that will come up for the service
side of the onion service implementation.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Generate correct-ish socks5 errors for onion service errors.
Closes #736
See merge request tpo/core/arti!1279
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This takes an approach discussed in #736: Instead of trying to
distinguish INTRO/REND failures perfectly, we instead map our
existing ErrorKinds as best we can, in respect to the fact that
this distinction is not super important in practice.
Closes #736
|
| | | | |
| | | |
| | | |
| | | | |
Use this to emit HS_BAD_ADDRESS as appropriate.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
These errors are orthogonal to our actual error kinds. See
discussion on #736.
|
| | | | |
| | | |
| | | |
| | | | |
Part of #736
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
tor-hsclient: Delete/rewrite out-of-date commentary
See merge request tpo/core/arti!1288
|
| | | |/ /
| |/| | |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
keymgr: Remove/downgrade TODOs
See merge request tpo/core/arti!1285
|