Networking Forums

Networking Forums > Computer Networking > Linux Networking > limit outgoing bandwidth for an application

Reply
Thread Tools Display Modes

limit outgoing bandwidth for an application

 
 
Lasse K. Christiansen
Guest
Posts: n/a

 
      07-03-2003, 09:00 PM
How would i go about limiting outgoing bw from my computer for a specific
application ?

I know how to do it with a cisco router but not how to do it with Linux.

Actually i would like to police traffic so that outgoing http and rtp
requests would get as much bandwidth as needed while some specific
application would only be provided with a specific maximum amount of
bandwidth !

Have anyone done that ? or can this be done at all ?

Thanks in advance

Lasse
 
Reply With Quote
 
 
 
 
signuts
Guest
Posts: n/a

 
      07-03-2003, 09:08 PM
On Thu, 03 Jul 2003 23:00:55 +0200, Lasse K. Christiansen wrote:

> How would i go about limiting outgoing bw from my computer for a specific
> application ?

Although i'm not entirely sure how to do this I can point you in the right
direction. There are going to be a few problems I can think of off hand.
Using iptables (http://www.netfilter.org) you can limit traffic based on a
particular uid or gid and in conjunction with that and specifying the
destination port you should be able to properly limit the traffic. The
iptables targets you are probably interested in are LIMIT and ULOG (a
better LOG target replacement).



--
Sig
Thu Jul 3 17:06:19 EDT 2003

 
Reply With Quote
 
Nick Austin
Guest
Posts: n/a

 
      07-03-2003, 09:46 PM
On Thu, 03 Jul 2003 23:00:55 +0200, Lasse K. Christiansen wrote:

> How would i go about limiting outgoing bw from my computer for a
> specific application ?
>
> I know how to do it with a cisco router but not how to do it with Linux.


How would you do this with a Cisco router? Are you talking about layer 7
classification?


> Actually i would like to police traffic so that outgoing http and rtp
> requests would get as much bandwidth as needed while some specific
> application would only be provided with a specific maximum amount of
> bandwidth !


If your looking for layer 7 classification, then you should check this
out http://l7-filter.sourceforge.net/ other wise you should check the
owner match ability of iptables....

Good Luck!
 
Reply With Quote
 
Klaatu
Guest
Posts: n/a

 
      07-03-2003, 11:16 PM
Lasse K. Christiansen wrote:

> How would i go about limiting outgoing bw from my computer for a specific
> application ?
>
> I know how to do it with a cisco router but not how to do it with Linux.
>
> Actually i would like to police traffic so that outgoing http and rtp
> requests would get as much bandwidth as needed while some specific
> application would only be provided with a specific maximum amount of
> bandwidth !
>
> Have anyone done that ? or can this be done at all ?
>
> Thanks in advance
>
> Lasse


See Trickle http://freshmeat.net/projects/trickle/?topic_id=87
or Linux Bandwidth Arbitrator
http://freshmeat.net/projects/arbitr...c_id=253%2C150
 
Reply With Quote
 
Lasse K. Christiansen
Guest
Posts: n/a

 
      07-04-2003, 03:01 PM
I was kinda more interesting in policing and shaping the traffic not just
denying specific traffic ? will netfilter do that for me as well ? or am i
supposed to look into TC ??

Regards

Lasse

Den Thu, 03 Jul 2003 17:08:25 -0400. skrev signuts:

>> How would i go about limiting outgoing bw from my computer for a
>> specific application ?

> Although i'm not entirely sure how to do this I can point you in the right
> direction. There are going to be a few problems I can think of off hand.
> Using iptables (http://www.netfilter.org) you can limit traffic based on a
> particular uid or gid and in conjunction with that and specifying the
> destination port you should be able to properly limit the traffic. The
> iptables targets you are probably interested in are LIMIT and ULOG (a
> better LOG target replacement).


 
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
Force an application to use the IP I want for outgoing packets Gdss Linux Networking 13 01-24-2008 12:05 PM
Urgent! How to check the incoming and outgoing bandwidth! Please help Chris Windows Networking 5 07-25-2006 03:36 PM
bandwidth LImit ByteSurfer Windows Networking 0 12-07-2004 03:32 PM
Is it there a limit-rate downloading application? Xan Linux Networking 0 09-25-2004 09:51 AM
Bandwidth limit and QoS Przemo Karlikowski Windows Networking 0 02-08-2004 02:08 PM



1 2 3 4 5 6 7 8 9 10 11