Repository navigation
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 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 fixes the leak (libp2p/go-libp2p#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-libp2pto 0.52.0
📝 Changelog
Full Changelog
- 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)
- fix(upgrader): release scope of conns closed before Accept (libp2p/go-libp2p#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)
- chore: upgrade quic-go to v0.62.0 and webtransport-go to v0.13.0 (#3541) (libp2p/go-libp2p#3541)
- refactor: require go1.26 and apply go modernizers (#3536) (libp2p/go-libp2p#3536)
- fix(holepunch): initialize timeout before registering notifiee (#3529) (libp2p/go-libp2p#3529)
- test(basichost): add a stress test for reachability logic (#3533) (libp2p/go-libp2p#3533)
See v0.43.0 and v0.43.1 for full list of changes since v0.42.x.
👨👩👧👦 Contributors
| Contributor | Commits | Lines ± | Files Changed |
|---|---|---|---|
| @gammazero | 2 | +208/-308 | 54 |
| @dennis-tra | 6 | +182/-111 | 6 |
| @yashksaini-coder | 2 | +227/-46 | 6 |
| @sukunrt | 5 | +253/-13 | 9 |
| @MarcoPolo | 1 | +73/-0 | 3 |
| @Tristan-Wilson | 1 | +9/-9 | 2 |
| @bismuth01 | 1 | +3/-6 | 1 |