[ale] Can stunnel be used in front of a small http server?

Rev. Johnny Healey rev.null at gmail.com
Wed May 3 12:51:39 EDT 2006


You could avoid using stunnel altogether and use a python-based xmlrpc
server.  Here's a pretty good tutorial on how to make python's built-in
xmlrpc server work with ssl:

http://www.shipyard.com.au/articles/webdevelopment/sslxmlrpc.py

-Johnny

On 5/3/06, Christopher Fowler <cfowler at outpostsentinel.com> wrote:
>
> On Wed, 2006-05-03 at 10:28 -0400, Jim wrote:
> > I'm trying to avoid installing a full blown apache server but I need a
> > xmlrpc server running secure (ssl).  I was thinking about one of the
> > small http servers with stunnel.
>
> You need to contact me directly.  I have this setup working great.
>
> 1.  thttpd
> 2.  stunnel
> 3.  xml-rpc available via ether 80 or 443
>
> Example of getting software version info from device:
>
> ---- request ----
> <?xml version="1.0"?>
> <methodCall>
> <methodName>version</methodName>
> <params>
> <param><value><string></string></value></param>
> </params>
> </methodCall>
> ---- response ----
> <?xml version="1.0"?>
> <methodResponse>
> <params>
> <param>
> <value><string>Version: 1.0.0 Development, Build:
> 050106-090415</string></value>
> </param>
> </params>
> </methodResponse>
> Version: 1.0.0 Development, Build: 050106-090415
>
> Now the only problem is that thttpd sees all 443 connections as coming
> from 127.0.0.1.  If that is okay then your in great shape to implement.
> >
> >
> > Has anyone heard of that?  Is it concievable?
> >
> > Thanks,
> > Jim.
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list