erigon icon indicating copy to clipboard operation
erigon copied to clipboard

[2.57.3] TCP Connections with Port `Zero`

Open Texnomic opened this issue 1 year ago • 0 comments

System information

Erigon version: 2.57.3 OS & Version: Ubuntu Commit hash: 705814b1ab72f3f25bef5230bd0c4dbaa0bc1f2a Consensus Layer: Embedded Chain/Network: Ethereum - Mainnet

Expected behaviour

Port zero is a reserved port in TCP/IP networking, meaning that it should not be used in TCP or UDP messages.

Erigon is wasting a lot of resources by making 1000s of connection attempts to a universally blocked port. All types of network devices blocks port zero natively.

Actual behaviour

Erigon attempts to connect to Peers using port zero.

Steps to reproduce the behaviour

Run Erigon with any flags.

Notes

  1. Erigon IP: 10.0.0.96
  2. Retransmission due to firewall blocking port zero on both sides.

Backtrace

image

image

Texnomic avatar Feb 06 '24 00:02 Texnomic