This repository has been archived by the owner on Jun 12, 2023. It is now read-only.
Replies: 2 comments
-
Running the following on ETL yields a sum of 5.2k
This means around 2.5k devices in the network are not reachable due to this problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
In sys.config: Could we make listen_addresses (or is it already) configurable/overwrittable ? {listen_addresses, ["/ip4/0.0.0.0/tcp/44158"]}, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
There are many cases where multiple hotspots are reporting the same IP/port as listen address but the port is actually forwarded to only one of them. For example:
When you connect to /ip4/5.39.184.9/tcp/44158, you will see that it is actually blurry-plastic-chipmunk. But when you connect by p2p addresses, for example /p2p/11QYCnDcV3BMXzBxTg87zbDAZmyFzb4bktp8NWQ6Lbwo3p7qVPE you will see in peer book -s the same IP/port.
I think the problem is caused by there is no identify check upon a connection. Connecting to /p2p/11QYCnDcV3BMXzBxTg87zbDAZmyFzb4bktp8NWQ6Lbwo3p7qVPE actually connects to blurry-plastic-chipmunk but the miner thinks it is successfully connected to bent-coconut-bat
I also think the root cause of the problem is somewhere in stungun logic because ideally these miners should create a relay iso thinking they listen on /ip4/5.39.184.9/tcp/44158
This problem is causing 0-witness beacons because if you are challenged by one of these hotspots, it always leads to 0-witness because the witnesses actually connect to the wrong hotspot to report their witnessing. You can see from explorer that the challenges of those miners are always zero witness. Second problem is that they never beacon because they cannot get connected by a challenger.
I am not sure how many devices in the network are impacted but I think this can be easily checked with a query on ETL to see duplicate listen addresses.
Beta Was this translation helpful? Give feedback.
All reactions