Networking Forums

Networking Forums > Computer Networking > Linux Networking > Transparent Internet Bandwidth / Usage monitoring

Reply
Thread Tools Display Modes

Transparent Internet Bandwidth / Usage monitoring

 
 
Sam
Guest
Posts: n/a

 
      04-25-2008, 05:35 PM
I am interested in created an internet bandwidth monitoring system for
non-profit organizations. These organizations range from 10 to 200
users. The system would only be in place for a week at a time, it is
not a long term solution.

It is my understanding that to do this I would need a device that sits
between the internet and my firewall (or a device that is my
firewall).

I thought that a decent linux box with two ethernet cards would be
well suited to this, but I do not know its impact on a number of
issues:

1. Would this computer interfere with routing to internal devices
(both those with dedicated IP addresses and those using NAT)?
2. Would the computer be able to take the load of so much traffic in
addition to monitoring?
3. What software should I use?
4. Is there a simpler, reasonably priced, hardware solution?
5. Is it an unbelievable security risk to place a box unprotected on
the WAN side of my firewall? Can I place a secondary firewall on the
other side?

Thanks in advance.
 
Reply With Quote
 
 
 
 
Joachim Mæland
Guest
Posts: n/a

 
      04-26-2008, 10:06 AM
On Fri, 25 Apr 2008 10:35:47 -0700, Sam wrote:

> I am interested in created an internet bandwidth monitoring system for
> non-profit organizations. These organizations range from 10 to 200
> users. The system would only be in place for a week at a time, it is not
> a long term solution.

[..]
> 3. What software should I use?


Google for "iptables monitor bandwidth"...


--
Regards/mvh Joachim Mæland

If everything seems under control, you're just not going fast enough.
-Mario Andretti
 
Reply With Quote
 
Sam
Guest
Posts: n/a

 
      04-27-2008, 04:00 AM
On Apr 26, 6:06*am, Joachim Mæland <jm-n...@profine.net> wrote:
> On Fri, 25 Apr 2008 10:35:47 -0700, Sam wrote:
> > I am interested in created an internet bandwidth monitoring system for
> > non-profit organizations. These organizations range from 10 to 200
> > users. The system would only be in place for a week at a time, it is not
> > a long term solution.

> [..]
> > 3. What software should I use?

>
> Google for "iptables monitor bandwidth"...
>
> --
> Regards/mvh * * Joachim Mæland
>
> If everything seems under control, you're just not going fast enough.
> -Mario Andretti


I had come across iptables, which seems to do what I want. Most of the
sites that mention it, however, cite it as a way to monitor personal
bandwidth, not organizational wide bandwidth. While clearly it would
work for that purpose, my concern is routing and security. Any
thoughts on those topics?
 
Reply With Quote
 
Joachim Mæland
Guest
Posts: n/a

 
      04-27-2008, 06:29 AM
On Sat, 26 Apr 2008 21:00:19 -0700, Sam wrote:

> I had come across iptables, which seems to do what I want. Most of the
> sites that mention it, however, cite it as a way to monitor personal
> bandwidth, not organizational wide bandwidth. While clearly it would
> work for that purpose, my concern is routing and security. Any thoughts
> on those topics?


This article shows how to set up counters on a host/subnet basis:
http://www.linux.com/articles/50649

1. Adding an iptables enabled bridge/router between your current firewall
and WAN will surely not pose additional security risks to your LAN. This
setup however is not able to separate traffic on a subnet/host basis, (in
your LAN).

2. Adding an iptables enabled bridge/router between your current firewall
and LAN subnets/hosts does not pose additional security risks to your
LAN, unless you make it reachable from the WAN side of the firewall.

3. I can't see why adding custom chains for differential monitoring to an
existing iptables enabled firewall would have security implications.
Heck; iptables is the Linux firewall, and has been, almost since
dinosaurs walked the earth.

Reading counters from the bridge/firewall might disclose sensitive
information about your LAN and traffic patterns, but there's nothing to
suggest that a cracker can read those counters, without owning the bridge/
firewall/router in the first place.


--
Regards/mvh Joachim Mæland

If everything seems under control, you're just not going fast enough.
-Mario Andretti
 
Reply With Quote
 
Sam
Guest
Posts: n/a

 
      04-27-2008, 09:07 PM
On Apr 27, 2:29*am, Joachim Mæland <jm-n...@profine.net> wrote:
> On Sat, 26 Apr 2008 21:00:19 -0700, Sam wrote:
> > I had come across iptables, which seems to do what I want. Most of the
> > sites that mention it, however, cite it as a way to monitor personal
> > bandwidth, not organizational wide bandwidth. While clearly it would
> > work for that purpose, my concern is routing and security. Any thoughts
> > on those topics?

>
> This article shows how to set up counters on a host/subnet basis:http://www.linux.com/articles/50649
>
> 1. Adding an iptables enabled bridge/router between your current firewall
> and WAN will surely not pose additional security risks to your LAN. This
> setup however is not able to separate traffic on a subnet/host basis, (in
> your LAN).
>
> 2. Adding an iptables enabled bridge/router between your current firewall
> and LAN subnets/hosts does not pose additional security risks to your
> LAN, unless you make it reachable from the WAN side of the firewall.
>
> 3. I can't see why adding custom chains for differential monitoring to an
> existing iptables enabled firewall would have security implications.
> Heck; iptables is the Linux firewall, and has been, almost since
> dinosaurs walked the earth.
>
> Reading counters from the bridge/firewall might disclose sensitive
> information about your LAN and traffic patterns, but there's nothing to
> suggest that a cracker can read those counters, without owning the bridge/
> firewall/router in the first place.
>
> --
> Regards/mvh * * Joachim Mæland
>
> If everything seems under control, you're just not going fast enough.
> -Mario Andretti


How would routing work? Could computers with dedicated external IPs
still use those IPs inside of the iptables box?
 
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
internet usage monitoring chamafk@gmail.com Windows Networking 2 10-30-2008 12:24 PM
Monitoring bandwidth usage - writing a simple monitor cga2000 Linux Networking 4 01-01-2008 08:18 PM
Internet usage monitoring saurabh Windows Networking 2 01-18-2007 09:39 PM
Only monitoring Internet Bandwidth - A longstanding problem Tony Home Networking 10 01-11-2007 06:15 PM
Internet bandwidth usage statistics jungsook.yang@gmail.com Linux Networking 0 10-11-2006 04:42 PM



1 2 3 4 5 6 7 8 9 10 11