[LARTC] Why this stupid ingress tc does not work ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi !

I wanted to shape my analog modem connection so I took these two lines
from the 'wondershaper' script:

tc qdisc add dev $DEV handle ffff: ingress


#tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip
\ src 0.0.0.0/0 police rate ${DOWNLINK} burst 10k drop flowid :1


with DEV=ppp0 and DOWNLINK=24kbit.
But, when I activate it, nothing comes back from the web, no ping.

'tc -s qdisc' gives:

qdisc ingress ffff: dev ppp0 ----------------
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

I can see the packets or ping replies with a tcpdump -i ppp0
but the packets do not seem to reach applications !

I run kernel 2.4.18... what's the problem ?


Cheers,

  Ludovic Drolez.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux