Logging Gnutella network statistics to a database

gib0002

New member
Hi,
Are there any programs available, preferable for unix, that will log the packets that pass through them into a database. I have actually written a client myself but I wouldn't want to trust that my program was not hurting the network
Any suggestion for a specific program or possibly a program that would be easily modified? I had a look through gnut but couldn't really find my way.
Look forward to your replies,
John
P.S. I imagine that what the gnutellameter.com guy uses might be good but I've not found a link on the site to download software/email them
 
I also did some analysis for my thesis: I log everything using the syslog function on a Linux system.

it shoul be simple: just send all the packets you receive and send to syslog. BUT you know thats gonna be a lot of data in a short time....
 
Is there some automatic way I can do this? Editing a config file or something?

Thinking about it it does sound like a good idea. I can leave all the routing functions to someone else's gnutella client and just do a bit of parsing myself. Data storage should be fine, but can you suggest a meg(gig?!)/day throughput I might get?
John
 
Actually it is pretty simple:
This is my C File called Logging.c It's pretty simple.

#include
#include

#include "Logging.h"


void initLog()
{
 
Back
Top