Re: [LARTC] u32 classifier

2007-06-06 Thread Catalin Bucur
VladSun wrote: terraja-based написа: Hi folks...!!! I´ve a problem that i did not solve it. i want to limit the DOWNLOAD to my hosts (upstream traffic for the firewall) using IMQ, If i classify by PORT (source or destination) all seems to be fine, but...BUT...if i want to restrict by IP

Re: [LARTC] u32 classifier

2007-06-06 Thread VladSun
Catalin Bucur написа: VladSun wrote: terraja-based написа: Hi folks...!!! I´ve a problem that i did not solve it. i want to limit the DOWNLOAD to my hosts (upstream traffic for the firewall) using IMQ, If i classify by PORT (source or destination) all seems to be fine, but...BUT...if i

Re: [LARTC] u32 classifier

2007-06-06 Thread Catalin Bucur
VladSun wrote: 11:1 is not your root class, right? If so, try to apply the filter to root class - i.e. something like tc filter add dev eth1 parent 1:0 protocol ip handle 1 fw classid 11:2 11:0 is my root class, and the line is (as I write below): #tc filter add dev eth1 parent 11:0

[LARTC] u32 classifier

2007-06-02 Thread terraja-based
Hi folks...!!! I´ve a problem that i did not solve it. i want to limit the DOWNLOAD to my hosts (upstream traffic for the firewall) using IMQ, If i classify by PORT (source or destination) all seems to be fine, but...BUT...if i want to restrict by IP addresss (internal IP address) i can´t do

Re: [LARTC] u32 classifier

2007-06-02 Thread Afshin Tajvidi
Hi Maybe you have to review your IMQ behavior and choose CONFIG_IMQ_BEHAVIOR_AA or CONFIG_IMQ_BEHAVIOR_AB during the kernel compilation (and not CONFIG_IMQ_BEHAVIOR_BA or CONFIG_IMQ_BEHAVIOR_BB) Regards Afshin On Sat, 2007-06-02 at 06:19 -0300, terraja-based wrote: Hi folks...!!! I´ve a

Re: [LARTC] u32 classifier

2007-06-02 Thread VladSun
terraja-based написа: Hi folks...!!! I´ve a problem that i did not solve it. i want to limit the DOWNLOAD to my hosts (upstream traffic for the firewall) using IMQ, If i classify by PORT (source or destination) all seems to be fine, but...BUT...if i want to restrict by IP addresss (internal IP

[LARTC] u32 classifier

2003-07-14 Thread Andreani Luca
Title: u32 classifier Dear list, I have some problems with u32 classifier. I use a board based on Motorola MPC8245 processor (ppc based). I noticed that when the u32_classify function (in /net/sched/cls_u32.c) is called, it returns an error. Making some printk-based debug I found that the