Commit Graph

45 Commits (9d5225b963797d17e00fa0180d5b6e6320460338)

Author SHA1 Message Date
Jo-Philipp Wich bc7ba13311 [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
Jo-Philipp Wich 356538e943 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
Jo-Philipp Wich 3226c8fe51 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
Felix Fietkau 9b98293f26 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
Jo-Philipp Wich d136e7f693 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
Felix Fietkau ca250ce8c5 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
Felix Fietkau 2d4b44f3a7 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
Felix Fietkau b9acfdce7e 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
Felix Fietkau 23ddbf6c6f 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
Vasilis Tsiligiannis 1d7e659795 [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
Jo-Philipp Wich 60e7dfb0c5 [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
Vasilis Tsiligiannis 39fc8e6d08 [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
Travis Kemen 42ce671058 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
Felix Fietkau b561f00181 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 Fainelli 0962dfabb8 [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
Jo-Philipp Wich f005240028 [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
Jo-Philipp Wich 322ec6d0f3 [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
Jo-Philipp Wich ea65d5323a [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
Felix Fietkau 5bdd866100 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
Felix Fietkau 4d378bda90 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
Felix Fietkau 754598ae70 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
Nicolas Thill b360fac488 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 Fainelli e196ce5df5 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
Felix Fietkau 2f8b5f8c28 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
Felix Fietkau 7f1e8fe6ff 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
Felix Fietkau 7ed9076d0e 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
Felix Fietkau 6ad5c919ce 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
Felix Fietkau a6131c8f6e 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
Nicolas Thill 2180fa92a1 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
Felix Fietkau a2af8a267e 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
Felix Fietkau bff3cdfc2e 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
Felix Fietkau e8bd92335a 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
Felix Fietkau 3dd8226794 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
Felix Fietkau ea9d43e9cf 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
Felix Fietkau fd5f2e3852 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
Felix Fietkau 4ce3d2ea13 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
Felix Fietkau 52b2434e7f 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
Felix Fietkau 87caff3482 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
Felix Fietkau 7fd37b30fc 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
Tim Yardley 94b3565b06 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
Nicolas Thill a1156c89c4 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
Felix Fietkau 4c5d5d4307 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
Felix Fietkau d475cb81c7 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
Felix Fietkau c731d42b1a 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
Felix Fietkau 19b00416ab 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