-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: Only reply with mnauth
to peers that are connected to the address registered in DML
#4974
base: develop
Are you sure you want to change the base?
Conversation
I'm pretty sure I'd like some tests on this one please :) |
I can test it on testnet, just get me a build. |
You should be able to download it from CI build artefacts e.g. https://gitlab.com/dashpay/dash/-/jobs/2893007730/artifacts/browse/build-ci/dashcore-linux64/src/dashd for |
404 on that link, I am guessing because the build failed, I will check back later. |
oh, sorry, my bad |
What about nodes that uses local addresses to bind? Local IP that is translated 1:1 to public? There are certain DMZ setup or other cases when nodes are running like that. EDIT: of course externalip is set to public ip |
My test will be on a node whose P2P is port forwarded into the VM, so I assume the |
Just for clarity, I'm asking for functional tests |
I tested this fix first with my Masternode configured for TOR, I then checked on a node with
and |
bc12135
to
eddd6bc
Compare
@PastaPastaPasta @UdjinM6 Are we planning to merge this at some point? It's still assigned to the 18.2 milestone |
I'm not sure... I'd really like to see a functional test on this, but if we let it sit this long w/o adding a test we may have to wait a very long time before Udjin or I decide to write the test. That makes me inclined to be okay merging it. Any thoughts Udjin? |
eddd6bc
to
46ee326
Compare
I'm not sure how to make it testable cause local addresses aren't passed via EDIT: @kxcd could you test the new version on your nodes pls? |
…ess registered in DML (reworked) A node can be bound to multiple addresses. Send `mnauth` to nodes connected to the right address only to avoid confusion.
46ee326
to
4ddda42
Compare
This pull request has conflicts, please rebase. |
Is it still relevant? Can it be merged without tests? |
A node can be bound to multiple addresses. Send
mnauth
to nodes connected to the right address only to avoid confusion.Thanks @kxcd 👍