Disclaimer: I'm fairly new to Apache internals. Unless Apache has some really strange hooks into TCP, I don't think packet counting should be possible. TCP is a transport layer protocol, and is thus up to the OS. For example, depending on the physical network connection in use and any tunnels, etc., the MTU size can vary, which will change your packet counts for the same Apache output, etc. There are specialized tools like tcpdump that can capture that information, but I think you will be limited to the contents of the TCP stream in any Apache module.
Rick Houser Auto-Owners Insurance Systems Support (517)703-2580 -----Original Message----- From: Andrej van der Zee [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 8:41 AM To: [EMAIL PROTECTED] Subject: number of bytes/packets sent/received Hi, I was wondering what would be the right way to get the number of bytes / packets that are sent / received in an Apache module for httpd-2.1 and higher (including the HTTP headers). Cheers, Andrej