Networking Forums

Networking Forums > Computer Networking > Linux Networking > ingress qdisc question

Reply
Thread Tools Display Modes

ingress qdisc question

 
 
MatB
Guest
Posts: n/a

 
      04-26-2004, 11:20 AM
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
qdisc statistics marius7777@gmail.com Linux Networking 0 01-03-2007 04:52 AM
Qdisc list crashed. Readon Shaw Linux Networking 0 06-28-2006 03:23 PM
New to TC and qdisc Luke Robertson Linux Networking 0 11-24-2004 03:37 AM
Help with tc qdisc and netem Jagadeesh Linux Networking 1 10-29-2004 02:26 AM
sfq or prio qdisc? klops Linux Networking 0 10-07-2004 01:20 PM



1 2 3 4 5 6 7 8 9 10 11