Skip to contentSkip to conversation

Packet per Second

DISCUSSION Flávio Pires 4 participants 7 messages Dec 14, 2007 – Dec 18, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

It's my first time using usenet...

Well, I work on an ISP and we have a linux box acting as a bridge+firewall. With this bridge+firewall we control the packet rate per second from each client and from our repeaters. But I can`t measure the packet rate per IP. Is there any tool for this?

Actually, what I want is to measure the packet rate per IP and generate graphics with mrtg or rrdtool, but for this I must have the number of packets per second of each client :)

Thank you all
--
Flávio

Signature · 2 lines
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
#1 lore raw
Quoted 9 lines · On Fri, 14 Dec 2007 15:34:10 +0000 (UTC) Flávio Pires…

Hi all,

It's my first time using usenet...

Well, I work on an ISP and we have a linux box acting as a bridge+firewall. With this bridge+firewall we control the packet rate per second from each client and from our repeaters. But I can`t measure the packet rate per IP. Is there any tool for this?

Quoted 9 lines

Actually, what I want is to measure the packet rate per IP and generate graphics with mrtg or rrdtool, but for this I must have the number of packets per second of each client :)

Thank you all
--
Flávio

Not that I know of, but you might look at:
http://www.bandwidtharbitrator.com/

Signature · 1 line
Stephen Hemminger <[email protected]>
#2 lore raw

In article <20071214085602.11a09070@deepthought> Stephen

Quoted 15 lines · Hemminger
Quoted 13 lines · On Fri, 14 Dec 2007 15:34:10 +0000 (UTC) Fl‡vio Pires…

Hi all,

It's my first time using usenet...

Well, I work on an ISP and we have a linux box acting as a
bridge+firewall. With this bridge+firewall we control the packet rate per second from each client and from our repeaters. But I can`t measure the packet rate per IP. Is there any tool for this?

Actually, what I want is to measure the packet rate per IP and
generate graphics with mrtg or rrdtool, but for this I must have the number of packets per second of each client :)

Quoted 8 lines
Quoted 4 lines

Thank you all
--
Fl‡vio

Not that I know of, but you might look at:
http://www.bandwidtharbitrator.com/

Yeah, we have a proprietary solution from etinc it does bandwidth control and firewall... but using his firewall let this machine too slow, so we created a box just for firewall... Then we need a way to measure pps per host so we can determine which limits fits better to our clients and our own needs.

Signature · 2 lines
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
#3 lore raw
In reply to Flávio Pires
Quoted 4 lines · Flávio Pires

Well, I work on an ISP and we have a linux box acting as a bridge+firewall. With this bridge+firewall we control the packet rate per second from each client and from our repeaters. But I can`t measure the packet rate per IP. Is there any tool for this?

The usual approach is to generate NetFlow records -- there are a number of Linux tools for this. Collect them with a collector (flow-tools being a common choice). Then have a Perl script which reads the flow records, processes them whichever way you desire, and drops the result into a rrdtool file (there are modules for both reading the flow-tools data and outputing in the rrdtool format). The rrdtool utilities have a limited range of graphs, but there is a huge selection of graphing packages from other authors for rrdtool-stored data (Drraw, etc). Flow-tools also has some third-party analysis tools, some of those have good "top talker" statistics.

This is a lot of work, since you are really putting a complete measurement infrastructure in place to get the one statistic you desire. But I'd encourage you to do that, since knowing one statistic usually leads to further questions of the data.

Signature · 2 lines
Glen Turner, Senior Network Engineer
Australia's Academic & Research Network    www.aarnet.edu.au
#4 lore raw

In article <1197671513.5973.10.camel@andromache> Glen

Quoted 18 lines · Turner
Quoted 4 lines · Fl‡vio Pires

Well, I work on an ISP and we have a linux box acting as a
bridge+firewall. With this bridge+firewall we control the packet rate per second from each client and from our repeaters. But I can`t measure the packet rate per IP. Is there any tool for this?

The usual approach is to generate NetFlow records -- there are a number of Linux tools for this. Collect them with a
collector(flow-tools being a common choice). Then have a Perl script which reads the flow records, processes them whichever way you desire, and drops the result into a rrdtool file (there are modules for both reading the flow-tools data and outputing in the rrdtoolformat). The rrdtool utilities have a limited range of graphs, but there is a huge selection of graphing packages from other authors for rrdtool-stored data (Drraw, etc). Flow-tools also
has some third-party analysis tools, some of those have good "top talker" statistics.

Quoted 4 lines

This is a lot of work, since you are really putting a
completemeasurement infrastructure in place to get the one statistic you desire. But I'd encourage you to do that, since knowing
one statistic usually leads to further questions of the data

Thx for the answer Glen,

I alread though about something like this. But, isn`t NetFlow just for Cisco IOS ?

Signature · 2 lines
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
#5 lore raw
Quoted 8 lines · Flávio Pires

In article <1197671513.5973.10.camel@andromache> Glen

Quoted 5 lines · Turner
Quoted 4 lines · Fl‡vio Pires

Well, I work on an ISP and we have a linux box acting as a
bridge+firewall. With this bridge+firewall we control the packet rate per second from each client and from our repeaters. But I can`t measure the packet rate per IP. Is there any tool for this?

Quoted 4 lines

Thx for the answer Glen,

I alread though about something like this. But, isn`t NetFlow just for Cisco IOS ?

You probably want this, or at least its sources:

http://packages.debian.org/stable/net/fprobe-ng

the "non-ng" version is probably called: fprobe-ulog

Then you want also NetFlow collector/accounter..

/Matti Aarnio

#6 lore raw
In reply to Flávio Pires

[Apologies for off-topic]

Quoted 2 lines · Flávio Pires

I alread though about something like this. But, isn`t NetFlow just for Cisco IOS ?

NetFlow is a trade mark of Cisco Systems Inc (USA).

Packets in the identical format used by NetFlow are produced by a wide range of networking equipment, including a number of Linux tools. I've seen the Linux tools used in customer networks but I've never evaluated them myself, which is why I'm didn't make a recommendation of a particular tool for the sampler.

Because of the trade mark you'll often find NetFlow traffic samplers under names other than NetFlow (eg, Juniper uses "cflowd" as a synonym for NetFlow). There is one exception:
sFlow is *not* identical to the NetFlow format.

If you want more information on ISP accounting tools, the NANOG list is a more suitable forum. The Cisco-NSP and Juniper-NSP lists often host useful discussions too. The archives of all these lists are online.

Best wishes, Glen

Signature · 2 lines
Glen Turner   <http://www.gdt.id.au/~gdt/>
Tel: 0416 295 857 or +61 416 295 857