Marco Munizaga
9bd8502955
transport tests: refactor workers in TestMoreStreamsThanOurLimits ( #2472 )
* Linearly increase number of concurrent workers
* Wait a bit in the TestMoreStreamThanOurLimits handler
* Use lower limits for the listener
1 year ago
Jorropo
e935729921
use standard library sha256 implementation for Go 1.21 ( #2309 )
See rational and benchmarks in multiformats/go-multihash#173.
Fixes : #2308
1 year ago
Marten Seemann
d2398ee4f2
quic: update quic-go to v0.37.5 ( #2497 )
* Small changes for new quic-go API
* Update quic-go dependency
* Manually bump Go version in go-test
* Don't run examples in Go 1.21 yet
Revert this commit when we release a new go-libp2p version compatible
with Go 1.21
* update quic-go to v0.37.5
---------
Co-authored-by: Marco Munizaga <git@marcopolo.io>
1 year ago
Jorropo
2398ba4fac
cleanup: add continue in case of failure in the (*BasicHost).Addrs certhash loop ( #2492 )
This does not do change anything because the transport always returns the same multiaddr you passed in in case of failure, it just looks wrong and relies on a obscure detail of the webtransport's AddCertHashes function, while this does not.
1 year ago
Jorropo
676a35f59b
tests: add a CertHashes testcase in TestInferWebtransportAddrsFromQuic ( #2495 )
Also do not sort the test cases twice.
1 year ago
Jorropo
d46e631f8b
basichost: use byte representation of WebTransport multiaddr as map key ( #2494 )
1 year ago
Jorropo
457f84aa7c
webtransport: check for UDP multiaddr component in address matcher ( #2491 )
1 year ago
Sukun
4090dcc156
swarm: remove unnecessary reqno for pending request tracking ( #2460 )
* swarm: remove unnecessary reqno for pending request tracking
* use struct{} instead of bool for addrs map
* use struct{} for pendingRequests map
1 year ago
Marco Munizaga
9edef5a939
quic: drop support for QUIC draft-29 ( #2487 )
1 year ago
Sukun
c97fce88bf
metrics: add links to public dashboards ( #2486 )
* metrics: add links to public dashboards
* add dashboards to top readme
---------
Co-authored-by: Prithvi Shahi <shahi.prithvi@gmail.com>
1 year ago
Marten Seemann
3f2f357229
swarm: remove leftover TODO ( #2474 )
1 year ago
Marten Seemann
061bd46281
peerstore: deprecate the database-backed peerstore ( #2475 )
1 year ago
Marten Seemann
e083078736
identify: fix sorting of observed addresses ( #2476 )
1 year ago
Marten Seemann
646af4997a
update go-multiaddr to v0.11.0 ( #2467 )
1 year ago
Marten Seemann
ae3fc86650
chore: update golang-lru to v2.0.4, fixing semver violation ( #2448 )
1 year ago
web3-bot
dcc221ef68
chore: delete templates [skip ci] ( #2470 )
1 year ago
Sukun
116ced6838
swarm: don't open new streams over transient connections ( #2450 )
1 year ago
Marten Seemann
50e2c2879e
update quic-go to v0.36.3, fixing RSA key size vulnerability ( #2455 )
1 year ago
Marco Munizaga
9e01af883f
core/crypto: restrict RSA keys to <= 8192 bits ( #2454 )
* Error if RSA key is too big
* Update core/crypto/rsa_common.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* Update core/crypto/rsa_common.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
* Fix rename
* Make this var again so the tests work
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
1 year ago
Prithvi Shahi
b9e6eaecfc
chore: add notable project requirement ( #2453 )
1 year ago
Marco Munizaga
f6fb4f555b
examples: update go-libp2p to v0.29.0 ( #2432 )
* Update examples to v0.29.0
* fix deprecated import
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
1 year ago
downIoads
4c897e0769
examples: fix description of command line flags for pubsub ( #2400 )
1 year ago
Sukun
260b9695ca
basichost: remove invalid comment ( #2435 )
1 year ago
Marco Munizaga
636a0966a6
Release version v0.29.0 ( #2431 )
1 year ago
Marco Munizaga
0c8a73c0f1
webtransport: reject listening on a multiaddr with a certhash ( #2426 )
1 year ago
Sukun
381f23057b
swarm: deprecate libp2p.DialRanker option ( #2430 )
* swarm: deprecate libp2p.DialRanker option
* remove whitespace diff
* Apply suggestions from code review
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
---------
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
1 year ago
Marten Seemann
70c19cbce3
chore: update deps ahead of the v0.29 release ( #2427 )
1 year ago
Marco Munizaga
8a60a68c1d
quic: Update to quic-go v0.36.2 ( #2424 )
* Update go.mod files
* Update to new quic-go API
* More renaming
* Add test back in
* Workaround quic-go#3947
* Fix transitive dep
* Use own pointer to packetConn
* Update to quic-go v0.36.2
* Remove workaround
* Embed quic.Transport
* Downgrade qtls-go1-20
* Rename ConnManager.metricsTracer to mt
* Close transport after test ends
* Close conn when transport closes
* Return better error
* Avoid conflicts with parallel tests
* Skip conn assert on windows
* Add metrics tracer back in
* Don't use tracers here
* Add comment to WriteTo
* Finish renaming conn -> transport where appropriate
* Back out unrelated change
* One more rename
1 year ago
Bryan White
f802e7e63e
autonat: fix typo in WithSchedule option comment ( #2425 )
1 year ago
Sukun
87f3eea538
identify: filter nat64 well-known prefix ipv6 addresses ( #2392 )
1 year ago
Marten Seemann
63fdb48cfb
update go-multiaddr to v0.10.1, use Unique function from there ( #2407 )
1 year ago
Sukun
b38652548a
swarm: enable smart dialing by default ( #2420 )
1 year ago
Marco Munizaga
732953db60
transport integration tests: make TestMoreStreamsThanOurLimits less flaky ( #2410 )
* Make this test less flaky
* Actually use sawFirstErr
1 year ago
Sukun
c67a5d42e4
holepunch: skip racy TestDirectDialWorks ( #2419 )
1 year ago
Sukun
79eee3f658
swarm: change relay dial delay to 500ms ( #2421 )
1 year ago
Marten Seemann
908b27365d
identify: disable racy TestLargeIdentifyMessage with race detector ( #2401 )
1 year ago
Sukun
757bf59136
swarm: make black hole detection configurable ( #2403 )
* swarm: make black hole detection configurable
* address review comments
1 year ago
Adrian Sutton
cfc50bae8e
net/mock: support ConnectionGater in MockNet ( #2297 )
1 year ago
Sahib Yar
fa153c58dd
docs: Add a Github workflow for checking dead links ( #2406 )
Co-authored-by: Sahib Yar <sahib.yar@securiti.ai>
Co-authored-by: Marco Munizaga <marco@marcopolo.io>
1 year ago
Marco Munizaga
24c50ea92a
rcmgr: enable metrics by default ( #2389 ) ( #2409 )
Co-authored-by: Sukun <sukunrt@gmail.com>
1 year ago
Prithvi Shahi
87c2561238
chore: remove outdated info in README and link to libp2p-implementers slack ( #2405 )
1 year ago
Marco Munizaga
5bd6cbc9a1
metrics: deduplicate code in examples ( #2404 )
* Dedup code in metrics examples
* Readme tweaks
* Remove unused code
* Remove unused code
* Use extra_hosts for grafana on linux
1 year ago
Marten Seemann
fd7818473e
transport tests: remove mplex tests ( #2402 )
1 year ago
Sukun
71432c9035
swarm: implement Happy Eyeballs ranking ( #2365 )
1 year ago
VM
8e341f7936
docs: fix some comments ( #2391 )
Co-authored-by: DylanYong <dylan.y@nodereal.io>
1 year ago
Marten Seemann
d616720a16
metrics: provide separate docker-compose files for OSX and Linux ( #2397 )
* metrics: provide separate docker-compose files for OSX and Linux
* Update dashboards/README.md
Co-authored-by: Marco Munizaga <git@marcopolo.io>
---------
Co-authored-by: Marco Munizaga <git@marcopolo.io>
1 year ago
GitHub
4fd6200cc7
chore: Update .github/workflows/stale.yml [skip ci]
1 year ago
Marten Seemann
ff3bd571ac
identify: use zero-alloc slice sorting function ( #2396 )
1 year ago
Sukun
173fef8a2e
rcmgr: move StatsTraceReporter to rcmgr package ( #2388 )
1 year ago
Sukun
1e31d70533
swarm: implement blackhole detection ( #2320 )
* swarm: implement blackhole detection
* address review comments
1 year ago