From owner-freebsd-hackers Fri Nov 15 09:41:45 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA02281 for hackers-outgoing; Fri, 15 Nov 1996 09:41:45 -0800 (PST) Received: from relay.ieunet.ie (relay.ieunet.ie [192.111.39.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA02268 for ; Fri, 15 Nov 1996 09:41:28 -0800 (PST) Received: from nixdub.sse.ie by relay.ieunet.ie with SMTP id aa24445; 15 Nov 96 17:39 +0000 Received: from bold (bold.sse.ie [193.120.33.33]) by nixdub.sse.ie (8.6.4/8.6.4) with SMTP id RAA25738; Fri, 15 Nov 1996 17:38:55 GMT Message-ID: <328CABA7.74E0@brd.ie> Date: Fri, 15 Nov 1996 17:43:03 +0000 From: "Frank O'Dwyer" X-Mailer: Mozilla 2.01 (WinNT; I) MIME-Version: 1.0 To: hal@vailsys.com CC: hackers@freebsd.org Subject: Re: Programming technique for non-forking servers? References: <199611142228.PAA24870@phaeton.artisoft.com> <328C9AE5.7339@vailsys.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hal Snyder wrote: > Not exactly on subject, but does anyone know of a C++ class library for > network servers? Or is C++ still mainly for cooking application-level > code? > > I've looked as socket++, but it seems to have been abandoned, not sure > why. I'm writing one with an emphasis on security called 'FFC' ('firewall foundation classes'). It's still prealpha (i.e. very incomplete and somewhat buggy) but you can find out about it (and download a prerelease) at http://www.iol.ie/~fod/ffc.html. It requires FreeBSD 2.1R with gcc 2.7.2.1, or WIN32 with MSVC 4.2. I expect to make a more interesting release in about a month or so, so you may want to hold off til then. Otherwise, a pretty good and more mature class library is 'ACE'. I don't have the reference handy but it's linked off the URL above. It is also cross-platform but adds classes for concurrency, threads, semaphores and so on. I haven't managed to port it to FreeBSD yet though. If you do I'd appreciate a copy of the patches. Basically, my idea with FFC is to hopefully be simpler than ACE (i.e. be suitable for firewalls), to add more support for crypto, and to review it for security holes once the design stabilises. I also hope to leverage kernel features in FreeBSD (ip filtering, etc. + ipsec when and if). Anyone is welcome to contribute or to comment on what's there, of course... FFC is/will be free software (as is ACE, AFAIK). Cheers, Frank O'Dwyer.