site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·Forum FAQ ·Attitude Adjustment ·Linux docs ·DistroWatch ·OPLM
AuthorAll Replies


JohnInSJ
Premium
join:2003-09-22
San Jose, CA
Reviews:
·PHONE POWER
·Comcast

reply to maxtor

Re: Bandwidth shaping only on port 80. Penalize heavy http.

Yeah, that's not typically what linux traffic shaping is going for.

How would your router know which user is which based on tcp/ip packets?

Also, note that you can't really shape/limit inbound traffic, only outbound traffic - you have no control over what the internet sends to you, unless you can get to whatever is upstream of you and shape it's outbound traffic - to your inbound side.

Here's a possible way to think about it (although this is not a solution, just something to maybe get you thinking...)

You could mark traffic from specific ip addresses on your network that you associate with various users (or at least various devices that belong to various users.)

Now, you can use the different marks you gave each of those packets to put those packets into different buckets.

From there, it's up to you to figure out how you want to divvy up your outbound pipe among them.
--
My place : »www.schettino.us

maxtor

join:2012-12-21
122002

HI John,

Thanks for replying.

said by JohnInSJ:

How would your router know which user is which based on tcp/ip packets?

Wouldn't the linux routing / nat table maintain a list of connections. I think that's how ntop is able to detect the top talker ? And then we can inject a delay to the top talker after a certain threshold, or based on the top talker data delay the ack packets ? Well....something of that sort.

I agree with you totally traffic shaping on the outbound traffic. But still need some guidance.
Thanks a lot again.

Saturday, 25-May 03:56:09 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics