[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SSL support
From: |
Christian Hopp |
Subject: |
Re: SSL support |
Date: |
Fri, 20 Sep 2002 22:40:59 +0200 (CEST) |
On 19 Sep 2002, Jan-Henrik Haukeland wrote:
> Very cool! Oddly enough I'm also working with implementing SSL
> support, not for monit though but for my zervlet system and I thought
> about moving some code over to monit when I'm done. But this means I
> don't have to :-)
(-:
> 1) I'm learning SSL from this book http://www.opensslbook.com/ It's
> not a particulary good book, but okay and the only one about openssl.
> There are also code examples at the web-site, but also not particulary
> good..
And actually the site sucks. (-: I have found nothing that I can
use... for free.
> 2) I just browsed through your code (very fast) and I think you will
> need two things at least, properly seeding the openssl prng and Thread
> locking support since monit uses threads.
seeding: took you code
threads: also took your code and more
> The last one is tricky but I have enclosed some of my current code
> from zervlet, check out especially Crypto_start/Crypto_stop. It
> won't compile since there are some dependencies to other functions
> in the zervlet lib but will give you a good start on initializing
> the ssl library properly. You can use this code in monit if you want
> to, never mind the licensing header :-)
I gonna oversee it.(-:
> I'm doing it like this since I'm planing on using zervlet on Win32
> as well
"Danger" is your middle name... or better "insanity"? (-:
I have attached a new version which should be somehow, maybe...
hopefully a little bit threading safe. Btw... why is monit
multithreadded? I mean, it is obvious that monit IS multithreadded...
but why did you do it so.
It's late I wanna go home now... (-:
Christian
--
Christian Hopp email: address@hidden
Institut für Elektrische Informationstechnik fon: +49-5323-72-2113
Technische Universität Clausthal fax: +49-5323-72-3197
pgpkey: https://www.iei.tu-clausthal.de/pgp-keys/chopp.key.asc (2001-11-22)
monit-ssl-lib-v2.tar.gz
Description: Binary data