1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 18:15:21 +02:00
Commit Graph

45 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
nbd
caaa4b18a0 qos-scripts: disable by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 16:32:55 +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
e41573c89a qos-scripts: remove the layer7 based classifiers from the default configuration - they are unreliable and prone to memory leaks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 10:44:27 +00:00
nbd
d731257770 qos-scripts: disable overhead calculation by default, it does not work properly for many line speeds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 00:30:09 +00:00
nbd
c9565c7716 qos-scripts: add missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-22 00:10:19 +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
67fd33b342 [package] qos-scripts: Rework qos-stat script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 17:33:41 +00:00
jow
f240bc9de9 [package] qos-scripts: bump pkg revision after r23227, extend copyright, mark /etc/config/qos as conffile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 09:04:38 +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
nbd
3f21f09b7c adjust dependencies of firewall and qos-scripts, so that these packages are visible even when iptables is not selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 13:36:39 +00:00
florian
d76c921c8c [package] set PKGARCH to all for packages in trunk containing only arch-neutral files (#5572)
Signed-off-by: Malte S. Stretz <mss@apache.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-24 12:08:01 +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
796a9d1091 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +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
nbd
8337a6115f qos-scripts: remove ipp2p from the default ruleset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 16:28:54 +00:00
nico
04ccc3ccb1 fix qos dependency on iptables-mod-conntrack-extra for CONNMARK (closes: #4035)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-24 13:06:01 +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
ca30392f87 do not fire up the qos-scripts hotplug part if the init script is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-27 14:06:07 +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
235b19acea bump package versions after updates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 20:41:57 +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
nico
c4b73fa154 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
nbd
c0bcf0f893 reorganize netfilter modules, get rid of the iptables-mod-extra dependency in qos-scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 06:47:33 +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
pavlov
de4be9af1e same propset here as changeset:6500
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 04:41:46 +00:00
nico
4f53f8d738 more use of the INSTALL_DIR variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-08 00:53:24 +00:00
nbd
20b90a1252 fix qos-scripts RED qdisc calculation for slow lines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-19 02:53:02 +00:00
nbd
b955110656 allow the user to disable downlink shaping by removing the option download ... line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-11 15:25:07 +00:00
nbd
5eca1169a0 init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-15 21:03:30 +00:00
nbd
2517aebf84 add qos-scripts package port for buildroot-ng
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-06 17:38:48 +00:00