Repository navigation
Reimplement interserver mode to avoid replay attacks - #47213
Merged
Merged
Conversation
azat
force-pushed
the
interserver-mode-v2
branch
2 times, most recently
from
March 3, 2023 17:02
f5c4ab3 to
7603105
Compare
tavplubix
reviewed
Mar 13, 2023
azat
force-pushed
the
interserver-mode-v2
branch
2 times, most recently
from
March 14, 2023 19:44
1fd2956 to
d3f4b90
Compare
tavplubix
approved these changes
Mar 14, 2023
Prevous implementation (DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET) accepts the salt from the client, which make it useless. Reimplement the protocol to send the salt by the server and use it in the client instead. Signed-off-by: Azat Khuzhin <[email protected]>
azat
force-pushed
the
interserver-mode-v2
branch
from
March 15, 2023 07:29
d3f4b90 to
bcf381c
Compare
This file contains hidden or 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
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Reimplement interserver mode to avoid replay attacks (note, that change is backward compatible with older servers)
Previous implementation (
DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET) accepts the salt from the client, which make it useless.Re implement the protocol to send the salt by the server and use it in the client instead.
Fixes: #39903 (cc @tavplubix @alexey-milovidov @vitlibar )
Follow-up for: #13156