LARTC
[Top] [All Lists]

Re: [LARTC] Prioritizing based on HTTP Content-Type header

To: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Prioritizing based on HTTP Content-Type header
From: Michael Alger <lartc@mm.quex.org>
Date: Thu, 26 Apr 2007 08:35:09 -0400
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <462DCA41.6030307@ondainternet.com.br>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <20070424090532.GA29737@morose.quex.org> <462DCA41.6030307@ondainternet.com.br>
Reply-to: lartc@mailman.ds9a.nl
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mutt/1.5.13 (2006-08-11)
On Tue, Apr 24, 2007 at 06:13:37AM -0300, Alexandre J. Correa - Onda Internet 
wrote:
> You can use STRING + CONSAVE modules !!
> 
> mark packets...
> 
> because string match only "starter packet" ... the others packets from 
> the same connection isn´t marked.. consave can track this..
> 
> -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

<Prev in Thread] Current Thread [Next in Thread>