tomaswolf commented on issue #878:
URL: https://github.com/apache/mina-sshd/issues/878#issuecomment-3823332521

   Not sure. Perhaps such a fix would be OK, but perhaps it may cause new 
issues. The stack trace indicates that the SSH connection is currently doing a 
key exchange (KEX). During a key exchange no channel messages must be sent, so 
the lower layer handling KEX must delay writes coming from higher layers 
(channels). This would need extensive tests, also with TCP forwarding.
   
   Essentially this change would define a maximum duration for a key exchange. 
(I'd use `Property<Duration>`.) But only for some threads, not for others. 
Perhaps such a time-out should apply more globally and terminate the whole 
session if a KEX doesn't progress.
   
   Note that we don't have the resources to maintain old versions of Apache 
MINA SSHD. We maintain the latest (2.17.1) and the development version 3.0.0-M2.
   
   Does the same occur with 2.17.1?
   
   Does the same occur with 3.0.0-M2? (That bit of KEX handling has changed in 
3.0.0.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to