Jacek Sieka fc724b21e8
Tighten libp2p request quotas (#4254)
To further tighten Nimbus against spam, this PR introduces a global
quota for block requests (shared between peers) as well as a general
per-peer request limit that applies to all libp2p requests.

* apply request quota before decoding message
* for high-bandwidth requests (blocks), apply a shared global quota
which helps manage bandwidth for high-peer setups
* add metrics
2022-11-02 10:46:53 +00:00
..
2022-06-28 19:25:11 +03:00
2022-09-06 13:54:30 +00:00
2022-04-04 16:53:16 +00:00
2022-09-06 13:54:30 +00:00
2022-08-06 11:55:40 +00:00
2022-09-05 20:05:36 +02:00
2022-04-04 16:53:16 +00:00
2022-04-04 16:53:16 +00:00
2022-04-15 09:44:06 +02:00
2022-06-21 15:56:48 +02:00
2022-09-06 13:54:30 +00:00
2022-07-20 20:20:34 +02:00
2022-04-04 16:53:16 +00:00
2022-04-04 16:53:16 +00:00
2022-09-27 14:25:26 +02:00
2022-04-04 16:53:16 +00:00
2022-04-04 16:53:16 +00:00