[ale] Perl + SSL

Christopher Fowler cfowler at outpostsentinel.com
Wed May 19 09:52:40 EDT 2004


The only problem I've experienced with stunnel is when I need to use
getpeername() to determine who is contacting me.  When stunnel is in the
middle then it appears as if 127.0.0.1 is the one that I'm talking to. 
Maybe I've misconfigured it?

On Wed, 2004-05-19 at 09:44, Fletch wrote:
> You can use ssl for just encryption, you don't need to go whole hog
> and use its authentication features as well.  Also consider just
> passing on implementing the crypto in your software and using stunnel
> or ssh to pass the traffic.  You're most likely better off using a
> proven protocol than trying to implement your own even if you use off
> the shelf algorithms (stop and immediately read Schneier's _Secrets
> and Lies_ NOW if you haven't already :).
> 
> 
> At any rate, if you still want to do it yourself look at
> Crypt::SSLeay, Net::SSLeay, and the other Crypt:: modules on CPAN
> (probably using something like Crypt::Blowfish with Crypt::DH to do
> key exchange).
> 



More information about the Ale mailing list