Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cipher-switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ cipher_switch(struct ssh *ssh) {
if (strstr(send, "ctr") || strstr(recv, "ctr")) {
debug("Serial to parallel AES-CTR cipher swap");
/* cipher_reset_multithreaded(); */
/* mark MT active so the promotion in ssh_set_newkeys only
* happens when we deliberately switched here. Without this a
* later rekey would promote to MT even under DisableMTAES. */
ssh->mt_enabled = 1;
ssh_packet_set_authenticated(ssh);
packet_request_rekeying();
}
Expand Down
2 changes: 2 additions & 0 deletions compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ compat_banner(struct ssh *ssh, const char *version)
SSH_BUG_UTF8TTYMODE },
{ "Twisted_*", 0 },
{ "Twisted*", SSH_BUG_DEBUG },
/* MobaXterm's SFTP engine, see kex_input_newkeys */
{ "SecureBlackbox*", SSH_BUG_STRICT_KEX_REKEY },
{ NULL, 0 }
};

Expand Down
1 change: 1 addition & 0 deletions compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
/* #define unused 0x00010000 */
/* #define unused 0x00020000 */
/* #define unused 0x00040000 */
#define SSH_BUG_STRICT_KEX_REKEY 0x00080000 /* peer wants kex-strict on rekeys */
#define SSH_HPNSSH 0x00100000 /* basically a notice that this is HPN aware */
#define SSH_BUG_EXTEOF 0x00200000
#define SSH_BUG_PROBE 0x00400000
Expand Down
Loading
Loading