Skip to content

Address dynamic IP addresses without requiring a restart with new configuration #5351

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

Open
s8sato opened this issue Mar 13, 2025 · 0 comments
Labels
Enhancement New feature or request research
Milestone

Comments

@s8sato
Copy link
Contributor

s8sato commented Mar 13, 2025

S. Sato, [2025/02/04 16:18]
The requirement for a "static" IP address in the testnet prerequisites (https://wiki.sora.org/running-a-sora-testnet-node.html#prerequisites) could be relaxed. More precisely, the IP address can be dynamic, but each time a peer reconnects, it must update its advertised address and restart.

S. Sato, [2025/02/04 16:18]
This is due to the way peers remember and gossip other peers' addresses. Instead of adopting the counterpart’s address from the actual TCP stream, peers accept the self-reported advertised address, store it, and share it with other peers. The reason for using self-reported advertised addresses is that an address extracted from an actual TCP stream may not be valid for other peers.

S. Sato, [2025/03/10 15:03]
Just a thought, but alternatively, we could derive the counterpart's address from the TCP stream, prohibiting private IP addresses to expect every IP address should be globally valid

@s8sato s8sato added the Enhancement New feature or request label Mar 13, 2025
@s8sato s8sato added this to the 2.0.0-rc.2.0 milestone Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request research
Projects
None yet
Development

No branches or pull requests

1 participant