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

Redundant Peers #1420

Open
cyyber opened this issue Jun 11, 2018 · 2 comments
Open

Redundant Peers #1420

cyyber opened this issue Jun 11, 2018 · 2 comments

Comments

@cyyber
Copy link
Member

cyyber commented Jun 11, 2018

Multiple connections from same node has been detected connecting to same ip. This happens when a node shuts and restart itself.

Solution
Before accepting connection, check if IP is already connected or any connection from same IP is already there. Disconnect from the peer if connection found.

@jleni
Copy link
Contributor

jleni commented Jun 18, 2018

We have noticed this situation in the latest release.

@cyyber
Copy link
Member Author

cyyber commented Jun 19, 2018

In PR #1470 max_redundant_connection has been added into config, whose default value is 5. Which allows maximum 5 redundant connection from same IP.
Without the presence of Node ID, it is hard to know if the redundant connection is from the same node having same IP or is it from the different node running on same IP.

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

No branches or pull requests

2 participants