Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2008 12:26:07 +1000
From:      Jeremy Bogan <jeremy@segpub.com.au>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        fbsd2@yahoo.com, Sam Leffler <sam@freebsd.org>, freebsd-stable@freebsd.org
Subject:   Re: busybox and small scripting languages on FreeBSD ? (was Re: 80 Mb /	enough for 7.x? OK to delete /stand/ and /modules/ ?)
Message-ID:  <7DE3CD09-5DE0-4DCB-BF03-A17A3E9EC602@segpub.com.au>
In-Reply-To: <20080802233613.GA85083@onelab2.iet.unipi.it>
References:  <372128.56919.qm@web51502.mail.re2.yahoo.com> <20080802.002039.58462077.imp@bsdimp.com> <4894A9D8.2090606@freebsd.org> <20080802225643.GA84798@onelab2.iet.unipi.it> <4894E8C3.5060004@freebsd.org> <20080802233613.GA85083@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Nginx works nicely in a small environment.

On 03/08/2008, at 9:36 AM, Luigi Rizzo wrote:

> On Sat, Aug 02, 2008 at 04:07:47PM -0700, Sam Leffler wrote:
>> Luigi Rizzo wrote:
> ...
>>> Also, what would you suggest as a small scripting language to be  
>>> used
>>> in this kind of platform for implementing CGI scripts (and  
>>> preferably
>>> able to use sockets/select) ?
> ...
>> Not sure about scripting languages but what's really needed is a
>> lightweight http solution that supports ssl.  This can go a long way
>> before you get to php et. al.  My last project of this sort used
>> tinyhttp (I think, whichever one Jeff Pozkanzer did) and php.  But we
>> didn't try to fit in flash, we used compact flash parts.  I think
>> tinyhttpd+php is also what m0n0wall and pfsense use but haven't  
>> looked
>> in a while.
>
> I think this http/ssl problem is reasonably well addressed by
> mini_httpd (this is Jeff Pozkanzer's code, about 50kb) and a small
> SSL library which you find in ports/security/xyssl (300kb).
>
> Mini_httpd uses the regular openssl libraries, but the xyssl API is
> reasonably similar to the SSL_* calls in openssl so it should be
> relatively straightforward to use in mini_httpd -- I did this in
> another project, even though only on the client side of https
> http://info.iet.unipi.it/~luigi/FreeBSD/minixmlrpc/
> and it took very short time to adapt the code from openssl to xyssl.
>
> 	cheers
> 	luigi
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org 
> "
>

-- 
jeremy bogan    [ jeremy@segpub.com.au ]
segment publishing - design.develop.host




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DE3CD09-5DE0-4DCB-BF03-A17A3E9EC602>