Zebra/zebra-network/src
teor 499ae89c80
T2. Add isolated Tor connection API, but don't enable it by default (#3303)
* Add arti as a zebra-network dependency

* Add a method for isolated anonymised Tor connections to a specific hostname

* Add tests for isolated tor connections

* Use a shared tor client instance for all isolated connections

* Silence a spurious tor warning in tests

* Make tor support optional, activate it via a new "tor" feature

* Extra Cargo.lock changes

* fastmod AsyncReadWrite PeerTransport zebra*

* Remove unnecessary PeerTransport generics

* Refactor common test code into a function

* Don't drop the stream until the end of the test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-25 01:46:31 +00:00
..
address_book Security: Limit address book size to limit memory usage (#3162) 2021-12-06 16:09:10 -03:00
config Use the default port for configured listen addresses with no port (#2043) 2021-04-21 23:14:29 +00:00
isolated T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
meta_addr Stop ignoring some peers when updating the address book (#3292) 2022-01-05 18:12:59 -05:00
peer T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
peer_set T1. Fix isolated connection bugs, improve tests, upgrade dependencies (#3302) 2022-01-14 19:34:59 +00:00
protocol Ignore unexpected block responses to fix error cascade when synchronizing blocks (#3374) 2022-01-20 08:14:16 +00:00
address_book.rs 1. Fix some address crawler timing issues (#3293) 2022-01-04 18:43:30 -05:00
address_book_updater.rs 1. Fix some address crawler timing issues (#3293) 2022-01-04 18:43:30 -05:00
config.rs T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
constants.rs 1. Fix some address crawler timing issues (#3293) 2022-01-04 18:43:30 -05:00
isolated.rs T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
lib.rs T2. Add isolated Tor connection API, but don't enable it by default (#3303) 2022-01-25 01:46:31 +00:00
meta_addr.rs Stop ignoring some peers when updating the address book (#3292) 2022-01-05 18:12:59 -05:00
peer.rs Test for message broadcast to the right number of peers (#3284) 2021-12-31 00:26:50 +00:00
peer_set.rs Track the number of active inbound and outbound peer connections (#2912) 2021-10-21 21:36:42 +00:00
policies.rs Fix syncer download order and add sync tests (#3168) 2022-01-11 14:11:35 -03:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00