-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Allow the node to auto-forward its listnening port using UPnP #1575
base: testnet2-2022
Are you sure you want to change the base?
Conversation
The CI error is unrelated:
|
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.
LGTM 👍
Rebased. |
3c46c61
to
c8280f3
Compare
I think this is worth including. Question: is there a way to harmonize this feature with the design, so that we adhere to an implicit design for using upnp (as opposed to having the user explicitly set a upnp flag)? For example, is there a concept of using this first, then defaulting to basic tcp/ip if it does not hold? |
c8280f3
to
e6809a8
Compare
There's a reason why I proposed this functionality to be opt-in rather than being automatic; if for whatever reason someone is changing their listening port on a regular basic, or if they are using internal nodes that are communicating with the network only via a single proxy exposed to it, or if there are any other reasons why someone wouldn't want their port to be opened automatically (e.g. a complex network configuration), it would potentially break their setups and/or eventually leave them with many open ports that they might not be aware about. That being said, this functionality only requires the user to run with the |
Rebased against testnet3. |
Signed-off-by: ljedrz <[email protected]>
Signed-off-by: ljedrz <[email protected]>
Admin: Please respond with "build this" in order to build this PR. |
The testnet2 equivalent of https://github.com/AleoHQ/snarkOS/pull/1218; the only difference is that the external address is not registered, but it can be extended with that functionality if need be.
Supersedes https://github.com/AleoHQ/snarkOS/pull/1218.
Closes https://github.com/AleoHQ/snarkOS/issues/423.