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
[Merged by Bors] - p2p: add ip4/ip6 blocklists #4795
Conversation
246f39f
to
c33b8b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me.
bors merge |
closes: #4788 default ip4/ip6 blocked ranges https://github.com/spacemeshos/go-spacemesh/blob/a8f86a19fffde6141110b21d398b65bf017d2c57/p2p/host.go#L48-L66C1 to disable them set `"ip4-blocklist": []` or `"ip6-blocklist": []` in config. if `private-network` is set to true, blocklists will be ignored. that option meant to be used only in testing networks. `direct` peers will bypass blocklists validation.
Pull request successfully merged into develop. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
closes: #4788
default ip4/ip6 blocked ranges https://github.com/spacemeshos/go-spacemesh/blob/a8f86a19fffde6141110b21d398b65bf017d2c57/p2p/host.go#L48-L66C1
to disable them set
"ip4-blocklist": []
or"ip6-blocklist": []
in config.if
private-network
is set to true, blocklists will be ignored. that option meant to be used only in testing networks.direct
peers will bypass blocklists validation.