Thanks Eugene Yunak,

I'm sorry if I don't explain correctly by language problems.

I need to know how Mb or Kb have received or sent every IP address, or Consumed/Available bandwidth ratio. The client only need a way to measure the IP that download/upload more packets.

I hope that help to explain the problem.

On 02/10/10 01:25, Eugene Yunak wrote:
On 2 October 2010 04:57, Hermes Ojeda Ruiz <hermes....@gmail.com <mailto:hermes....@gmail.com>> wrote:

    Hi,

    I'm working with a OpenBSD firewall on embedded hardware, and the
    client
    want to know the bandwidth consume by IP address.

    I don't know if this is possible using PF, another tool or making
    scripts to
    get the information.

    I'm worried about the performance, because, some weeks ago I make
    a question
    in the list "How distribute bandwidth by IP's", and I solved it,
    using a lot
    of cbq's by ip address (~150 ip address) like was recommended on the
    replies, of course, using an script to generate it. That's work,
    perfect,
    but generate some delays on the packets, and if I log everything
    it can make
    the connection useless. The firewall is running in a Soekris net5501.

    Sorry, if this is a fool question, and my bad english.

    --
    Hermes Ojeda Ruiz



Hi Hermes,

This is probably due to the native-language problem, but your question is a bit incorrect. The bandwidth consumed by "IP address" is 4x2=8 bytes per each packet (unless we are speaking of IPv6). But this is not what you want to know. So what do you need? Consumed/Available bandwidth ratio? (my best guess)

Hope the clarification of your question will help others answer you.


Cheers,
Eugene

--
The best the little guy can do is what
the little guy does right

Reply via email to