All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Alger <lartc@mm.quex.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Prioritizing based on HTTP Content-Type header
Date: Thu, 26 Apr 2007 12:35:09 +0000	[thread overview]
Message-ID: <20070426123509.GA5277@morose.quex.org> (raw)
In-Reply-To: <20070424090532.GA29737@morose.quex.org>

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

      parent reply	other threads:[~2007-04-26 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24  9:05 [LARTC] Prioritizing based on HTTP Content-Type header Michael Alger
2007-04-24  9:13 ` Alexandre J. Correa - Onda Internet
2007-04-26 12:35 ` Michael Alger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070426123509.GA5277@morose.quex.org \
    --to=lartc@mm.quex.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.