From 9ddfbcf7fe460a4f9bb7eb749fef77b50a06b487 Mon Sep 17 00:00:00 2001 From: Steve Loeppky Date: Mon, 12 Dec 2022 17:58:15 -0800 Subject: [PATCH] Add resource manager to changelog --- docs/changelogs/v0.18.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/changelogs/v0.18.md b/docs/changelogs/v0.18.md index 8add4b71f..42da3b934 100644 --- a/docs/changelogs/v0.18.md +++ b/docs/changelogs/v0.18.md @@ -146,10 +146,18 @@ and the upstream DHT specifications at [libp2p/specs#451](https://github.com/lib Learn more: [`Reprovider` config](https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#reprovider) -#### Lowered `ConnMgr` - - - +#### Improving libp2p resource management integration +To help protect nodes from DoS (resource exhaustion) and eclipse attacks, +Kubo enabled the [go-libp2p Network Resource Manager](https://github.com/libp2p/go-libp2p/tree/master/p2p/host/resource-manager) +by default in [Kubo 0.17](https://github.com/ipfs/kubo/blob/master/docs/changelogs/v0.17.md#libp2p-resource-management-enabled-by-default). + +Introducing limits like this by default after the fact is tricky, +and various improvements have been made to improve the UX including: +1. [Dedicated docs concerning the resource manager integration](https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md). This is a great place to go to learn more or get your FAQs answered. +2. Increasing the default limits for the resource manager. +3. Enabling the [`Swarm.ConnMgr`](https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmconnmgr) by default and reducing it thresholds so it can intelligently prune connections in many cases before the indiscriminate resource manager kicks in. +4. Adjusted log messages and levels to make clear that the resource manager is likely doing your node a favor by bounding resources. +5. [Other miscellaneous config and command bugs reported by users](https://github.com/ipfs/kubo/issues/9442). ### Changelog