[Winpcap-users] Bandwidth Meter with Winpcap!

Gianluca Varenni gianluca.varenni at cacetech.com
Tue Mar 31 13:26:19 PDT 2009


As you said, the easiest way is opening two instances on the same interface and use the stat mode. Otherwise, you will need to process all the packets on your own in your application and compute such statistics.

Hope it helps
GV
  ----- Original Message ----- 
  From: bransh bransh 
  To: winpcap-users at winpcap.org 
  Sent: Sunday, March 29, 2009 8:18 PM
  Subject: [Winpcap-users] Bandwidth Meter with Winpcap!


  First of all, I want to greet you all.

          I'd like to use my NIC in promiscuos mode and mesure the upload bandwidth used by a determined host (filtering them by the source IP address of the packet) and at the same time the download bandwidth used by the same host (it's clear that I want two different "counters"). The problem is I can't figure out how to do it by using Winpcap.
          At first I thought that I could use the statistic mode but I'm not sure because I had to create two instances of a device (one for filter the upload traffic and another to filter the download traffic) so as to mesure them separately.

  Could you help me by giving me some idea of what I've to look for?

  Thanks very much for your answers...

  Juan E. Caillava










------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090331/3fe0a48d/attachment.htm 


More information about the Winpcap-users mailing list