Archived

This topic is now archived and is closed to further replies.

Raduprv

Consumed traffic question.

Recommended Posts

Nypyren    12074
*whistle* ... not that I know of without MASS trickery...

Packet sniffers only know what data is seen by the card, not by particular processes.

Performance counters likewise only keep track of each NIC.

hooking a process and snooping all up ons would perhaps give you the ports that it had open, at which point the packet sniffer could watch inbound data on those ports... (but I have no idea what you would do to determine open ports on a per-process basis)

Share this post


Link to post
Share on other sites
Raduprv    997
Hmm...
Well, basically, I want to know how much traffic my mmorpg server generates.
It is also the only program on that machine that generates any traffic on the port 2000 (TCP).
One obvious way to count the generated traffic would be to just count the bytes in and out, on the server itself, but that would only give me the data trasferred, not the whole traffic itself (headers, retries, etc.)

Height Map Editor | Eternal Lands | Fast User Directory

Share this post


Link to post
Share on other sites
Interim    122
You could run something like ''ntop'' and just monitor your MMORPG port. It even analyzes some packet info stats and presents it in a web page output.

Int.

Share this post


Link to post
Share on other sites
Interim    122
I can''t remember if it does, probably, since it can run promiscuous. Perhaps it won''t if you just want to listen to your incoming traffic. I think I always ran it as root. It''s essentially a network analyzer, and I think almost all of them will likely require or need root access to do their work.

If you have access to the network your machine is on, you could add to the physical layer with your MMORPG and gather the stats on a second machine?

Int.

Share this post


Link to post
Share on other sites