LinuxQuestions.org
Help answer threads with 0 replies.
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 02-20-2004, 06:51 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 611

Rep: Reputation: 32
limit bandwidth control router linux


Hy!

I use a server as a squid proxy and router.

I would like to limit the bandwidth of routing a special server.

Is this possible ?

I` am using SLES8 and SuSeFirewall 2.
 
Old 02-20-2004, 07:24 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
You mean all connections going via squid proxy? I'm sure there is a param in the squid.conf file . can't remember now. Check www.squid-cache.org
 
Old 02-20-2004, 07:40 AM   #3
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 611

Original Poster
Rep: Reputation: 32
No!

I would like only to restrict one ip which is routed!

We use a mailserver which users the router to send and receive email. But some users like to send 100.000 mails each 5MB large so the whole internetconnetion is affected.

And i would like to limit the bandwith of the routed email-traffic !
 
Old 02-20-2004, 08:12 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
There are several useful kernel patches in the netfilter patchomatic-base system,
eg, connlimit - restrict the number of active connections
quota - set a connection quota and response
dstlimit - set a bandwidth limit against destination addresses

and from the patchomatic-pending system,
connbytes - to match volumes sent, against any other parameter
mms-conntrack - to match streaming media (bandwidth hogs)

as well as the basic netfilter/iptables limit match..
 
Old 02-24-2004, 07:23 AM   #5
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
In addition to that, if you're using sendmail then you can add directives to control the size of the email.
 
Old 02-24-2004, 10:42 AM   #6
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Another solution is to use QoS. The disadvantage for now, is that you may have tools which can do the same things and they are easier/faster to install/configure. The advantage is that with QoS, you can extend that to all other traffic
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
Bandwidth Limit Und Trafic Control fritz001 Slackware 1 10-22-2004 05:30 AM
How to limit Bandwidth per ip on linux? enteal Linux - Networking 2 03-31-2004 03:04 PM
Bandwidth Control in Linux digihall7 Linux - Networking 1 11-19-2003 04:25 AM
How to limit bandwidth in Linux !!! hitesh_linux Linux - Networking 3 03-21-2003 11:03 AM

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

All times are GMT -5. The time now is 04:49 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration