aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* tor-ptmgr: add very basic support for unmanaged PTseta2023-09-191-0/+1
| | | | | | | | | | - `tor-ptmgr` has a new `add_unmanaged` function to insert an unmanaged PT into the `cmethods` table. - There are many ways to misuse this API and have it blow up in your face (for example, by overwriting an existing PT's cmethod, etc.) - It's unclear whether these are worth caring about. - The `TorClient` gains a new experimental `ptmgr()` function, and the `PtClientMethod` can now be constructed by user code.
* arti-client: add exit selection with GeoIP country codeseta2023-09-181-0/+4
| | | | | | | | | | | | | | | | | | | | This threads the country codes work through the rest of the codebase: - `tor-dirmgr` will now enable GeoIP with the embedded database when the `geoip` future is enabled - This can be extended later using the `DirMgrConfig` to allow specifying a custom database; this is not done here, though - `tor-circmgr`'s `SupportedCircUsage` and `TargetCircUsage` fields gain new `country_code` members to allow filtering circuits by country - These are `()` in builds where the `geoip` feature is not enabled -- doing it this way means we don't have to copy and paste huge swathes of code, since we can't use `#[cfg]` in patterns - `ExitPathBuilder` gains (hacked-in) support for choosing a relay with the correct country code - Due to the lack of conjuction, we just copy and paste a small bit, pending further refactoring - `StreamPrefs` now lets you specify a country code, letting embedders make use of the feature
* Merge branch 'desc-publisher-uploads' into 'main'Ian Jackson2023-09-141-1/+0
|\ | | | | | | | | tor-hsservice: Don't block the reactor on the descriptor uploads. See merge request tpo/core/arti!1580
| * tor-hsservice: Use mpsc channels instead of async-broadcast.Gabriela Moldovan2023-09-121-1/+0
| |
* | tor-rtmock: task: Add API for printing dumps including backtracesIan Jackson2023-09-131-0/+1
| |
* | tor-rtmock: task: Capture sleep backtraces, with code to dumpIan Jackson2023-09-131-0/+1
| | | | | | | | Currently nothing actually calls the dumping code.
* | Merge branch 'hss_config' into 'main'Nick Mathewson2023-09-071-0/+13
|\ \ | |/ |/| | | | | Begin working on configuration logic for onion services See merge request tpo/core/arti!1557
| * HSS: Parser/encoder for AuthorizedClientConfigNick Mathewson2023-09-071-0/+1
| |
| * hsrproxy: implement builders and serde.Nick Mathewson2023-09-071-0/+5
| |
| * hsrproxy: implement parse/encode for patterns and targets.Nick Mathewson2023-09-071-0/+3
| |
| * Create a tor-hsrproxy crate to handle "proxy to local port".Nick Mathewson2023-09-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | I'm calling this a "reverse proxy" since I think a lot of folks like that terminology, though I'm not personally a huge fan. Calling it "`tor-hsproxy`" would IMO confuse people more about what kind of proxy it was. This is a separate crate from `tor-hsservice` because it's logically at a different level: if you're writing a little embedded onion service, you don't need this code. Right now there is only configuration logic here.
* | Merge branch 'fixed-capacity-vec' into 'main'gabi-2502023-09-061-0/+7
|\ \ | | | | | | | | | | | | Switch to FixedCapacityVec from crates.io See merge request tpo/core/arti!1563
| * | Switch to FixedCapacityVec 0.1.0 from crates.ioIan Jackson2023-09-061-0/+7
| | |
* | | obfs4-checker: port from chrono to time.Nick Mathewson2023-09-051-29/+9
| | | | | | | | | | | | | | | Chrono is unmaintained, I think, and uses a version of `time` that cargo-audit doesn't like.
* | | Use a more recent tracing_subscriber in examples.Nick Mathewson2023-09-051-65/+15
| | | | | | | | | | | | Part of a solution for cargo-audit.
* | | update: Cargo.lockSaksham Mittal2023-09-051-22/+417
|/ /
* | Run "cargo update" in preparation for release.Nick Mathewson2023-09-051-312/+258
| | | | | | | | (Only bump openssl-sys to 0.9.92; I'm having an issue with 0.9.93.)
* | Update patchlevel for crates with nontrivial changes.Nick Mathewson2023-09-051-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are: ``` hashx equix tor-async-utils tor-error tor-config tor-rtmock tor-llcrypto tor-bytes tor-hscrypto tor-hspow tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-netdir tor-chanmgr tor-guardmgr tor-dirmgr tor-keymgr tor-hsclient tor-hsservice arti-client arti ```
* | Minor-version bumps for crates with breaking changes.Nick Mathewson2023-09-051-2/+2
| | | | | | | | | | | | | | | | | | These are: ``` tor-dirclient tor-ptmgr ```
* | Bump to trust-dns-proto 0.23.0Nick Mathewson2023-09-051-25/+8
| |
* | Upgrade to visibility 0.1.0Nick Mathewson2023-09-051-3/+3
|/
* tor-hsservice: Add partial descriptor publisher reactor implementation.Gabriela Moldovan2023-08-251-0/+6
| | | | | | | | This partially implements the descriptor publisher reactor. The code still has many TODOs and there are no tests. Partially implements #977
* hss: Retry rendezvous circuit attempts.Nick Mathewson2023-08-241-0/+1
| | | | Closes #1013.
* tor-keymgr: Bump ssh-key to 0.6.1 and remove unnecessary dependency.Gabriela Moldovan2023-08-241-3/+2
| | | | | | | Now that [ssh-key 0.6.1] is out, we no longer need the explicit sec1 dependency in tor-keymgr. [ssh-key 0.6.1]: https://github.com/RustCrypto/SSH/pull/155
* tor-keymgr, tor-hsservice: deser for ArtiPathComponent and HsNicknameIan Jackson2023-08-231-0/+2
|
* tor-hsservice: Provide a sensible HsNicknameIan Jackson2023-08-231-0/+1
|
* tor-hsservice: About half of an IPT ManagerIan Jackson2023-08-231-0/+1
| | | | There are many TODOs and no tests, but it does compile.
* tor-hsservice: Provide timeout tracking utilities - testsIan Jackson2023-08-231-0/+2
|
* tor-hsservice: Provide timeout tracking utilitiesIan Jackson2023-08-231-0/+2
| | | | | This module is perhaps rather more comprehensive than needed right now. But I found I kept wanting to change which bits of it I used.
* hss: change terminate oneshot to send "void".Nick Mathewson2023-08-221-0/+1
| | | | We don't actually want to distinguish drop from not-drop.
* HSS: Use correct timeouts and delays in IptEstablisherNick Mathewson2023-08-221-0/+1
|
* HSS: Refactor RendRequest so we can return a stream of it.Nick Mathewson2023-08-221-0/+2
| | | | | | | We need a type that holds a rend_handshake::IntroRequest object internally, but where we don't materialize that object from the Introduce2 message inside the MsgHandler, since that's more crypto than we want to put in that task.
* hss: Establish intro point by RelayIds.Nick Mathewson2023-08-221-0/+1
|
* Merge branch 'webpki-update' into 'main'Ian Jackson2023-08-221-2/+2
|\ | | | | | | | | Resolve (mostly) RUSTSEC-2023-0052 See merge request tpo/core/arti!1534
| * Upgrade to rustls-webpki unaffected by RUSTSEC-2023-0053Nick Mathewson2023-08-221-2/+2
| |
* | Merge branch 'upgrade_num_enum' into 'main'Ian Jackson2023-08-221-4/+4
|\ \ | |/ |/| | | | | Upgrade num_enum dependency to 0.7 See merge request tpo/core/arti!1530
| * Upgrade num_enum dependency to 0.7Nick Mathewson2023-08-211-4/+4
| |
* | upgrade serde to >=1.0.184trinity-1686a2023-08-211-4/+4
|/ | | | to remove the use of a pre-built blob
* Merge branch 'hss-err' into 'main'gabi-2502023-08-181-0/+1
|\ | | | | | | | | tor-hsservice errors: Introduce more error types See merge request tpo/core/arti!1515
| * tor-hsservice errors: Return ReconfigureError from reconfigureIan Jackson2023-08-171-0/+1
| | | | | | | | This is what we do elsewhere.
* | tor-hsservice: Define drop behaviour of IPT establisher statusIan Jackson2023-08-171-0/+1
| |
* | hsservice: new rend_handshake moduleNick Mathewson2023-08-171-0/+2
|/ | | | | | | | | This code has most of what we need to go from an INTRODUCE2 message we've just received to the point where we've connected to the rendezvous point and we're waiting for a stream of BEGIN messages. Unfinished pieces are marked with TODO HSS. Most of #980.
* Merge branch 'more_introducing' into 'main'Nick Mathewson2023-08-161-0/+2
|\ | | | | | | | | Write more of IptEstablisher. See merge request tpo/core/arti!1510
| * Wire up more of IptEstablisher.Nick Mathewson2023-08-161-0/+1
| | | | | | | | | | It now supports running in a loop, trying to establish an introduction point, and reporting status.
| * hsservice: migrate IptStatus design to assume a postage::watchNick Mathewson2023-08-151-0/+1
| |
* | tor-keymgr: Add sec1 0.7.3 dependency.Gabriela Moldovan2023-08-161-0/+1
| |
* | keymgr: Bump ssh-key to 0.6.0.Gabriela Moldovan2023-08-161-120/+68
|/ | | | This brings in the changes from #936.
* Start working on the backend for an IptEstablisher.Nick Mathewson2023-08-141-0/+2
| | | | | | | | This should be enough now to establish real introduction points, though there is still a lot of work to do. Part of #976. This has been rebased and edited to incorporate discussions from !1465.
* hscrypto: Expose hs_mac as a SimpleMac.Nick Mathewson2023-08-141-0/+1
|
* tor-config: Add ConfigurationSources::try_from_cmdlineIan Jackson2023-08-071-0/+1
| | | | We'll use this in crates/arti in a moment.