Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Show more information when too many addresses are reported #2473

Merged
merged 2 commits into from
May 6, 2019

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented May 5, 2019

On the Emberic Elm network, we sometimes have misbehaving nodes that report too many listened addresses (in practice it is probably caused by a very old bug in libp2p). We print more information about the node when that happens.

@tomaka tomaka added the A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). label May 5, 2019
Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
@bkchr bkchr merged commit 6bc04cc into paritytech:master May 6, 2019
@tomaka tomaka deleted the addresses-more-info branch May 6, 2019 07:48
tomaka added a commit to tomaka/polkadot that referenced this pull request May 6, 2019
…h#2473)

* Show more information when too many addresses are reported

* Update core/network-libp2p/src/behaviour.rs

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
@tomaka tomaka mentioned this pull request May 6, 2019
gavofyork pushed a commit that referenced this pull request May 6, 2019
* ProtocolId can now be more than 3 bytes (#2350)

* Update to libp2p v0.7.0 (#2343)

* Update to libp2p master

* Fix tests

* More tests fixing

* Remove the multiplexed networking system (#2373)

* Remove the multiplexed networking system

* Rename BackCompat to Normal

* Remove CustomMessageId

* Fix tests

* Allow multiple substreams (#2379)

* Allow multiple substreams

* Update core/network-libp2p/src/custom_proto/handler.rs

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>

* Fix #2403 (#2404)

* Fix #2403

* Apply suggestions from code review

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>

* Split Context::send_message into multiple methods (#2409)

* Split Context::send_message into multiple methods

* Apply suggestions from code review

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>

* Add reason for closing and fix multiple substreams (#2437)

* Simplify the code of connection_keep_alive (#2438)

* Drop connections when the handler gets disabled (#2439)

* Drop connections when the handler gets disabled

* Add test

* Disable mDNS when passing --dev (#2467)

* Show more information when too many addresses are reported (#2473)

* Show more information when too many addresses are reported

* Update core/network-libp2p/src/behaviour.rs

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
gavofyork pushed a commit that referenced this pull request May 6, 2019
* ProtocolId can now be more than 3 bytes (#2350)

* Update to libp2p v0.7.0 (#2343)

* Update to libp2p master

* Fix tests

* More tests fixing

* Remove the multiplexed networking system (#2373)

* Remove the multiplexed networking system

* Rename BackCompat to Normal

* Remove CustomMessageId

* Fix tests

* Allow multiple substreams (#2379)

* Allow multiple substreams

* Update core/network-libp2p/src/custom_proto/handler.rs

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>

* Fix #2403 (#2404)

* Fix #2403

* Apply suggestions from code review

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>

* Split Context::send_message into multiple methods (#2409)

* Split Context::send_message into multiple methods

* Apply suggestions from code review

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>

* Add reason for closing and fix multiple substreams (#2437)

* Simplify the code of connection_keep_alive (#2438)

* Drop connections when the handler gets disabled (#2439)

* Drop connections when the handler gets disabled

* Add test

* Disable mDNS when passing --dev (#2467)

* Show more information when too many addresses are reported (#2473)

* Show more information when too many addresses are reported

* Update core/network-libp2p/src/behaviour.rs

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>

* Silence some errors
MTDK1 pushed a commit to bdevux/substrate that referenced this pull request Jul 10, 2019
…h#2473)

* Show more information when too many addresses are reported

* Update core/network-libp2p/src/behaviour.rs

Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants