# Default config file for the qos-scripts system # # # # CLASS SYNTAX: # # class: # # end # # CLASS OPTIONS: # # burstrate: # - burst rate (in %) # - optional, requires bursttime and avgrate to be set # # bursttime: # - time for burst rate allocation (in ms) # - optional, requires burstrate and avgrate to be set # # avgrate: # - allocated average data rate (in %) # # share: # - defines the amount of unused bandwidth that the class # can get in addition to the allocated rate # a factor of 10 will give it 10 times the amount of traffic # that a class with a factor of 1 would get # # # CLASSIFY SYNTAX: # # classify:: # - target class: name of a target class # - options: (see below) # # CLASSIFY OPTIONS: # # src= # - match the source ip # # dest= # - match the destination ip # # proto= # - match the protocol by name or number # # sport= # - match the source port(s), see below for syntax # - requires proto=tcp or proto=udp # # dport= # - match the destination port(s), see below for syntax # - requires proto=tcp or proto=udp # # layer7= # - match the layer7 filter # # PORT SYNTAX: # # # - match a single port # ,,... # - match one of the specified ports # - # - match a port between and # # You may only use one of these formats in a classify line. # Combining different formats is not possible # # class:Priority burstrate:80 bursttime:100 avgrate:55 share:10 end class:Normal burstrate:20 bursttime:100 avgrate:40 share:2 end class:Bulk avgrate:5 share:1 limit:80 end classify:Bulk:layer7=edonkey classify:Priority:proto=udp dport=53,5190 classify:Priority:proto=tcp dport=22,53,5190 classify:Priority:proto=tcp sport=60168 classify:Priority:proto=udp sport=60168 #option:enabled option:upload:128 option:download:1024 option:priority:Priority option:defaultlow:Normal option:default:Bulk option:bulk_dl:Normal:20