This is a discussion on ingress qdisc question within the Linux Networking forums, part of the Linux Forums category; Hi, i'm trying to apply policing the incoming traffic on my ppp0 interface. tc qdisc add dev ppp0 handle ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
i'm trying to apply policing the incoming traffic on my ppp0 interface. tc qdisc add dev ppp0 handle ffff: ingress tc filter add dev ppp0 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 600kbit burst 10k drop flowid :1 the qdisc is shown with the -s command of tc; however, the filter is not shown by typing "tc -s filter ls dev ppp0". Where's the problem? I'm using iptables v1.2.7a, custom kernel with all a traffic shaper could need, and the latest version of tc. Furthermore, is it possible to apply the above filter to packets NOT coming from port 22? Thanks in advance, MatB |