-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Diffie-Hellman
Request
, RequestOld
and Group
.
This commit adds support for the following SSH Handshake packets: - SSH Key Exchange Diffie-Hellman Request (`SSH_MSG_KEY_DH_GEX_REQUEST`) - SSH Key Exchange Diffie-Hellman Request Old (`SSH_MSG_KEY_DH_GEX_REQUEST_OLD`) - SSH Key Exchange Diffie-Hellman Group (`SSH_MSG_KEY_DH_GEX_REQUEST_GROUP`) These messages are defined in [RFC4419 section 5](https://datatracker.ietf.org/doc/html/rfc4419#section-5). This commit also fixes a small bug where some packet numbers were assigned to the wrong ssh packet (I'm thinking of `SshPacketDhRequest` and `SshPacketDhGroup`. Some tests have been added to ensure that these new messages are working.
- Loading branch information
Showing
10 changed files
with
848 additions
and
92 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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