Re: writing an SSH server

2011-10-28 Thread David Durham
On Thu, Oct 27, 2011 at 4:55 PM, Dave Thompson dthomp...@prinpay.com wrote: If you just want confidentiality with truly no authentication, SSL/TLS (and OpenSSL) can do that with the anonymous-DH and anonymous-ECDH suites. I assume you understand and accept the vulnerabilities you are creating

Re: writing an SSH server

2011-10-28 Thread David Durham
On Fri, Oct 28, 2011 at 12:26 PM, David Durham david.durham...@gmail.com wrote: I'm just sending the message to cout.  If you can point me to information on outputting the full OpenSSL error stack, I'd appreciate it. replied too soon, looks like this is what I want: ERR_print_errors(sbio

writing an SSH server

2011-10-27 Thread David Durham
Hi all, I'm new to C++ and libssl, but nevertheless trying to write an SSH server. I have gone through tutorials and believe I have a working server that initializes and SSL context, binds and listens on a TCP socket, and accepts a connection. Using a debugger I see that if I try to ssh

Re: writing an SSH server

2011-10-27 Thread David Durham
On Thu, Oct 27, 2011 at 4:09 PM, Eric S. Eberhard fl...@vicsmba.com wrote: I believe the last function, the write, is missing a return false with the error message? Doesn't matter though, it's not an issue. Thanks. __ OpenSSL