Gerald, Why re-invent the wheel? Have you tried IPSec? I believe IPSec is supported in Windows NT/2000/XP and some flavors of UNIX (or compatibles).
-----Original Message----- From: Gerald Timothy G Quimpo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 2:20 AM To: [EMAIL PROTECTED] Subject: [plug] secure network library? hello all, does anyone have pointers to a "secure" network library? i know that phrase is easy to misunderstand, so i explain. i find myself writing more and more network programs. i don't want the packets to go over the wire in plaintext. the stuff i work with tends to be in multiple languages, on different platforms (VB on windows, maybe Java or C++ on windows, C or C++ and maybe java on linux, other random OSs and languages). i'm looking for easy to use TCP or UDP functions that include built-in encryption and hashes. there's other network library stuff i'd like too, but first i need automatic encryption. something like: SECURE_ENV * createSecureConnection(char * host, unsigned port, unsigned connect_type /* UDP, TCP, other */, void * crypt_key, unsigned crypt_key_len); int sendSecureTCPDataBlock(SECURE_ENV * env, void * data, unsigned len); int recvSecureTCPDataBlock(SECURE_ENV * env, void *data, unsigned maxrecv); int closeSecureConnection (SECURE_ENV *env); int sendSecureUDPDataBlock(SECURE_ENV * env, void * data, unsigned len); int recvSecureUDPDataBlock(SECURE_ENV * env, void *data, unsigned maxrecv); and related functions. i could probably figure out how to build a library like this myself after a while, but i'd really rather use someone else's code :). if, after a while of waiting, there are no pointers, i'd be glad to work with others on building something like this (despite the fact that hubris and a copy of Schneier are just enough to provide the illusion of capability without the reality). yes, i know i could tunnel through ssh or something. but in the corporate world, it's often not possible to install ssh on windows clients. never mind my complete ignorance as to whether there is even an openssh library for windows programs to link against. and VPNs and stuff aren't quite right for intranet programs. btw, i often work in environments where the clients are MS (due to monopoly power) and the servers are linux/unix/freebsd (due to consultant power). so any such libraries should be MS (VB/VC/maybe C#) compatible. any pointers highly appreciated. tiger _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED] _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
