Re: [LARTC] filters not doing anything?

Linux Advanced Routing and Traffic Control

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

 



On Monday 21 April 2003 00:12, Frank v Waveren wrote:
> On Sun, Apr 20, 2003 at 11:59:44PM +0200, Stef Coene wrote:
> > On Sunday 20 April 2003 23:56, Frank v Waveren wrote:
> > > Stef Coene wrote:
> > > tc filter add dev eth1 protocol ip parent 1: prio 2 u32 match u8 0 0x0
> > > at 0 flowid 2:1
> >
> > What do you want to match??????
>
> That should match anything, right? I tried not having any filter in
> the commandline as the HOWTO suggested, but tc didn't like it and
> complained:
You can specify a default class if you add the htb qdisc.  So all packets not 
matched by a filter ends up in that default class.
And try this if you want to have a catch all rule :
tc filter add dev eth0 parent 1: protocol ip u32 match ip src 0/0 flowid 2:1 

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux