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

   Not sure I agree. I think this expired memo is misguided. RFC 4254 requires 
parties that do not understand a particular global request to reply with 
SSH_MSG_REQUEST_FAILURE. A peer that fails or disconnects on receiving an 
unknown global request is just broken. Sending global requests during key 
exchange is simply illegal (insofar the "at any time" is a bit misleading, but 
here RFC 4253 overrides). It would be valid for a party to disconnect if it 
received a global request during an on-going KEX (i.e., both parties have sent 
their their KEX_INIT, but no NEW_KEYS has been received yet). However, 
receiving a global request before receiving that party's KEX_INIT is normal and 
must be handled.
   
   The hostkey rotation global request "hostkeys...@openssh.com" is sent only 
after a session is authenticated.
   
   Finally global requests are a feature of the SSH Connection Protocol, which 
is not even available before authentication has completed.
   
   I would not complicate our code for this. Did this expired proposal even 
ever take off? Who implements it?
   


-- 
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: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to