-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
HPN banner exchanged #22
Comments
Hey, I'm sorry I didn't reply earlier. This has been fixed in 8.3. I'll check the older versions to make sure it's there as well. |
Turns out that it wasn't in 8.0 so that's fixed. Let me know if you are still seeing any issues. If the connection is HPN aware you should see the line "Remote is HPN Enabled" in the debug lines with ssh -v after the banner exchange. |
Thank you. I don't know when I'll get around to it testing it out, but I
will be sure to let you know if I still see any issues.
…On Thu, Sep 24, 2020 at 3:55 PM Chris Rapier ***@***.***> wrote:
Turns out that it wasn't in 8.0 so that's fixed. Let me know if you are
still seeing any issues. If the connection is HPN aware you should see the
line "Remote is HPN Enabled" in the debug lines with ssh -v after the
banner exchange.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO6BF74L53FSLJG7W6A63J3SHOP2ZANCNFSM4LTST5SA>
.
--
Eric J Nelson
ejnelson@gmail.com
|
I am trying to run some tests and notice that my two instances weren't recognizing they both had the HPN patches. During the handshake they exchange banners, but the banners don't have the additional 'hpn' string needed. It appears in the kex_exchange_identfication() fucntion, in kex.c, only SSH_VERSION constant is placed into the banner and not SSH_PORTABLE, or SSH_HPN constants.
Pasting in the diff output didn't work.
if ((r = sshbuf_putf(our_version, "SSH-%d.%d-%.100s%s%s\r\n" PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION,
This appears to fix it.
if ((r = sshbuf_putf(our_version, "SSH-%d.%d-%.100s%s%s%s%s\r\n", PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION, SSH_PORTABLE, SSH_HPN,
Another banner is built in ssh_api.c, in the ssh_packet_next() function. This doesn't appear to be called in setting up a connection.
I haven't tested the rpm's in SourceForge to see if the banner exchange is happening with that code.
The text was updated successfully, but these errors were encountered: