Commit Graph

24 Commits (c56da13854769330651b790d9c9f933ca5ffebbd)

Author SHA1 Message Date
Jo-Philipp Wich 48c37ff7eb qos-scripts: only use the lower 8 bits for firewall marks, allows coexistence with other programs like nodogsplash - patch by Tobias Wolf (#10096)
SVN-Revision: 28731
13 years ago
Jo-Philipp Wich 825658977f Add QoS firewall stop script generation
To prevent code duplication for clearing QoS firewall rules, support
"firewall stop" arguments to generate.sh to generate the necessary
script commands.  Make use of this from qos-stop.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 28623
13 years ago
Jo-Philipp Wich 3ffe66cbe0 Add qos_* iptables chain namespace for QoS
Prefix the names of the iptables chains used for QoS with "qos_" to
allow for identification of QoS chains for removal across configuration
changes.  When clearing QoS iptables chains, only remove chains with the
namespace prefix in order to preserve user and/or other package chains
in the mangle table.

Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>

SVN-Revision: 28622
13 years ago
Jo-Philipp Wich 9646ca6c6e This patch updates qos-scripts to support fair traffic sharing using the SFQ with external classifiers method. It also corrects a bug in the unsupported ESFQ method already used by qos-scripts. (ESFQ: http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to an SFQ patch after that and not updated since 2008)
A class can be forced to use SFQ, and an external classifier added like
this:

config class "Normal"
         option avgrate     10
         option priority    30
         option packetdelay 100
         option limitrate   94
#       option qdisc      "sfq perturb 2"
config class "Normal_up"
#       option filter   "protocol all flow hash keys src divisor 1024"
config class "Normal_down"
#       option filter   "protocol all flow hash keys dst divisor 1024"

Using these options, the user needs to load cls_flow before qos-scripts
starts.

I've got more information here:
http://oneitguy.com/blogs/netprince/fair-traffic-sharing-esfq-broken-switching-sfqexternal-classifiers

This has been tested on r23914.

Signed-off-by: Ben Pfountz <netprince<>vt_edu>

SVN-Revision: 26622
13 years ago
Felix Fietkau fca74c3a44 qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
SVN-Revision: 25640
14 years ago
Vasilis Tsiligiannis de0324cfb0 qos-scripts: Fix generation of IMQ firewall rules on halfduplex mode (#7800)
SVN-Revision: 23227
14 years ago
Travis Kemen de8394cc11 This patch allows the user to specify esfq as the leaf qdisc, as well as perturb and hash parameters, closes #1893
SVN-Revision: 19874
15 years ago
Jo-Philipp Wich d6005ac186 Reload IMQ only when needed [PATCH] [qos-scripts] Use config_get_bool for halfduplex option Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15948
15 years ago
Jo-Philipp Wich f46691236b Fix packet/connection marking when using halfduplex option This fixes an bug where QoS is not applied to packets passing through POSTROUTING chain when using halfduplex option. Since QoS is done on IMQ device, packets should be marked before sending to the IMQ. Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15947
15 years ago
Jo-Philipp Wich e2d1632d1e Reload modules with parameters specified This patch makes qos-scripts reload a module when there is need to pass some parameters to it. It fixes an issue on devices with more than two interfaces where many IMQ devices are needed but the module is already loaded with the default numdevs=2 Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15945
15 years ago
Felix Fietkau 06713e3d82 get rid of a remaining reference to ipp2p
SVN-Revision: 14602
16 years ago
Florian Fainelli 9a3d8e3163 Load xt_layer7 for 2.6 kernels (#3269)
SVN-Revision: 10667
17 years ago
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
17 years ago
Felix Fietkau 1f000c666c add qos-scripts patch from #2385
SVN-Revision: 8860
17 years ago
Felix Fietkau 77fb42c9cb qos-scripts: add patch for tos and dscp support from #2291
SVN-Revision: 8663
17 years ago
Felix Fietkau febfbf2acd remove a warning that has confused a few people
SVN-Revision: 7911
17 years ago
Felix Fietkau 8c0de17322 qos-scripts update:
- rewrite the RED qdisc calculations and add some comments
this should fix the warnings about bursting (should also fix quirks with various linespeed settings)
- reduce the calculated overhead for upstream, while i'm at it...

SVN-Revision: 7782
17 years ago
Felix Fietkau 0c8cccc9f7 add direction matching patch for qos-scripts from #1708
SVN-Revision: 7571
17 years ago
Felix Fietkau e4550a0ebc fix error handling in qos-scripts
SVN-Revision: 7442
17 years ago
Felix Fietkau 7d3baf4131 add qos-scripts connbytes match from #1618
SVN-Revision: 7091
17 years ago
Felix Fietkau 50735bc351 qos-scripts update - fix enabling/disabling of interfaces, make the overhead calculation optional
SVN-Revision: 7048
17 years ago
Felix Fietkau 6ee129297f fix a small typo
SVN-Revision: 7047
17 years ago
Felix Fietkau 3c4dd6fb02 qos-scripts: fix RED burst calculation
SVN-Revision: 6878
17 years ago
Felix Fietkau c993ad73be update qos-scripts to v1.1 - rewritten hfsc rate calculation
SVN-Revision: 6875
17 years ago