From owner-freebsd-www Wed Dec 31 02:49:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA18429 for www-outgoing; Wed, 31 Dec 1997 02:49:57 -0800 (PST) (envelope-from owner-freebsd-www) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA18410 for ; Wed, 31 Dec 1997 02:49:44 -0800 (PST) (envelope-from wosch@cs.tu-berlin.de) Received: from panke.panke.de (anonymous215.ppp.cs.tu-berlin.de [130.149.17.215]) by mail.cs.tu-berlin.de (8.8.6/8.8.8) with ESMTP id LAA23902 for ; Wed, 31 Dec 1997 11:47:17 +0100 (MET) Received: (from wosch@localhost) by panke.panke.de (8.8.5/8.6.12) id LAA00614; Wed, 31 Dec 1997 11:45:30 +0100 (MET) To: www@FreeBSD.ORG Subject: [Marc Slemko ] Re: Apache DoS attack? From: Wolfram Schneider Date: 31 Dec 1997 11:45:26 +0100 Message-ID: Lines: 60 Sender: owner-freebsd-www@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ------- Start of forwarded message ------- Message-ID: Date: Tue, 30 Dec 1997 13:30:56 -0700 Reply-To: Marc Slemko From: Marc Slemko Subject: Re: Apache DoS attack? To: BUGTRAQ@NETSPACE.ORG On Tue, 30 Dec 1997, Marc Slemko wrote: [...] > Please see the patch Dean Gaudet has posted to bugtraq for the solution. Since people are telling me that Dean's post has not made it yet and asking for the patch, and I don't see it here yet, I am reposting his patch for 1.2. A similar thing applies to 1.3. This patch has been applied to the Apache CVS tree and will be available in a new release at some point in the reasonably near future. Index: src/util.c =================================================================== RCS file: /export/home/cvs/apache/src/util.c,v retrieving revision 1.52.2.2 diff -u -r1.52.2.2 util.c --- util.c 1997/06/27 01:47:47 1.52.2.2 +++ util.c 1997/12/30 18:09:15 @@ -328,14 +328,22 @@ } } -void no2slash(char *name) { - register int x,y; +void no2slash(char *name) +{ + char *d, *s; - for(x=0; name[x];) - if(x && (name[x-1] == '/') && (name[x] == '/')) - for(y=x+1;name[y-1];y++) - name[y-1] = name[y]; - else x++; + s = d = name; + while (*s) { + if ((*d++ = *s) == '/') { + do { + ++s; + } while (*s == '/'); + } + else { + ++s; + } + } + *d = '\0'; } char *make_dirstr(pool *p, const char *s, int n) { ------- End of forwarded message ------- From owner-freebsd-www Wed Dec 31 12:53:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA25764 for www-outgoing; Wed, 31 Dec 1997 12:53:35 -0800 (PST) (envelope-from owner-freebsd-www) Received: from post.mail.demon.net (post-10.mail.demon.net [194.217.242.154]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA25758 for ; Wed, 31 Dec 1997 12:53:32 -0800 (PST) (envelope-from ljohnston@cyberworld.demon.co.uk) Received: from cyberworld.demon.co.uk ([158.152.125.109]) by post.mail.demon.net id aa1001898; 31 Dec 97 20:49 GMT Message-ID: <34AAAFE2.BE3AAFB0@cyberworld.demon.co.uk> Date: Wed, 31 Dec 1997 20:49:38 +0000 From: Lee Johnston X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: www@FreeBSD.ORG Subject: FBSD User group X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-www@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I am setting up a BSD users group in the North East of England, I would be great if you could mention use on thr FBSD web page. The North East of England BSD Users group will specilize in FreeBSD, and are looking for new members. For more information email me at ljohnston@cyberworld.demon.co.uk. The launch date is aimed for March 1998. Thanks, Lee.