From owner-freebsd-security Fri Nov 20 13:17:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA19534 for freebsd-security-outgoing; Fri, 20 Nov 1998 13:17:56 -0800 (PST) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA19526 for ; Fri, 20 Nov 1998 13:17:52 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id NAA08185; Fri, 20 Nov 1998 13:16:27 -0800 (PST) Received: from utah.XYLAN.COM by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id NAA20036; Fri, 20 Nov 1998 13:16:26 -0800 Received: from softweyr.com by utah.XYLAN.COM (SMI-8.6/SMI-SVR4 (xylan utah [SPOOL])) id OAA22716; Fri, 20 Nov 1998 14:16:24 -0700 Message-ID: <3655DC28.602046DB@softweyr.com> Date: Fri, 20 Nov 1998 14:16:24 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jeroen Ruigrok/Asmodai CC: Matthew Dillon , Per Kristian Hove , freebsd-security@FreeBSD.ORG, Andrew McNaughton Subject: Re: pkhttpd (Was: Would this make FreeBSD more secure?) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jeroen Ruigrok/Asmodai wrote: > > OK, that's all cute ;) > > But how big would a fully functional HTTP 1.0 or 1.1 compliant server be? > Because for embedded systems (read picoBSD) we need to make such decisions and > based on the results implement them. > > *digs out the RFC specs...* Not very. I did one for the Internet Station, on a 486, the complete server code was about 18K. This included supporting "active pages" with custom HTML tags to suck in and present the values of system variables and configuration settings, and support for HTML FORM input processing. Don't use stdio and you'll keep your code size down significantly. -- Where am I, and what am I doing in this handbasket? Wes Peters +1.801.915.2061 Softweyr LLC wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message