-
Notifications
You must be signed in to change notification settings - Fork 21
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
UPNP Port Forwarding Fail On Local IP Change#698 #793
Merged
Neylix
merged 10 commits into
archethic-foundation:develop
from
apoorv-2204:upnp_port_forwarding_fail_on_local_ip_change#698
Jan 10, 2023
Merged
UPNP Port Forwarding Fail On Local IP Change#698 #793
Neylix
merged 10 commits into
archethic-foundation:develop
from
apoorv-2204:upnp_port_forwarding_fail_on_local_ip_change#698
Jan 10, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bchamagne
approved these changes
Jan 5, 2023
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.
Just read the code, I did not test it.
samuelmanzanera
requested changes
Jan 5, 2023
samuelmanzanera
requested changes
Jan 5, 2023
…tps://github.com/apoorv-2204/aenode into upnp_port_forwarding_fail_on_local_ip_change#698
bchamagne
reviewed
Jan 6, 2023
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.
Code seems ok
Neylix
approved these changes
Jan 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Attempt to resolve upnp_port_forwarding_fail_on_local_ip_change#698.
Archethic.Networking.IPLookup.NATDiscovery.MiniUPNP.open(port)
miniupnpc duration set to 0 as for mapping for a lifetime
Archethic.Networking.IPLookup.NATDiscovery.MiniUPNP, we expect this to fail and capture conflict mapping entry
error .revoke that port and assigns to the node
Fixes
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Screenshot shows working of code, trying to imitate that condition ,we expect same when node fails to port forward.
Checklist: