From: Michael Alger Date: Thu, 26 Apr 2007 12:35:09 +0000 Subject: Re: [LARTC] Prioritizing based on HTTP Content-Type header Message-Id: <20070426123509.GA5277@morose.quex.org> List-Id: References: <20070424090532.GA29737@morose.quex.org> In-Reply-To: <20070424090532.GA29737@morose.quex.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Tue, Apr 24, 2007 at 06:13:37AM -0300, Alexandre J. Correa - Onda Intern= et wrote: > You can use STRING + CONSAVE modules !! >=20 > mark packets... >=20 > because string match only "starter packet" ... the others packets from=20 > the same connection isn=B4t marked.. consave can track this.. >=20 > -j CONNMARK --restore-mark > -m string --string 'string' --algo bm -j MARK --set-mark 1 > -m string --string 'string2' --algo bm -j MARK --set-mark 2 > -m mark --mark 1 -j CONNMARK --save-mark > -m mark --mark 2 -j CONNMARK --save-mark I haven't fully tested the shaping setup, but it appears to be classifying packets correctly. One limitation is that it can't cope with SSL; fortunately that's not a current requirement for us, but I probably will need to find a solution for that at some point. Anyway, thanks again. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc