We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current behavior gridcoinresearchd crashes when given a wrong IP on setban command
Expected behavior ban a remote
Steps to reproduce:
for peer in $(gridcoinresearchd getpeerinfo | jq '.[] | select(.subver=="/Halford:5.4.5/") | .addr' -r); do gridcoinresearchd setban $peer add 3600; done
the output is in format ip:port of the remotes, not just pure IPs, however this causes a segfault
ip:port
63613064.639190] gridcoinresearc[12613]: segfault at 0 ip 000055e6fc7209b8 sp 00007feef77fc8f0 error 4 in gridcoinresearchd[55e6fc2e9000+648000]
however stripping the port part works fine
for peer in $(gridcoinresearchd getpeerinfo | jq '.[] | select(.subver=="/Halford:5.4.5/") | .addr' -r); do gridcoinresearchd setban $(echo $peer | cut -d':' -f1) add 3600; done
Gridcoin version v.5.4.6.0
Machine specs
The text was updated successfully, but these errors were encountered:
div72
Successfully merging a pull request may close this issue.
Bug Report
Current behavior
gridcoinresearchd crashes when given a wrong IP on setban command
Expected behavior
ban a remote
Steps to reproduce:
the output is in format
ip:port
of the remotes, not just pure IPs, however this causes a segfaulthowever stripping the port part works fine
Gridcoin version
v.5.4.6.0
Machine specs
The text was updated successfully, but these errors were encountered: