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

Added localOnly check to peer connections #2024

Merged
merged 3 commits into from Aug 24, 2023
Merged

Added localOnly check to peer connections #2024

merged 3 commits into from Aug 24, 2023

Conversation

jellymlg
Copy link
Collaborator

The node will not connect to the following address ranges if scorex.network.localOnly = false:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16
  • 169.254.0.0/16

Closes #1964

@jellymlg jellymlg requested a review from kushti August 15, 2023 18:26
@kushti kushti added this to the 5.0.14 milestone Aug 22, 2023
@kushti kushti changed the base branch from master to v5.0.14 August 24, 2023 12:42
@kushti kushti merged commit c9018f0 into v5.0.14 Aug 24, 2023
3 of 4 checks passed
@kushti kushti deleted the i1964-localOnly branch August 24, 2023 12:43
@kushti kushti mentioned this pull request Aug 24, 2023
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

Successfully merging this pull request may close these issues.

Prevent attempts to connect to local networks
2 participants