@cryptotaxi247 / kubo / commits / 9ddfbcf7f

Add resource manager to changelog

Steve Loeppky committed Dec 12, 2022 at 17:58 UTC 9ddfbcf7fe460a4f9bb7eb749fef77b50a06b487
1 file changed +12 -4
docs/changelogs/v0.18.md
+12 -4
@@ -146,10 +146,18 @@ and the upstream DHT specifications at [libp2p/specs#451](https://github.com/lib
146
147 Learn more: [`Reprovider` config](https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#reprovider)
148
149 -#### Lowered `ConnMgr`
150 -
151 -<!-- TODO: https://github.com/ipfs/kubo/pull/9483 -->
152 -
149 +#### Improving libp2p resource management integration
150 +To help protect nodes from DoS (resource exhaustion) and eclipse attacks,
151 +Kubo enabled the [go-libp2p Network Resource Manager](https://github.com/libp2p/go-libp2p/tree/master/p2p/host/resource-manager)
152 +by default in [Kubo 0.17](https://github.com/ipfs/kubo/blob/master/docs/changelogs/v0.17.md#libp2p-resource-management-enabled-by-default).
153 +
154 +Introducing limits like this by default after the fact is tricky,
155 +and various improvements have been made to improve the UX including:
156 +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.
157 +2. Increasing the default limits for the resource manager.
158 +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.
159 +4. Adjusted log messages and levels to make clear that the resource manager is likely doing your node a favor by bounding resources.
160 +5. [Other miscellaneous config and command bugs reported by users](https://github.com/ipfs/kubo/issues/9442).
161
162 ### Changelog
163