EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SFTPBlackbox Client/Server - for C++ Builder - Demos

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#3148
Posted: 06/14/2007 12:15:04
by Eugene Mayevski (EldoS Corp.)

The demo IS NOT a real server. It should not be used for any purposes other than writing your own server software.


Sincerely yours
Eugene Mayevski
#3149
Posted: 06/14/2007 12:16:31
by Donald Benkendorf (Standard support level)
Joined: 05/17/2006
Posts: 20

Since the BCB demos didn't have an SSH server example -- I built the Delphi 2006 for Win32 (BDS 2006) demos: SSH \Client\ClientDemo and SSH\Server\ServerDemo, presuming they were a "matched set" because of the similar naming. I ran them both on my Win2K workstation. Things work reasonably well, i.e. sending commands from the client to the server. However, if I send a "command" that causes an error, for example, "dudley", no error messages are returned by the server. More importantly, if/when I disconnect the client from the server, an "SSHServerDemo.exe - Application Error" dialog box is posted by the server -- "The exception unknown software exception (0x0eedfade) occurred in the application at location 0x7c59bc81." Then, "Application Error" - "Exception EThread in module SSHServerDemo.exe at 00022604, Thread Error: The handle is invalid (6).". Finally, the 1st dialog comes up followed by "Application Error" - "Exception EOSError in module SSHServerDemo.exe at 0000DF49, System Error. Code: 5. Access is denied."....a couple more dialogs come up forcing me to choose to end the server process, or have Windows do it. The only changes I've made to the demo source is to static link in the runtime libraries, etc. If I type in "exit" before I disconnect the client from the server, things go a little better, but eventually it will error out. Any ideas ?
#3150
Posted: 06/14/2007 12:20:59
by Donald Benkendorf (Standard support level)
Joined: 05/17/2006
Posts: 20

The 'readme.txt' file in the ServerDemo directory does describe it as a "full-featured SSH server". Not being able to turn it into a Windows service would be a major limitation, as the person remoting into the server-box to start the server process would need to remain logged-in.
#3151
Posted: 06/14/2007 12:27:14
by Donald Benkendorf (Standard support level)
Joined: 05/17/2006
Posts: 20

By the way, using a PuTTY client against the "ServerDemo" program causes no such issues, so I believe the "ClientDemo" is causing the ServerDemo to error out....
#3152
Posted: 06/14/2007 12:29:21
by Eugene Mayevski (EldoS Corp.)

The server is full-featured in the meaning that it implements functionality of a real-life server (different authentication methods, multiuser access etc.). But it was not designed to be used in production. It has memory leaks and errors similar to the above mentioned.


Sincerely yours
Eugene Mayevski
#3153
Posted: 06/14/2007 12:37:15
by Ken Ivanov (EldoS Corp.)

Quote
By the way, using a PuTTY client against the "ServerDemo" program causes no such issues, so I believe the "ClientDemo" is causing the ServerDemo to error out....

The error you are talking about was fixed recently, so the fixed demo will be included to the future build update.
#3154
Posted: 06/14/2007 12:42:02
by Eugene Mayevski (EldoS Corp.)

The OP probably talks about the C++Builder sample which also needs to be fixed.


Sincerely yours
Eugene Mayevski
#3155
Posted: 06/14/2007 12:55:53
by Donald Benkendorf (Standard support level)
Joined: 05/17/2006
Posts: 20

OP ?
#3156
Posted: 06/14/2007 12:56:54
by Eugene Mayevski (EldoS Corp.)

Original Poster


Sincerely yours
Eugene Mayevski
#3157
Posted: 06/14/2007 13:22:45
by Donald Benkendorf (Standard support level)
Joined: 05/17/2006
Posts: 20

I am the OP.
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 13596 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!