Re: Examples from HTB home page...

Linux Advanced Routing and Traffic Control

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

 



On Friday, 06 September 2002, at 15:39:16 +0300,
eth wrote:

> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 
> 1.2.3.4 match ip dport 80 0xffff flowid 1:10  
> tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 
> 1.2.3.4 flowid 1:11
> ... chokes at the "tc filter add " with:
> RTNETLINK answers: Invalid argument
> RTNETLINK answers: Invalid argument
> As far as I can tell this *should* work, it did 6 months ago on a 2.4.17.
> 
Maybe your kernel configuration changed in the meantime, and with the
new version you didn't compile some necessary features. Have just tried
your exact configuration with a 2.4.20-pre1 kernel and it works OK.

It seems you missed "U32 classifier" support either compiled in or as a
module. My box show the following modules loaded after trying your config:
Module                  Size  Used by    Not tainted
cls_u32                 4484   1  (autoclean)
sch_htb                18016   1  (autoclean)
pcnet32                13120   1  (autoclean)
mii                     1104   0  (autoclean) [pcnet32]

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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