Networking Forums

Networking Forums > Computer Networking > Linux Networking > Counting Bandwidth Usage Thru Ip Tables

Reply
Thread Tools Display Modes

Counting Bandwidth Usage Thru Ip Tables

 
 
garg_dinesh
Guest
Posts: n/a

 
      04-22-2004, 02:50 PM
is it possible to count the bandwidth usage through IP Tables?



----------------------------------------
The post originated from Linux Forum:
----------------------------------------
http://www.linuxforum.com
http://www.linuxforum.com/forums


 
Reply With Quote
 
 
 
 
Marco Dieckhoff
Guest
Posts: n/a

 
      04-22-2004, 07:59 PM
On 2004-04-22, jack <(E-Mail Removed)> wrote:
> garg_dinesh wrote:
>> is it possible to count the bandwidth usage through IP Tables?

>
> No. - Iptables does not deal with time in any way. It will count
> traffic, though.
>
> If You define bandwith as "amount of data in a certain period of
> time", this is where iptables alone won't help You.
>
> You can periodically read the counters and divide the difference
> to the last reading by the period of time that has elapsed since then,
> but I don't think that's what You want.
>
> There are other tools around to deal with this.


e.g. ipac(-ng).

That defines iptables rules, read their accounting via cronjob and
save the values to files or a database, and sums up.

--
Marco Dieckhoff
icq# 22243433
GPG Key 0x1A6C95BA -- http://www.frankonia-brunonia.de/keys
 
Reply With Quote
 
jack
Guest
Posts: n/a

 
      04-22-2004, 07:59 PM
garg_dinesh wrote:
> is it possible to count the bandwidth usage through IP Tables?


No. - Iptables does not deal with time in any way. It will count
traffic, though.

If You define bandwith as "amount of data in a certain period of
time", this is where iptables alone won't help You.

You can periodically read the counters and divide the difference
to the last reading by the period of time that has elapsed since then,
but I don't think that's what You want.

There are other tools around to deal with this.


Cheers, Jack.

--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum bandwidth usage pk Linux Networking 10 06-22-2010 09:39 PM
Tracking Bandwidth Usage Evilkikass Windows Networking 3 09-27-2007 09:50 PM
ridiculous bandwidth usage phillip_tweedie@msn.com Wireless Internet 2 11-13-2005 03:41 AM
Measuring bandwidth usage Mark Allison Broadband 3 09-22-2004 02:26 PM
Measuring bandwidth usage Alan Windows Networking 5 07-15-2004 01:01 AM



1 2 3 4 5 6 7 8 9 10 11