Joined: 26 Sep 2007 Posts: 67 Location: Fresno, CA
Posted: Mon Mar 21, 2011 2:36 Post subject: Wiki page for QoS filters (l7-filter), generated by PHP
It's a really rough-and-dirty sketchup of the folder contents of "/etc/l7-protocols", but it was just what I spent a few hours researching to see if it was really "too good to be true" (filtering of that sort). Once I found the folder, I figured I'd post its contents so people can see what's going on behind "[0 ~ 0]" ;)
Joined: 26 Sep 2007 Posts: 67 Location: Fresno, CA
Posted: Tue Mar 22, 2011 10:04 Post subject:
Well, now that it's nicely formatted in the wiki, I can glance over them and see a few handfuls of areas for improvement... for example, I can guarantee this filter isn't catching anything:
httpaudio
http/(0\.9|1\.0|1\.1)[\x09-\x0d ][1-5][0-9][0-9][\x09-\x0d -~]*(content-type: audio)
... because MIME tupes aren't just "audio", but the regex is matching specifically "audio)", not "audio.*)" to include "audio/mpeg", etc. Few occurrences of that kinda thing in there. Hopefully, having this information exposed will prompt some more experienced DD-WRT hackers to clean some of these filters up :)
edit: and some are just waaaay too broad and vague:
gtalk_file
^\x02\xf0
... so, 0x02 followed by 0xf0 in any bitstream must be a "gtalk_file"?
Admittedly, many of these are pretty ingenious.
http
http/(0\.9|1\.0|1\.1) [1-5][0-9][0-9] [\x09-\x0d -~]*(connection:|content-type:|content-length:|date:)|post [\x09-\x0d -~]* http/[01]\.[019] _________________
Posted: Thu Apr 21, 2011 4:46 Post subject: HTTP QoS
Thanks for posting this, Falcon4. Admittedly, it's a bunch of gibberish to me
What does the HTTP filter do exactly? I'm curious, since I use the HTTP L7 filter and have it set to express. Is this giving priority to downloads over HTTP?
... the l7 dev team. we will update you filters when they update their trunk
As Mile-Lile wrote here, filters for WRT54G(L) which runs r14929 (kernel 2.6?) are l7-filters. Mile-Lile linked a document which shows that these l7-filters are very outdated.
So would it be possible to update these old l7-filters for the good old WRT54G or is it impossible?
Should i use port-definitions instead of the outdated l7-filters or a combination of both for more qos-reliability?