On Fri, 2010-10-29 at 05:48 -0700, Landy Landy wrote:
> 
> --- On Thu, 10/28/10, Andrew Beverley <[email protected]> wrote:
> 
> > From: Andrew Beverley <[email protected]>
> > Subject: Re: [squid-users] Limiting user's bandwidth
> > To: "Landy Landy" <[email protected]>
> > Cc: "Squid-Users" <[email protected]>
> > Date: Thursday, October 28, 2010, 6:33 PM
> > > > > $tc filter  add
> > dev eth1 parent 2:0 
> > > >    protocol ip prio 4 handle 1003 fw
> > classid
> > > > 2:1003
> > > > 
> > > > I'm no expert, but I would remove the prio
> > parameter. I
> > > > think this is
> > > > matching the prio value of a packet - probably
> > not what you
> > > > want. I
> > > > would also change the "classid" to "flowid".
> 
> Changed "classid" to "flowid" and got this error:
> 
> We have an error talking to the kernel
> RTNETLINK answers: Invalid argument
> Error: Qdisc "flowid" is classless.
> RTNETLINK answers: File exists
> We have an error talking to the kernel
> RTNETLINK answers: Invalid argument
> 
>       

Off the top of my head, I think you need to only include the MARK value
(eg 1003), so drop the "2:" part.

Andy


Reply via email to