Zebra/zebra-network
teor 3be22b2cda
security: Limit how many addresses we use from each peer address message (#7952)
* Reformat a method to make related code clearer

* Limit how many addresses we take from each peer response

* Only put extra addresses back in the cache if there are actually any extras

* Refactor address caching into a single method

* Use the same method for updating the peer cache and taking peers from it

* Choose response peers at random, and partially randomly drop excess peers

* Update docs for this fix

* Fix an index bug and clarify a comment

* Add a proptest for cache updates
2023-11-19 21:43:09 +00:00
..
proptest-regressions Parse `MSG_WTX` inventory type (part of ZIP-239) (#2446) 2021-07-07 11:06:11 +10:00
src security: Limit how many addresses we use from each peer address message (#7952) 2023-11-19 21:43:09 +00:00
tests fix(log): Stop logging peer IP addresses, to protect user privacy (#6662) 2023-05-14 15:06:07 +00:00
Cargo.toml build(deps): bump the prod group with 7 updates (#7938) 2023-11-15 01:03:57 +00:00
LICENSE change(crates): Prepare for publishing crates to crates.io (#6908) 2023-06-13 08:46:01 +00:00