Bugzilla – Attachment 3109 Details for
Bug 2810
Broken compatibility with old SSH clients sending 1.99 identification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
don't refuse SSH-1.99 clients
bz2810.diff (text/plain), 627 bytes, created by
Damien Miller
on 2018-01-05 13:42:20 AEDT
(
hide
)
Description:
don't refuse SSH-1.99 clients
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2018-01-05 13:42:20 AEDT
Size:
627 bytes
patch
obsolete
>commit a7093f718e425b5a4ed8f43043bc25e483894570 >Author: Damien Miller <djm@mindrot.org> >Date: Fri Jan 5 13:43:32 2018 +1100 > > bz2810 > >diff --git a/sshd.c b/sshd.c >index a8c4e5d..0b7308b 100644 >--- a/sshd.c >+++ b/sshd.c >@@ -431,7 +431,7 @@ sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out) > debug("Local version string %.200s", server_version_string); > > if (remote_major != 2 || >- (remote_major == 1 && remote_minor != 99)) { >+ !(remote_major == 1 && remote_minor == 99)) { > s = "Protocol major versions differ.\n"; > (void) atomicio(vwrite, sock_out, s, strlen(s)); > close(sock_in);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2810
: 3109