« Return to Thread: Strange problems with SSH sessions

Re: Strange problems with SSH sessions

by Peter Gutmann :: Rate this Message:

Reply to Author | View in Thread

Alex Komratov <komratov@...> writes:

>After initiating both server and client sessions I'm making some data
>exchange using 512 byte size messages. That's working well. But when after
>that I'm trying to transfer 332825 bytes the problem comes.
>
>From the view of the client: it's sending all data using cryptPushData() and
>cryptFlushData() as I want to be sure all data block is sent. Everything is
>OK. No eroor code returned.
>
>From the view of a server: it's receiving 328741 bytes only. After I'm trying
>to get the rest cryptPopData() is blocked until timeout ends and after that it
>returns -25 error code (CRYPT_ERROR_TIMEOUT).

What's the extended error information?  I don't know if there'll be much I can
do here, it sounds like it's something that's highly specific to your
particular setup which means it'd be more or less impossible to reproduce
elsewhere.  Can you run the code under a debugger to see what's going on, or
do something similar?  It sounds like you'd need to be able to get a detailed
look at the session internals.

Peter.

_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

 « Return to Thread: Strange problems with SSH sessions