rapier1/hpn-ssh

connection problem with patch hpn-14.16 applied to openssh 7.9p1

mrbaseman opened this issue · 3 comments

I know OpenSSH 7.9p1 is beyond the head of the commits in this repository and newer than what is offered on sourceforge. Nevertheless I have tried to apply the patches to that version of openssh-portable. Patching went smooth and connections work mostly, except for a strange issue with some specific clients.

OpenSSH_6.6.1 with OpenSSL 1.0.1e-fips on CentOS Linux release 7.2.1511 for instance hangs upon login with RSA key.
The strange thing is that authentication works well, and even the motd is displayed but the prompt doesn't appear, and even killing the client with Ctrl+C doesn't work.

The same patches applied to OpenSSH 7.8p1 work fine, with the same client, and even the client side debug log when connecting with -v -v only differs in version numbers, one time stamp and the pointer to the key, everything else looks exactly the same.

Any ideas what it could be or how to debug this problem?

I forgot to mention that we don't see this problem with OpenSSH 7.9p1 without hpn patches, which makes it even stranger.

Hi Chris

thanks for your reply. We went back to openssh 7.8p1 hpn 14.16 in the meantime, and received the feedback from our user that it sometimes works and sometimes not. Until now we thought that the problem was introduced by applying the 14.16 patch to the latest openssh release, but now it seems that it was just not noticed (or not reported?) before and got worse... That sounds difficult to debug, maybe a race condition between the threads?

Let me know if we can provide anything that is helpful for debugging.

Martin