Skip to contentSkip to conversation

Help required

DISCUSSION Muhammad R. Sami 2 participants 2 messages Jul 23, 2004 1 message not in the archive netfilter

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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

This is my 3rd email to the group, can anyone please help me on this one. Regards,

Muhammad R. Sami
Research Assistant,
Computer Engineering Department
P.O.Box 354
King Fahd University of Petroleum & Minerals
Dhahran 31261
Saudi Arabia.
Tel: +96638601423
Cell: +96657982951
www.ccse.kfupm.edu.sa/sami

#2 lore raw
Quoted 6 lines · Muhammad R. Sami

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.

Quoted 1 line

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