From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Date: Thu, 26 May 2005 08:39:17 +0000 Subject: Re: [LARTC] Problem with marking packets... Message-Id: <42958B35.2010603@tlen.pl> List-Id: References: <4293A677.2050802@tlen.pl> In-Reply-To: <4293A677.2050802@tlen.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Can I use u32 or route filter to throw in to class packets which are going to some interface(eth0 or eth1)? This is my route rules... ip route add 83.17.20.10/29 dev eth0 table dsl1 ip route add default via 83.17.20.12 dev eth0 table dsl1 ip route add 80.53.64.128/29 dev eth1 table dsl2 ip route add default via 80.53.64.130/29 dev eth1 table dsl2 ip rule add fwmark 0x01 table dsl1 ip rule add fwmark 0x02 table dsl2 iptables -t mangle -A PREROUTING -i eth3 -p tcp -sport 80 -j MARK 0x01 iptables -t mangle -A PREROUTING -i eth3 -p tcp -sport 4000:65535 -j MARK 0x02 ... etc. I must do this on IMQ device (POSTROUTING, AB mode), using whatever (u32 filter, route filter, MARK, CONNMARK, etc.) Packets are being marked, but some packets on IMQ are being gone on default interface (I'm not marking all traffic...) and I want to catch this packets on suitable classes on IMQ. How can I do this? :/ Any ideas? Anyone can help? -- Konrad Cempura /Lenthir/ _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc