Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/libp2p/go-libp2p from 0.26.3 to 0.27.8 #109

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2023

Bumps github.com/libp2p/go-libp2p from 0.26.3 to 0.27.8.

Release notes

Sourced from github.com/libp2p/go-libp2p's releases.

v0.27.8

This patch release contains backports of:

  • updating the qtls dependencies (qtls is quic-go's fork of crypto/tls). The new versions now contain a backport of the Go standard library fix included in the Go 1.20.7 / 1.19.12 release for quic-go's crypto/tls fork: golang/go@2350afd
  • core/crypto: restrict RSA keys to <= 8192 bits: libp2p/go-libp2p#2454. The analogous vulnerability in go-libp2p's crypto package.
  • swarm: don't open new streams over transient connections: libp2p/go-libp2p#2450. This fixes a regression introduced in v0.26.0.

Note that in order to be protected against the DoS attack making use of large RSA keys, it's necessary to update to this patch release AND to use the updated Go compiler (1.20.7 or 1.19.12, respectively).

Full Changelog: libp2p/go-libp2p@v0.27.7...v0.27.8

v0.27.7

What's Changed

  • fix: in the swarm move Connectedness emit after releasing conns #2373
  • identify: set stream deadlines for Identify and Identify Push streams #2382

Full Changelog: libp2p/go-libp2p@v0.27.6...v0.27.7

v0.27.6

What's Changed

  • Clean up stream scope in case of error

Full Changelog: libp2p/go-libp2p@v0.27.5...v0.27.6

v0.27.5

What's Changed

Full Changelog: libp2p/go-libp2p@v0.27.3...v0.27.5

v0.27.4

What's Changed

  • identify
    • Fixed an issue where we now avoid spuriously triggering pushes
    • Fixed an issue where signed peer records weren’t rejected if the signature didn’t match
  • swarm
    • Fixed duplicate tracking in dial worker loop

v0.27.3

This patch release contains a fix for a rare panic that occurs on Windows systems (backport of libp2p/go-libp2p#2276).

Full Changelog: libp2p/go-libp2p@v0.27.1...v0.27.3

v0.27.2

What's Changed

quic: fix race condition when generating random holepunch packet (libp2p/go-libp2p#2263) webtransport: initialize the certmanager when creating the transport (libp2p/go-libp2p#2268)

... (truncated)

Changelog

Sourced from github.com/libp2p/go-libp2p's changelog.

Table Of Contents

v0.28.0

🔦 Highlights

Smart Dialing

This release introduces smart dialing logic. Currently, libp2p dials all addresses of a remote peer in parallel, and aborts all outstanding dials as soon as the first one succeeds. Dialing many addresses in parallel creates a lot of churn on the client side, and unnecessary load on the network and on the server side, and is heavily discouraged by the networking community (see RFC 8305 for example).

When connecting to a peer we first determine the order to dial its addresses. This ranking logic considers a number of corner cases described in detail in the documentation of the swarm package (swarm.DefaultDialRanker). At a high level, this is what happens:

  • If a peer offers a WebTransport and a QUIC address (on the same IP:port), the QUIC address is preferred.
  • If a peer has a QUIC and a TCP address, the QUIC address is dialed first. Only if the connection attempt doesn't succeed within 250ms, a TCP connection is started.

Our measurements on the IPFS network show that for >90% of established libp2p connections, the first connection attempt succeeds, leading a dramatic decrease in the number of aborted connection attempts.

We also added new metrics to the swarm Grafana dashboard, showing:

  • The number of connection attempts it took to establish a connection
  • The delay introduced by the ranking logic

This feature should be safe to enable for nodes running in data centers and for most nodes in home networks. However, there are some (mostly home and corporate networks) that block all UDP traffic. If enabled, the current implementation of the smart dialing logic will lead to a regression, since it preferes QUIC addresses over TCP addresses. Nodes would still be able to connect, but connection establishment of the TCP connection would be delayed by 250ms.

In a future release (see #1605 for details), we will introduce a feature called blackhole detection. By observing the outcome of QUIC connection attempts, we can determine if UDP traffic is blocked (namely, if all QUIC connection attempts fail), and stop dialing QUIC in this case altogether. Once this detection logic is in place, smart dialing will be enabled by default.

More Metrics!

Since the last release, we've added metrics for:

WebTransport

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.26.3 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](libp2p/go-libp2p@v0.26.3...v0.27.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 18, 2023
@fschoell fschoell merged commit be58954 into develop Dec 18, 2023
1 check passed
@fschoell fschoell deleted the dependabot/go_modules/github.com/libp2p/go-libp2p-0.27.8 branch December 18, 2023 12:43
keisuke-kanao pushed a commit to ultraio/firehose-antelope that referenced this pull request Feb 1, 2024
* fix decoding panic by double checking variant type bounds (pinax-network#97)

* fix decoding panic by double checking variant type bounds

* remove eos-go replacement

* update firehose-core to v0.2.1 (pinax-network#99)

* bump firehose-core to v0.2.1

* implement new firecore.Block methods

* cleanup

* add test

* bump firehose-core to v0.2.2 (pinax-network#100)

* add buf yaml (pinax-network#101)

* bump firehose-core to v0.2.3 (pinax-network#102)

* bump firehose-core to v0.2.4 (pinax-network#104)

* remove unused proto dependency on generate (pinax-network#106)

* upgrade to firehose-core v1.0.0 (pinax-network#107)

* start work upgrading to firehose-core v1

* fix testing types

* remove tools

* fix test build

* cleanup

* cleanup

* cleanup

* add Silkworm poller for Antelope EVM (pinax-network#108)

* add Silkworm poller for Antelope EVM

* remove config.yaml

* Bump github.com/libp2p/go-libp2p from 0.26.3 to 0.27.8 (pinax-network#109)

Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.26.3 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](libp2p/go-libp2p@v0.26.3...v0.27.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add workaround for missing finalized query on eos evm (pinax-network#110)

* enable multitests for the consolereader (pinax-network#111)

* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (pinax-network#112)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](golang/crypto@v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add check-blocks tool to check merged blocks for decoding issues (pinax-network#114)

* fix check-blocks starting at block 0 (pinax-network#115)

* fix check-blocks starting at block 0

* remove log

* add block sanitize function for comparisons (pinax-network#116)

* add leap 5.0 test data (pinax-network#117)

* bump firehose-core to v1.1.0 (pinax-network#118)

* update go mod

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Frederik Schöll <[email protected]>
Co-authored-by: Yaro Shkvorets <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Duncan-Ultra pushed a commit to ultraio/firehose-antelope that referenced this pull request Apr 10, 2024
* fix decoding panic by double checking variant type bounds (pinax-network#97)

* fix decoding panic by double checking variant type bounds

* remove eos-go replacement

* update firehose-core to v0.2.1 (pinax-network#99)

* bump firehose-core to v0.2.1

* implement new firecore.Block methods

* cleanup

* add test

* bump firehose-core to v0.2.2 (pinax-network#100)

* add buf yaml (pinax-network#101)

* bump firehose-core to v0.2.3 (pinax-network#102)

* bump firehose-core to v0.2.4 (pinax-network#104)

* remove unused proto dependency on generate (pinax-network#106)

* upgrade to firehose-core v1.0.0 (pinax-network#107)

* start work upgrading to firehose-core v1

* fix testing types

* remove tools

* fix test build

* cleanup

* cleanup

* cleanup

* add Silkworm poller for Antelope EVM (pinax-network#108)

* add Silkworm poller for Antelope EVM

* remove config.yaml

* Bump github.com/libp2p/go-libp2p from 0.26.3 to 0.27.8 (pinax-network#109)

Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.26.3 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](libp2p/go-libp2p@v0.26.3...v0.27.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add workaround for missing finalized query on eos evm (pinax-network#110)

* enable multitests for the consolereader (pinax-network#111)

* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (pinax-network#112)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](golang/crypto@v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add check-blocks tool to check merged blocks for decoding issues (pinax-network#114)

* fix check-blocks starting at block 0 (pinax-network#115)

* fix check-blocks starting at block 0

* remove log

* add block sanitize function for comparisons (pinax-network#116)

* add leap 5.0 test data (pinax-network#117)

* bump firehose-core to v1.1.0 (pinax-network#118)

* bump firehose-core to v1.1.1 (pinax-network#119)

* use a constant timestamp for sanitizing blocks (pinax-network#120)

* add missing sanitation for failed deferred transaction traces (pinax-network#121)

* improve the block sanitation

* remove accidentally removed sanitize

* bump firehose-core to v1.2.1 (pinax-network#122)

* bump firehose-core to v1.2.1

* fix sanitizeBlockForCompare, remove block poller

* run go mod tidy

* update Readme (pinax-network#123)

* update Readme

* fix typo

* add support and subgraph sections

* fix typos (pinax-network#124)

* bump firehose-core to v1.2.2 (pinax-network#125)

* bump firehose-core to v1.2.3 (pinax-network#126)

* bump firehose-core to v1.2.4 (pinax-network#127)

* bump firehose-core to v1.2.5 (pinax-network#128)

* Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (pinax-network#129)

Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bump firehose-core to v1.3.1 (pinax-network#130)

* bump firehose-core to v1.3.2 (pinax-network#131)

* bump firehose-core to v1.3.3 (pinax-network#132)

* bump firehose-core to v1.3.3

* run go mod tidy

* [BLOCK-2260] Remove obsolete files

* [BLOCK-2260] Remove another obsolete files

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Frederik Schöll <[email protected]>
Co-authored-by: Yaro Shkvorets <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
keisuke-kanao pushed a commit to ultraio/firehose-antelope that referenced this pull request May 23, 2024
* fix decoding panic by double checking variant type bounds (pinax-network#97)

* fix decoding panic by double checking variant type bounds

* remove eos-go replacement

* update firehose-core to v0.2.1 (pinax-network#99)

* bump firehose-core to v0.2.1

* implement new firecore.Block methods

* cleanup

* add test

* bump firehose-core to v0.2.2 (pinax-network#100)

* add buf yaml (pinax-network#101)

* bump firehose-core to v0.2.3 (pinax-network#102)

* bump firehose-core to v0.2.4 (pinax-network#104)

* remove unused proto dependency on generate (pinax-network#106)

* upgrade to firehose-core v1.0.0 (pinax-network#107)

* start work upgrading to firehose-core v1

* fix testing types

* remove tools

* fix test build

* cleanup

* cleanup

* cleanup

* add Silkworm poller for Antelope EVM (pinax-network#108)

* add Silkworm poller for Antelope EVM

* remove config.yaml

* Bump github.com/libp2p/go-libp2p from 0.26.3 to 0.27.8 (pinax-network#109)

Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.26.3 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](libp2p/go-libp2p@v0.26.3...v0.27.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add workaround for missing finalized query on eos evm (pinax-network#110)

* enable multitests for the consolereader (pinax-network#111)

* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (pinax-network#112)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](golang/crypto@v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add check-blocks tool to check merged blocks for decoding issues (pinax-network#114)

* fix check-blocks starting at block 0 (pinax-network#115)

* fix check-blocks starting at block 0

* remove log

* add block sanitize function for comparisons (pinax-network#116)

* add leap 5.0 test data (pinax-network#117)

* bump firehose-core to v1.1.0 (pinax-network#118)

* bump firehose-core to v1.1.1 (pinax-network#119)

* use a constant timestamp for sanitizing blocks (pinax-network#120)

* add missing sanitation for failed deferred transaction traces (pinax-network#121)

* improve the block sanitation

* remove accidentally removed sanitize

* bump firehose-core to v1.2.1 (pinax-network#122)

* bump firehose-core to v1.2.1

* fix sanitizeBlockForCompare, remove block poller

* run go mod tidy

* update Readme (pinax-network#123)

* update Readme

* fix typo

* add support and subgraph sections

* fix typos (pinax-network#124)

* bump firehose-core to v1.2.2 (pinax-network#125)

* bump firehose-core to v1.2.3 (pinax-network#126)

* bump firehose-core to v1.2.4 (pinax-network#127)

* bump firehose-core to v1.2.5 (pinax-network#128)

* Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (pinax-network#129)

Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bump firehose-core to v1.3.1 (pinax-network#130)

* bump firehose-core to v1.3.2 (pinax-network#131)

* bump firehose-core to v1.3.3 (pinax-network#132)

* bump firehose-core to v1.3.3

* run go mod tidy

* bump firehose-core to v1.3.4, set DefaultBlockType (pinax-network#133)

* bump firehose-core to v1.3.4

* set DefaultBlockType

* bump firehose-core to v1.3.5 (pinax-network#134)

* bump firehose-core to v1.3.6 (pinax-network#135)

* bump firehose-core to v1.3.7 (pinax-network#136)

* bump firehose-core to v1.3.9 (pinax-network#137)

* bump firehose-core to v1.4.1 (pinax-network#138)

* bump firehose-core to v1.4.2 (pinax-network#139)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (pinax-network#140)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](golang/net@v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add release CI

* revert readme

* small fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Frederik Schöll <[email protected]>
Co-authored-by: Yaro Shkvorets <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant