On Mon, Sep 04, 2000 at 04:49:38PM +0100, Colin Watson wrote: [CBQ rate-limiting not working - 10.0.0.{10,11} are aliases for localhost] > As far as I can tell, this is as expected. However, FTP connections (for > example) to 10.0.0.{10,11} don't get rate-limited, and tc says that no > packets have passed through the rate-limiting classes: Ah. Problem solved, I think, courtesy of some strategically placed printk()s. Adding 10.0.0.{10,11} as aliases for the local machine added entries to the local routing table, which gets looked at before any of the CBQ business. In fact, cbq_classify() was never even being called; no wonder filters weren't working. So be careful when testing on localhost. > I'm rather at a loss as to how to debug this. 'tc -s filter ...' doesn't > show anything useful, for instance; I'd like to be able to find out > something about the flow of data through the filters. I still think this particular type of statistics would be useful, though. Thanks, -- Colin Watson <cjw44@flatline.org.uk> - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org