1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 05:23:09 +02:00
Commit Graph

24 Commits

Author SHA1 Message Date
jow
e9f3a660c5 [package] qos-scripts: only use the lower 8 bits for firewall marks, allows coexistence with other programs like nodogsplash - patch by Tobias Wolf (#10096)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-03 19:11:01 +00:00
jow
f6c379666d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 12:39:19 +00:00
jow
e8506104c9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 12:39:16 +00:00
jow
691f0d412e 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:33:11 +00:00
nbd
5e317a6c87 qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-21 01:33:27 +00:00
acinonyx
0ced2f56c5 [package] qos-scripts: Fix generation of IMQ firewall rules on halfduplex mode (#7800)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 21:25:48 +00:00
thepeople
1f928356b8 This patch allows the user to specify esfq as the leaf qdisc, as well as perturb and hash parameters, closes #1893
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-26 17:22:53 +00:00
jow
1b0c13b756 [PATCH] [qos-scripts] Reload IMQ only when needed
[PATCH] [qos-scripts] Use config_get_bool for halfduplex option
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:16:22 +00:00
jow
5d37860a9d [PATCH] [qos-scripts] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:12:09 +00:00
jow
0f805cdf51 [PATCH] [qos-scripts] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:10:45 +00:00
nbd
ae2d329bfb get rid of a remaining reference to ipp2p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 19:19:53 +00:00
florian
2c7451b345 Load xt_layer7 for 2.6 kernels (#3269)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-27 14:47:54 +00:00
nbd
afa5da1d1b Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
nbd
7bf3db327e add qos-scripts patch from #2385
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 09:19:48 +00:00
nbd
c80b7f575e qos-scripts: add patch for tos and dscp support from #2291
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 09:27:22 +00:00
nbd
119dd315ef remove a warning that has confused a few people
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 06:15:50 +00:00
nbd
cbddbcdae4 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...


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 02:34:03 +00:00
nbd
c9c60d5d8c add direction matching patch for qos-scripts from #1708
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-11 16:32:38 +00:00
nbd
3ebcfb0dbf fix error handling in qos-scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 05:21:54 +00:00
nbd
6c640d00de add qos-scripts connbytes match from #1618
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-04 22:10:40 +00:00
nbd
814b429c34 qos-scripts update - fix enabling/disabling of interfaces, make the overhead calculation optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 19:24:08 +00:00
nbd
25a8ad6277 fix a small typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-24 16:54:18 +00:00
nbd
24bc8c27dc qos-scripts: fix RED burst calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-07 00:20:48 +00:00
nbd
622ea9fa13 update qos-scripts to v1.1 - rewritten hfsc rate calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-06 16:59:56 +00:00