All of lore.kernel.org
 help / color / mirror / Atom feed
* Layer-7 HTTP Matching Module
@ 2003-02-04 14:29 Kirk Bauer
  2003-02-05 20:02 ` Patrick Schaaf
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kirk Bauer @ 2003-02-04 14:29 UTC (permalink / raw)
  To: netfilter-devel

I was thinking it would be nice to enhance my traffic shaping rules
(using 'tc') to make decisions about HTTP based on the type of content
being sent.  If, for example, the page has a content type of text/html,
I want it to be a fairly high priority.  Then, image/jpeg could be a
lower priority.

I think I could do this with the 'string' module of iptables -- i.e.
look for the string "Content-type: text/html" and set a TOS flag or a
firewall mark.  The 'tc' command can then be used to give these packets
higher priority.

But I think it might be nice to have a true layer 7 matching module.
You could do:

-m --content-type 'text/html' --host 'www.mydomain.com'

It seems that if the string matching module is possible, then this is
also possible.  

Does such a module exist or is it being developed?  If not, I may write
one when I have time if other people think it would be useful.

-- 
Kirk Bauer <kirk@kaybee.org>
http://linux.kaybee.org | www.autorpm.org | www.logwatch.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-09  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-04 14:29 Layer-7 HTTP Matching Module Kirk Bauer
2003-02-05 20:02 ` Patrick Schaaf
2003-02-07 10:42 ` Gianni Tedesco
2003-02-07 19:23 ` Kevin McConnell
2003-02-09  9:47 ` Harald Welte

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.