views:

305

answers:

5

Hey guys,

I've been tasked with finding a way to log every outgoing request from one of our servers. It cannot be a proxy or firewall of any kind. It simply needs to sit in memory and watch the outgoing traffic and log what it sees. I'm going to be building metrics on this later and it needs to be free/open source.

I've done some googling and checked all my traditional sources for cool little apps and haven't come up with anything.

Does anyone here know of something that might fit what I need?

PS. It's a Windows Server

+1  A: 

If you're running on Linux, look at the man page for tcpdump. For Windows Google search on libpcap. These will capture traffic based on port, so you should be able to capture web traffic stats. These log at the packet level, which may require you to digest the raw data before processint it for "interesting" statistics.

Jim Garrison
A: 

mrtg and/or rrdtool

just somebody
+2  A: 

You could probably build something like this using the WinPcap library.

http://www.winpcap.org/

Dan
I'm accepting this one as the answer as I'm going with Wireshark which uses winpcap.
MWill
A: 

You can install a proxy at your server. Membrane Montior is a small proxy that can monitor HTTP and SOAP.

baranco
A: 

Wireshark is a tool that I use frequently when trying to monitor network traffic.

tomlog