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

Ban peers with invalid magic #46

Closed
tuxcanfly opened this issue Jun 6, 2018 · 1 comment
Closed

Ban peers with invalid magic #46

tuxcanfly opened this issue Jun 6, 2018 · 1 comment

Comments

@tuxcanfly
Copy link
Member

Lots of these messages in logs, probably an alternate chain node trying to connect. Should ban immediately to avoid reconnecting.

[debug] (peer) Rejecting packet from 23.92.36.61:6624: code=malformed reason=error parsing message.
[debug] (peer) Sending reject packet to peer (23.92.36.61:6624).
[debug] (net) Error: Invalid magic value: 0. (23.92.36.61:6624)
[debug] (peer) Rejecting packet from 23.92.36.61:6624: code=malformed reason=error parsing message.
[debug] (peer) Sending reject packet to peer (23.92.36.61:6624).
@tuxcanfly
Copy link
Member Author

See #52

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