[LARTC] First post, first problem

Linux Advanced Routing and Traffic Control

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

 



On Wed, Mar 06, 2002 at 02:43:52PM +0200, Mihai RUSU wrote:

> Well I found out the "problem" . You cannot have u32 filter witout telling
> the protocol too. The correct line should be:
> /sbin/tc filter add dev eth0 parent 1:0 prio 5 handle 2: protocol ip u32
> divisor 256
> 
> There is also another error in the HOWTO (I think):

Fixed. Can you check if it is 100% ok now?

> "Ok, some numbers need explaining. The default hash table is called 800::
> and all filtering starts there. Then we select the source address, which
> lives as position 12, 13, 14 and 15 in the IP header, and indicate that we
> are only interested in the last part. This we send to hash table 1:, which
> we created earlier."
> 
> This is wrong. The hash table in in fact 2: and not 1: .

Fixed too, and added you to the 'thanks to' list. Thanks!

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


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