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

add naive detection of public ip address #554

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

alexcos20
Copy link
Member

@alexcos20 alexcos20 commented Jul 15, 2024

Changes proposed in this PR:

  • detects addresses used by node
  • for each ip family, try to detect public ip address
  • if found, add it to transports as observedAddress, other nodes will have to confirm it

Copy link
Member

@jamiehewitt15 jamiehewitt15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. It's definitely better than nothing

Copy link
Contributor

@paulo-ocean paulo-ocean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@alexcos20 alexcos20 merged commit e144cfa into develop Jul 16, 2024
6 checks passed
@alexcos20 alexcos20 deleted the feature/public_address_naive_detection branch July 16, 2024 17:13
@mihaisc mihaisc mentioned this pull request Jul 22, 2024
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.

3 participants