From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: Help required Date: Fri, 23 Jul 2004 15:19:58 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <4101107E.2030508@trash.net> References: <200407231245.i6NCj9MX009254@madinah.ccse.kfupm.edu.sa> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: 'Eric Leblond' , Netfilter List Return-path: To: "Muhammad R. Sami" In-Reply-To: <200407231245.i6NCj9MX009254@madinah.ccse.kfupm.edu.sa> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Muhammad R. Sami wrote: > It seems tat I cannot run my fw classifier although when I say lsmod it > shows the module cls_fw there. I also cross-checked packet marking through > the mangle and that is also perfect. All the traffic flows from the 2nd band > of the PRIO queue. These are my commands for the filter > > tc filter add dev eth0 parent 1:0 prio 0 protocol ip handle 1 fw flowid 1:1 > tc filter add dev eth0 parent 1:0 prio 1 protocol ip handle 2 fw flowid 1:2 > tc filter add dev eth0 parent 1:0 prio 2 protocol ip handle 3 fw flowid 1:3 Try "protocol ip" or "protocol all", also use prio 0 for all three filters, that will increase efficiency. > This is my 3rd email to the group, can anyone please help me on this one. This question in a tc usage question and unrelated to netfilter development, you might want to ask stuff like this on the lartc list. Regards Patrick