Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 31291 invoked from network); 18 Apr 2005 20:23:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Apr 2005 20:23:02 -0000 Received: (qmail 29539 invoked by uid 500); 18 Apr 2005 20:22:55 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 29478 invoked by uid 500); 18 Apr 2005 20:22:55 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 29465 invoked by uid 99); 18 Apr 2005 20:22:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp2.netglobalis.cl (HELO smtp2.netglobalis.cl) (200.14.80.92) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 18 Apr 2005 13:22:54 -0700 Received: from cpath.psinet.cl ([200.14.80.251]:46670) by smtp2.netglobalis.cl with esmtp (Exim 4.50 #1 (mailNG/UNIX)) id 1DNcle-0003Ly-2d for ; Mon, 18 Apr 2005 16:22:50 -0400 Received: from [200.29.14.68] (200.29.14.68) by cpath.psinet.cl (5.1.056) id 42605C830000B955 for dev@httpd.apache.org; Mon, 18 Apr 2005 16:22:49 -0400 Message-ID: <42641792.70105@Ivn.cl> Date: Mon, 18 Apr 2005 16:24:50 -0400 From: "Ivan Barrera A." Reply-To: Bruce@Ivn.cl Organization: Ivn Systems/Software User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Reading byte to byte from client request X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi. I'm new to the list, and i hope not to be posting out of topic. I've been trying to do this (read byte to byte the client request) since a while, with no success. I've asked in the modules list also. My idea is to be able to know the time between every char that arrives. Why? because we've been atacked with some ddos script that opens a socket, put a chat, wait a second, put another char, and so on. I reproduced this script, and it works, consuming all http childs (or threads) and noone is able to see my sites anymore. Well. I've developed a mod that helps with this, but it still isn't able to detect this kind of attack. I've read a lot, followed the source code, and still don't understand where to put my filter (if there is any place to do this) so i can get access to the "stream". On another mod, i also want to do this, but in the output. So i can determine the speed the client is downloading. (so i can make a better bandwidth management mod). could anyone tell me where to look ? or some example on how to do it ? or simply.. if it cannot be done? Thanks a lot for taking the time to read this. Bruce.-