Hi, all, I am a newbee to tc. I want to create a filter on port 2323, but got an error like this. Anyone can help me? [jason@localhost network]$ sudo tc -s qdisc ls dev eth0�qdisc mq 0: root� Sent 1483890 bytes 3617 pkt (dropped 0, overlimits 0 requeues 0)
rate 0bit 0pps backlog 0b 0p requeues 0
[jason@localhost network]$ sudo tc filter add dev eth0 parent 0: protocol ip u32 match ip dport 2323 0xffff flowid 1:0
RTNETLINK answers: Operation not supported
We have an error talking to the kernel�
Regards,Jason
jason.zhao@sumscope.com
On 3/25/2014 11:47 PM, jason.zhao@sumscope.com wrote:
[jason@localhost network]$ sudo tc filter add dev eth0 parent 0: protocol ip u32 match ip dport 2323 0xffff flowid 1:0
RTNETLINK answers: Operation not supported
tc is extremely picky and hard to debug with such lovely specific errors. (<= blatant sarcasm)
On 3/25/2014 11:47 PM, jason.zhao@sumscope.com wrote:
[jason@localhost network]$ sudo tc filter add dev eth0 parent 0: protocol ip u32 match ip dport 2323 0xffff flowid 1:0
RTNETLINK answers: Operation not supported
tc is extremely picky and hard to debug with such lovely specific errors. (<= blatant sarcasm)
On 26/03/2014 07:27, jason.zhao@sumscope.com wrote:
On 3/25/2014 11:47 PM, jason.zhao@sumscope.com wrote:
[jason@localhost network]$ sudo tc filter add dev eth0 parent 0: protocol ip u32 match ip dport 2323 0xffff flowid 1:0
RTNETLINK answers: Operation not supported
tc is extremely picky and hard to debug with such lovely specific errors. (<= blatant sarcasm)
This is an example TC script I used to use. This has port matching included.
It's been a few years since I looked at tc (this comes from a rhel3 server)
But IIRC it worked fine.
Tris
************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster@bgfl.org
The views expressed within this email are those of the individual, and not necessarily those of the organisation *************************************************************