LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-28-2007, 10:22 AM   #1
TooSlow
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Rep: Reputation: 0
Monitoring/Shaping network traffic


Hi all,

What is the best bandwidth reporting/shaping utility for Linux? I'm looking to put a box in place to monitor/shape traffic for various office locations. If a certain package is known to co-exist or interact with common tools such as squid/dansguardian/etc that would be a plus but not a requirement.

Any ideas?

PS: Hope this is the right section, I posted it here because I assumed that network discussions would eventually take place (ie where would the box sit, would the card need to be in promiscuous mode, etc).

Thanks!
 
Old 06-28-2007, 10:32 AM   #2
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
Mmmm ... I don't know much about a lot application, but i know one that can do all the thing you mentionated.
Is name is VTun http://vtun.sourceforge.net/ ... You should check it out.

Seeya.
 
Old 06-28-2007, 10:35 AM   #3
TooSlow
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you for the recommendation. I already have a Juniper VPN appliance at all of our sites, would it be an acceptable solution to only use vtun for my traffic monitoring/shaping needs? This would be to monitor Internet traffic and ensure that the traffic used is more for business needs and not personal.
 
Old 06-28-2007, 04:17 PM   #4
Kaamos
Member
 
Registered: Jun 2007
Location: Chile
Distribution: Some ubuntu mixes, Suse, FC
Posts: 36

Rep: Reputation: 15
Ohh ... Da#@ ! ... I didn't see the Monitoring part ... My bad.
Well, for that you can always use Nmap ... Is one of the best network monitors you can find outhere.
About Vtun, is easy to configure, it allows to work over TCP and UDP Traffic, you can make shapping traffic and make it secure, by encrypting all the data that flows through the tunnel (use Blowfish encryption).
Both applications are simple and small and work very well.

I hope to more useful this time.

Seeya.
 
Old 06-28-2007, 10:25 PM   #5
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
Quote:
Originally Posted by TooSlow
Hi all,

What is the best bandwidth reporting/shaping utility for Linux? I'm looking to put a box in place to monitor/shape traffic for various office locations. If a certain package is known to co-exist or interact with common tools such as squid/dansguardian/etc that would be a plus but not a requirement.

Any ideas?
MRTG probably not the best - but very useful.

but i still dont get your idea how to monitor various external traffic (branches) with your linux box, and to shape them? why dont you go to juniper website, and check their network management. I dont know about their other product but for their Netscreen firewall i've used NSSM.

HTH.
 
Old 06-29-2007, 08:04 AM   #6
TooSlow
LQ Newbie
 
Registered: Sep 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks I'll check out MRTG. Yes technically I can shape traffic with QOS on the netscreen so technically it is not needed. But basically my plan is for this box to monitor all traffic and then I can see where my bandwidth is going. I am sometimes losing 100kbps on my T1 due to some unknown traffic and right now I have very little tools to trace it. So I'm hoping that I can put a box in place to do this.

Windows has a solution which is relatively cheap called NetLimiter but then I'd need a separate box just for that purpose. I'd rather consolidate my proxy/web filtering/bandwidth monitoring all on one box if possible.
 
Old 06-29-2007, 08:55 AM   #7
rsean
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
Hi,

We use the SafeSquid Composite 20 edition (free) as our content filtering proxy and application layer firewall. It has a feature 'Limits' that can be used to throttle QoS based on user, group, website being visited, mime type, size of content being downloaded, time, etc.

You can also define other parameters like Download transfer limit, Upload transfer limit and no. of Request allowed.

It also has a feature 'Multi Proxy', that can be used to control multiple SafeSquid proxies, installed in the same or remote locations. One SafeSquid server is configured as Master, and the remaining as Slave. All slave servers pick up rules from the Master. SO now you need to configure only the Master Server, while the slaves follow. You can also define specific rules for specific slaves.

Of course, it also has many other features like url filter, url blacklist, mime filter, cookie filter, header filter, built-in clients for a number of open source (ClamAV) and commercial AVs, universal ICAP client to talk to any ICAP server, content caching, ICP, CARP, request forwarding, url redirecting, document rewrite to block scripts like activex, java, appalets, etc., PAM to talk to external authenticating servers, etc. etc. etc.

If you would like to try it, you can download the full features free version that can be happily used in a 20-30 user network, from http://downloads.safesquid.net/free/...20-free.tar.gz
You need to register on the forum at http://www.safesquid.com/forum and use your ID to access the downloads site.

Best Regards
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
monitoring network traffic.... ashishjen Linux - Newbie 4 01-19-2007 11:57 AM
Traffic shaping for network w/ 1 NIC johnsto Linux - Networking 2 10-10-2004 05:55 AM
Network Traffic Monitoring jbstew32 Linux - Networking 6 05-26-2004 02:23 PM
Network traffic monitoring ?? TechnoBod Linux - Networking 1 02-10-2003 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration