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

Zero IP address for Ping message of node discovery protocol #6986

Open
learnerLj opened this issue May 7, 2024 · 0 comments
Open

Zero IP address for Ping message of node discovery protocol #6986

learnerLj opened this issue May 7, 2024 · 0 comments

Comments

@learnerLj
Copy link

learnerLj commented May 7, 2024

Our tool has identified a client that utilizes the zero IP address as the sender IP in the Ping message of the node discovery protocol. This indicates a potential issue with the NAT port mapping code, suggesting that it may not update the client IP correctly. However, the actual IP (34.38.x.x) obtained from the UDP socket is a valid public IP address. It's worth noting that this situation is uncommon, as only 5 out of thousands of Nethermind peers exhibit this issue.

Additionally, I have observed that Geth experiences a similar issue, although it only affects the first ping message in rare circumstances. see ethereum/go-ethereum#29713

Reth and Besu have been aware of this issue. paradigmxyz/reth#8122 hyperledger/besu#6439 hyperledger/besu#6225

peer Info:

'clientId' = {str} 'Nethermind/v1.25.4+8097bf50/linux-x64/dotnet8.0.3'
'caps' = {list: 4} [{'name': 'eth', 'version': 66}, {'name': 'nodedata', 'version': 1}, {'name': 'eth', 'version': 67}, {'name': 'eth', 'version': 68}]
'networkID' = {Int64} 123
'genesisHash' = {str} '0xfd643f387cd7386d21e8d34f8762188865789196dee77c98f8210dbbc15616ae'
'forkID' = {str} '895f3463/e06938'

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant