* Andy Furniss <41DD3CBC.1010108@xxxxxxxxxxxxx> 2005-01-06 13:27 > Thomas Graf wrote: > >* Andy Furniss <41DCFE27.4030704@xxxxxxxxxxxxx> 2005-01-06 09:00 > > > >>I retried with a vanilla 2.6.10 + iptables 1.2.11 on a different box and > >>it is the same. > > > > > >2 options: > > 1) get latest -bk snapshot and apply > > http://people.suug.ch/~tgr/patches/pending/ > > The patchset fixes a lot of small issues, adds action capabilities to > > all classifiers, and extends tcindex and route classifier to be > > changeable > > during runtime. If problem remains, goto to 2. > > Could take some time - I don't have bitkeeper and will have to find some > disk space. I'll try soon(ish). You don't need bitkeeper, just download the .10 and the latest patch to get to -bk8 then apply my patches. > tc filter add dev eth0 parent ffff: protocol ip prio 1 u32 match ip src > 0.0.0.0/0 police rate 100kbit burst 10k drop flowid :1 > > Works OK. > > tc filter add dev eth0 parent ffff: protocol 6 prio 1 u32 match ip src > 0.0.0.0/0 police rate 100kbit burst 10k drop flowid :1 Use a different prio, one that is not yet occupied by a protocol/kind tuple. > [andy@amd ~]$ grep NET_CLS /boot/config-2.6.10 > CONFIG_NET_CLS=y > CONFIG_NET_CLS_TCINDEX=m > CONFIG_NET_CLS_ROUTE4=m > CONFIG_NET_CLS_ROUTE=y > CONFIG_NET_CLS_FW=m > CONFIG_NET_CLS_U32=m > # CONFIG_NET_CLS_IND is not set > CONFIG_NET_CLS_RSVP=m > CONFIG_NET_CLS_RSVP6=m > CONFIG_NET_CLS_ACT=y CONFIG_NET_CLS_ACT_POLICE? > [andy@amd ~]$ grep NET_CLS /boot/config-2.6.10-2 > CONFIG_NET_CLS=y > CONFIG_NET_CLS_TCINDEX=m > CONFIG_NET_CLS_ROUTE4=m > CONFIG_NET_CLS_ROUTE=y > CONFIG_NET_CLS_FW=m > CONFIG_NET_CLS_U32=m > # CONFIG_NET_CLS_IND is not set > CONFIG_NET_CLS_RSVP=m > CONFIG_NET_CLS_RSVP6=m > # CONFIG_NET_CLS_ACT is not set > CONFIG_NET_CLS_POLICE=y > > [andy@amd ~]$ grep NET_CLS /boot/config-2.6.10-3 > CONFIG_NET_CLS=y > CONFIG_NET_CLS_TCINDEX=m > CONFIG_NET_CLS_ROUTE4=m > CONFIG_NET_CLS_ROUTE=y > CONFIG_NET_CLS_FW=m > CONFIG_NET_CLS_U32=m > # CONFIG_NET_CLS_IND is not set > CONFIG_NET_CLS_RSVP=m > CONFIG_NET_CLS_RSVP6=m Gonna look at this, do you preload the modules and if not, do you have the correct modutils version etc? > CONFIG_NET_CLS_ACT=y > CONFIG_NET_CLS_POLICE=y This is not valid and has been fixed in bk. _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/