From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sat, 18 May 2002 00:08:51 +0000 Subject: Re: [LARTC] Problems with tc filter (getting packets into a CBQ) Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > tc filter add dev eth0 parent 1:0 protocol ip prio 1 \ > u32 match ip sport 119 0xffff flowid 1:100 \ > > > But no traffic shows up.... (A simple telnet news.giganews.com 119 to > test): So you start a telnet from news.giganews.com to your test system? Then you should match dport 119. Otherwise I'm wrong :) and the filter is ok. > I've also tried marking packets in iptables and using tc to filter those > packets into both flowid and classid 1:100 to no avail. Marking with iptables and using the fw filter, works fine for me. You can find some working examples on www.docum.org. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/