Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions docs/changelogs/v0.43.md
Original file line number Diff line number Diff line change
Expand Up @@ -656,3 +656,58 @@ For writers that need `Data`-first output (streaming readers can then parse HAMT
| [@karawitan](https://github.com/karawitan) | 2 | +150/-7 | 7 |
| [@galargh](https://github.com/galargh) | 1 | +5/-1 | 1 |
| [@weifanglab](https://github.com/weifanglab) | 1 | +2/-2 | 1 |

## v0.43.2

This is a bugfix release.

### 🚒 Nodes no longer stop accepting inbound connections

**Problem:** A node that accepts inbound connections could stop taking new peers after it had run for a while.

**Reason:** If an inbound connection closed after its security handshake but before libp2p passed it to the node, the [resource manager](https://github.com/ipfs/kubo/blob/master/docs/libp2p-resource-management.md) kept the connection and file descriptor reservations for it. No socket stayed open, but these reservations added up until they filled `System.ConnsInbound`. From then on the node refused every new inbound connection, even when only a few connections were live. AutoNAT also started to report the node's addresses as unreachable, because the dial-backs were refused too. On busy public nodes this leaked thousands of reservations per day, and the default limit filled within hours to days. A restart cleared the reservations, but they built up again.

**Fix:** [go-libp2p v0.52.0](https://github.com/libp2p/go-libp2p/releases/tag/v0.52.0) fixes the leak ([libp2p/go-libp2p#3564](https://github.com/libp2p/go-libp2p/issues/3564)).

If you raised `System.ConnsInbound` in `libp2p-resource-limit-overrides.json` or scheduled restarts to work around this, you can remove those changes after you upgrade.

#### 📦️ Dependency updates

- update `go-libp2p` to [0.52.0](https://github.com/libp2p/go-libp2p/releases/tag/0.52.0)

### 📝 Changelog

<details><summary>Full Changelog</summary>

- github.com/ipfs/kubo:
- test(migrations): wait for migration before temp file check
- test(mfs): use random content in timeout test
- fix: v0.43.2 changelog highlights
- Merge branch 'release' into release-v0.43.2
- chore: update v0.43.2 changelog and contributors
- chore: bump version to v0.43.2
- github.com/libp2p/go-libp2p (v0.49.0 -> v0.52.0):
- Release v0.52.0 ([libp2p/go-libp2p#3579](https://github.com/libp2p/go-libp2p/pull/3579))
- fix(upgrader): release scope of conns closed before Accept ([libp2p/go-libp2p#3568](https://github.com/libp2p/go-libp2p/pull/3568))
- Release v0.51.0
- chore: fix missing links error
- Release v0.50.0
- fix(http/auth): reject oversized opaque (#3540) ([libp2p/go-libp2p#3540](https://github.com/libp2p/go-libp2p/pull/3540))
- chore: upgrade quic-go to v0.62.0 and webtransport-go to v0.13.0 (#3541) ([libp2p/go-libp2p#3541](https://github.com/libp2p/go-libp2p/pull/3541))
- refactor: require go1.26 and apply go modernizers (#3536) ([libp2p/go-libp2p#3536](https://github.com/libp2p/go-libp2p/pull/3536))
- fix(holepunch): initialize timeout before registering notifiee (#3529) ([libp2p/go-libp2p#3529](https://github.com/libp2p/go-libp2p/pull/3529))
- test(basichost): add a stress test for reachability logic (#3533) ([libp2p/go-libp2p#3533](https://github.com/libp2p/go-libp2p/pull/3533))

</details>

### 👨‍👩‍👧‍👦 Contributors

| Contributor | Commits | Lines ± | Files Changed |
|-------------|---------|---------|---------------|
| [@gammazero](https://github.com/gammazero) | 2 | +208/-308 | 54 |
| [@dennis-tra](https://github.com/dennis-tra) | 6 | +182/-111 | 6 |
| [@yashksaini-coder](https://github.com/yashksaini-coder) | 2 | +227/-46 | 6 |
| [@sukunrt](https://github.com/sukunrt) | 5 | +253/-13 | 9 |
| [@MarcoPolo](https://github.com/MarcoPolo) | 1 | +73/-0 | 3 |
| [@Tristan-Wilson](https://github.com/Tristan-Wilson) | 1 | +9/-9 | 2 |
| [@bismuth01](https://github.com/bismuth01) | 1 | +3/-6 | 1 |
Loading