Displaying 1 result from an estimated 1 matches for "0xxyz".
Did you mean:
xxyz
2007 Apr 11
4
Policing based on port numbers
...: ingress
And then:
# tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate 128kbit burst 10k drop flowid :1
The rule above works, but the same with a port match does not:
# tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match
tcp dport 0xXYZ 0xFFFF police rate 128kbit burst 10k drop flowid :1
Is there anything I am missing?
TIA,
--
Shuveb Hussain.
When you lose, be patient. When you achieve, be even more patient.