fix(deps): update module github.com/libp2p/go-libp2p to v0.46.0#76
Merged
fix(deps): update module github.com/libp2p/go-libp2p to v0.46.0#76
Conversation
Contributor
Author
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
83cb5b0 to
07f0263
Compare
07f0263 to
e92254a
Compare
e92254a to
fc35c7e
Compare
fc35c7e to
dcefe8a
Compare
054e547 to
d4b0a32
Compare
d4b0a32 to
1523c45
Compare
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.41.1->v0.46.0Release Notes
libp2p/go-libp2p (github.com/libp2p/go-libp2p)
v0.46.0Compare Source
What's Changed
Full Changelog: libp2p/go-libp2p@v0.45.0...v0.46.0
v0.45.0Compare Source
A small release that adjust some noisy logging levels and adds a method for dynamically change the slog Handler for better integration with applications that use go-log.
What's Changed
Full Changelog: libp2p/go-libp2p@v0.44.0...v0.45.0
v0.44.0Compare Source
Highlights
Address Pipeline:
github.com/libp2p/go-libp2p/p2p/host/obsaddrsDisableObservedAddrManagerOption. The top level libp2p optionDisableIdentifyAddressDiscoveryworks as it used to.What's Changed
New Contributors
Full Changelog: libp2p/go-libp2p@v0.43.0...v0.44.0
v0.43.0Compare Source
Highlights
This is a small release to allow users to upgrade to the latest quic-go version as the quic-go API was changed heavily in quic-go v0.53
What's Changed
Full Changelog: libp2p/go-libp2p@v0.42.0...v0.43.0
v0.42.1Compare Source
What's Changed
stream.goby @Prabhat1308 in #3237modernc.org/sqlitedirectly by @levisyin in #3227purgeStore()by @vipocenka in #3273New Contributors
Full Changelog: libp2p/go-libp2p@v0.41.0...v0.42.1
v0.42.0Compare Source
⚠ Breaking Changes
Added a new method,
VerifySourceAddress(net.Addr) bool, to the Resource Manager interface.For more details see the Source Address Verification section.
For custom implementation which want to opt out of Source Address Verification and keep the existing behavior, return
falsefrom the method.🔦 Highlights
Per Address Reachability via AutoNAT v2
libp2p hosts can now determine reachability for individual addresses using AutoNATV2. To opt in to reachability checking use the
EnableAutoNATV2libp2p option. Using this nodes can now determine their IPv4, IPv6, and browser address reachability separately. In a future release, AutoRelay will use this information and make appropriate relay reservations accordingly. https://pkg.go.dev/github.com/libp2p/go-libp2p#EnableAutoNATv2To query addresses by their reachability,
ConfirmedAddrs() (reachable, unreachable, unknown []ma.Multiaddr)that provides Reachability information per host address. https://pkg.go.dev/github.com/libp2p/go-libp2p/p2p/host/basic#BasicHost.ConfirmedAddrsFor notifications, Subscribe to the event
event.EvtHostReachableAddrsChangedhttps://pkg.go.dev/github.com/libp2p/go-libp2p/core/event#EvtHostReachableAddrsChangedRate Limiting
We've introduced the package
github.com/libp2p/go-libp2p/x/ratefor rate limiting. The structrate.Limiterprovides Global, Network Specific, and Subnet Specific rate limiting. The Subnet specific rate limits allows for better DoS Protection by rate limiting malicious IPs. https://pkg.go.dev/github.com/libp2p/go-libp2p/x/rateUse
Limit(f func(s network.Stream)) func(s network.Stream)onLimiterto limit specific stream handlers. For example, within libp2p, the Identify Service uses this asids.Host.SetStreamHandler(IDPush, ids.rateLimiter.Limit(ids.handlePush))to rate limit the number of times peers can perform identify push.For non Stream use cases use the
Allow(ip)method on the limiter.Connection Rate Limiting
New connection requests are now rate limited per IP. By default we allow 1 connection every 5 seconds from an IP address with a burst of 16 connections per IP. The burst is high enough that this should only block malicious peers.
To configure the connection rate limits, use the
WithConnRateLimitersoption on the Resource Manager. https://pkg.go.dev/github.com/libp2p/go-libp2p/p2p/host/resource-manager#WithConnRateLimitersSource Address Verification for QUIC
This release introduces Source Address Verification for QUIC, preventing DoS attacks by spoofing IP addresses. See: https://www.rfc-editor.org/rfc/rfc9000.html#section-8 for details.
We are now gating incoming QUIC connections before the handshake is started. This further improves DoS protection by not wasting CPU on handshaking QUIC connections which would have been dropped by the Resource Manager.
Other changes
What's Changed
stream.goby @Prabhat1308 in #3237modernc.org/sqlitedirectly by @levisyin in #3227purgeStore()by @vipocenka in #3273New Contributors
Full Changelog: libp2p/go-libp2p@v0.41.0...v0.42.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.