[Libssh] libssh + NSPR?
Matt Lawson
lawson08 at yahoo.com
Sat Jul 26 22:15:28 CEST 2008
Hi,
I was wondering are there any plans/interest in allowing libssh to run as a layer on top of the NSPR socket layer? That is the Netscape Portable Runtime which is used by several popular apps, and also has the NSS (Netscape Security Services) layer to provide SSL sockets. I am in a situation where it would be nice to provide plain, SSL, and SSH connectivity in my apps, across a couple different OS's, and it would be nice to know that at least the socket layer is likely to behave the same way in all of them. In my case I'm only talking about variations of Linux and *bsd, but it would even be more valuable if someone were developing for more disparate OS's.
A couple of examples. First, the NSPR sockets have timeouts built in, which I sometimes have to implement myself using "normal" sockets, and then wonder if it will behave the same way on another OS.
Another example is, say you have a collection of both plaintext and SSL/SSH stockets and you want to do a select on the lot of them. Well if they were all of the same base type you could do that. Otherwise there's a different select for each type.
Even though Netscape itself is kinda passe' these libraries seem quite popular and it appears that some are even are switching from openssl to nss.
https://www.mozilla.org/projects/nspr/
http://www.mozilla.org/projects/security/pki/nss/
I know... "open source" means "do it yourself..." maybe I will... just wanted to bounce the idea to see what people thought.
More information about the Libssh
mailing list