Re: How can I test my tc script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2011-02-05 at 22:14 -0400, Optimum Wireless Services wrote:
> On Sat, 2011-02-05 at 12:27 +0000, Andrew Beverley wrote:
> > On Sat, 2011-02-05 at 02:07 -0400, Optimum Wireless Services wrote:
> > > Now, for the upload I cant get it shape with squid running in the
> > > middle. If I remove squid then, traffic shaping works ok.
> > > 
> > 
> > If you are doing egress shaping on the internet facing interface for the
> > upload (which I assume you are - you can't use HTB on ingress), then it
> > will not work for Squid. That's because Squid's traffic leaving the
> > server is coming from the server's IP address, not from the client's IP
> > address (Squid is generating the traffic, not the client). Therefore,
> > your filter will never match the traffic. Normal traffic from a client
> > is forwarded and retains its source IP address.
> > 
> 
> Do you think I should go back to this method?
> 
> I have 120 users now but, that number should be increasing. Which method
> do you recommend?

I think that you should forget the per-user stuff as per my other email
and classify traffic. Just my personal opinion - I'd be interested to
hear what others think.

Andy


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux