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

   In the TRACE log one sees that the server replies that it support SFTP 
versions 2,3,4,5,6.
   
   Did you remove some of the raw buffer bytes being dumped? That makes it much 
more difficult to figure out what's going on.
   
   At 2024-10-09T13:31:54.430+02:00 we see the LSTAT request being made. The 
SSH_FXP_ATTRS reply is shown at 2024-10-09T13:31:54.460+02:00, and right after 
that, the session is closed, so presumably the exception occurred.
   
   Looking at the available bytes, I see user "Pepsi_Isilis" and group 
"Pepsi_Isilisgroup", and after that the bytes
   ```
   00 00 01 e8 00 00 00 00 67 06 4b f6 00 00 00 00 67 06 47 26 00 00 00 02
   ```
   Now it's hard to say what this is without seeing the initial bytes of that 
buffer because there is a flag word at the beginning of the buffer that tells 
what fields are following. 00 00 00 00 67 06 4b f6 and 00 00 00 00 67 06 47 26 
look like timestamps. 00 00 01 e8 would then be the file permission 
(`-rwxr-x---`, which looks a bit strange (why the x permission?) but 
plausible). The first timestamp would then be the access time (UTC 
2024-10-09T09:25:10) and creation time (UTC 2024-10-09T09:04:38). Then come 4 
bytes 00 00 00 02, but it is unclear what that should be.
   
   Please show the full trace log of that buffer. I need to see all the bytes 
logged; otherwise I cannot analyze whether the reply is malformed or there is a 
bug in parsing 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