Zebra/zebra-network/src/peer_set
Deirdre Connolly 47cf0f475f
Halborn 2023 02 20 (#6297)
* Limit version user agents to 256 bytes, rather than 2MB, needs failure tests

* Limit all inv messages to 50,000 entries, existing tests cover this

* Limit reject message strings based on network protocol, needs success and failure tests

* Catch up as fast as possible if inventory rotation is delayed, existing tests cover this

* Truncate inv channel hashes to 1000, needs success and failure tests

* Limit inv registry size to 4 MB, needs over-limit tests for inv and addr

* Test size constraints on version user agent, reject command, and reject reason (#13)

* Test inventory registry memory limits for hashes and peers (#14)

Co-authored-by: Deirdre Connolly <durumcrustulum@gmail.com>

---------

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Arya <aryasolhi@gmail.com>
2023-03-13 18:10:15 +00:00
..
candidate_set fix(clippy): Put Rust format variables inline (#5783) 2022-12-08 01:05:57 +00:00
initialize fix(test): Reduce verbose test logs (#5825) 2022-12-08 23:56:01 +00:00
inventory_registry Halborn 2023 02 20 (#6297) 2023-03-13 18:10:15 +00:00
set fix(rust): Make Zebra build with the latest nightly Rust (#5738) 2022-11-30 07:03:24 +00:00
unready_service build(deps): bump insta from 1.15.0 to 1.17.1 (#4884) 2022-08-04 15:44:44 +00:00
candidate_set.rs Add some missing tracing spans (#4660) 2022-06-23 07:46:02 +00:00
initialize.rs cleanup(clippy): Use inline format strings (#5489) 2022-10-27 13:25:18 +00:00
inventory_registry.rs Halborn 2023 02 20 (#6297) 2023-03-13 18:10:15 +00:00
limit.rs fix(doc): Fix various doc warnings, part 3 (#4611) 2022-06-15 03:57:19 +00:00
set.rs fix(clippy): Put Rust format variables inline (#5783) 2022-12-08 01:05:57 +00:00
unready_service.rs fix(test): Improve test reliability and performance (#4869) 2022-08-02 23:36:58 +00:00