Wiki page for QoS filters (l7-filter), generated by PHP

Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload
Author Message
Falcon4
DD-WRT User


Joined: 26 Sep 2007
Posts: 67
Location: Fresno, CA

PostPosted: Mon Mar 21, 2011 2:36    Post subject: Wiki page for QoS filters (l7-filter), generated by PHP Reply with quote
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]" ;)

edit: Finalized and added to wiki: http://dd-wrt.com/wiki/index.php/QoS_Filter_Definitions

_________________
Sponsor
Falcon4
DD-WRT User


Joined: 26 Sep 2007
Posts: 67
Location: Fresno, CA

PostPosted: Tue Mar 22, 2011 10:04    Post subject: Reply with quote
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"? Confused
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]

_________________
ReDaLeRt
DD-WRT User


Joined: 26 Oct 2010
Posts: 80
Location: Portugal

PostPosted: Wed Apr 20, 2011 23:01    Post subject: Reply with quote
Great job, thank you!

[[]]

_________________
DD-WRT powered:
RT-N16 + WRT54G v2 + FON 2201 & 2100
mike5757
DD-WRT Novice


Joined: 01 Apr 2011
Posts: 2

PostPosted: Thu Apr 21, 2011 4:46    Post subject: HTTP QoS Reply with quote
Thanks for posting this, Falcon4. Admittedly, it's a bunch of gibberish to me Laughing

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?
Jmeier
DD-WRT User


Joined: 27 Oct 2010
Posts: 219

PostPosted: Wed Jun 08, 2011 15:32    Post subject: Reply with quote
Thanks Falcon!
ReDaLeRt
DD-WRT User


Joined: 26 Oct 2010
Posts: 80
Location: Portugal

PostPosted: Mon Dec 05, 2011 22:39    Post subject: Reply with quote
Hi,

Check this post: http://forum.mikrotik.com/viewtopic.php?p=279320&sid=bebd5ffab67098e5dbd3aa7b1eba3459#p279320

Is this right? (bittorrent detection)

[[]]

_________________
DD-WRT powered:
RT-N16 + WRT54G v2 + FON 2201 & 2100
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Mon Dec 05, 2011 23:45    Post subject: Reply with quote
falcon if u have filter suggestions you should sent it upstream to the l7 dev team. we will update you filters when they update their trunk
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
mittelhessen
DD-WRT User


Joined: 26 Jan 2012
Posts: 458

PostPosted: Wed Apr 01, 2015 8:17    Post subject: Reply with quote
Sash wrote:

... 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?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum