From owner-freebsd-stable@FreeBSD.ORG Sun Aug 3 02:52:52 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E90701065675 for ; Sun, 3 Aug 2008 02:52:52 +0000 (UTC) (envelope-from jeremy@segpub.com.au) Received: from yoda.segpub.com.au (yoda.segpub.com.au [65.61.166.107]) by mx1.freebsd.org (Postfix) with SMTP id A6FE78FC0C for ; Sun, 3 Aug 2008 02:52:52 +0000 (UTC) (envelope-from jeremy@segpub.com.au) Received: (qmail 8182 invoked by uid 89); 3 Aug 2008 02:26:10 -0000 Received: from unknown (HELO ?192.168.0.3?) (150.101.118.145) by 0 with SMTP; 3 Aug 2008 02:26:10 -0000 Message-Id: <7DE3CD09-5DE0-4DCB-BF03-A17A3E9EC602@segpub.com.au> From: Jeremy Bogan To: Luigi Rizzo In-Reply-To: <20080802233613.GA85083@onelab2.iet.unipi.it> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Sun, 3 Aug 2008 12:26:07 +1000 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> X-Mailer: Apple Mail (2.926) Cc: fbsd2@yahoo.com, Sam Leffler , 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/ ?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2008 02:52:53 -0000 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