Jormungandr: Trusted peer responded with different node id

Created on 16 Oct 2019  路  3Comments  路  Source: input-output-hk/jormungandr

Describe the bug
Seeing logs saying that the trusted peers are responding with different node ids (looking at the node id values, they seem the same).

Mandatory Information

  • using release files for windows - v0.6.1

To Reproduce
Steps to reproduce the behavior:

  1. Start the node with the provided trusted peers

Expected behavior

Additional context

  • node log:
Oct 16 06:38:11.694 INFO peer responded with different node id: 8091571e2ae4ba01672692460785315ca2f16dc3288b324a3931f7712a45e309, node_id: 8091571e2ae4ba01672692460785315ca2f16dc3288b324a3931f7712a45e309, peer_addr: 54.153.19.202:3000, task: network
subsys-network

Most helpful comment

This happens when a peer changes its ID, but is contacted by its old ID on the same IP address based on outdated gossip or trusted peer configuration. We are debating if this should terminate the connection; I think it will need to be if/when gossip and subscription IDs are authenticated and connection integrity is protected with TLS.

All 3 comments

Someone on Telegram suggested that this happens when the peer has a floating IP config

There's been a logging problem: the condition is real, but one of the IDs was wrongly logged in both places. Fixed in #981.

This happens when a peer changes its ID, but is contacted by its old ID on the same IP address based on outdated gossip or trusted peer configuration. We are debating if this should terminate the connection; I think it will need to be if/when gossip and subscription IDs are authenticated and connection integrity is protected with TLS.

Was this page helpful?
0 / 5 - 0 ratings