Commit Graph

49 Commits (67e6461ad70d367fbd182911abe384a0b6f68a9a)

Author SHA1 Message Date
Jo-Philipp Wich 9ae901445b /etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
2012-06-05 16:04:23 +00:00
Felix Fietkau 040ce45f98 kernel: split off act_connmark into a separate package to avoid cluttering kmod-sched with a netfilter dependency (fixes #11483)
SVN-Revision: 31791
2012-05-18 18:36:36 +00:00
Felix Fietkau ef86a2c081 qos-scripts: use kmod-sched-core instead of kmod-sched
SVN-Revision: 31761
2012-05-16 15:23:23 +00:00
Felix Fietkau d5fc598d62 qos-scripts: replace sfq/red with fq_codel - massively improves latency under load
SVN-Revision: 31759
2012-05-16 15:23:16 +00:00
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
2011-11-03 19:11:01 +00:00
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
2011-10-27 12:39:19 +00:00
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
2011-10-27 12:39:16 +00:00
Felix Fietkau 26fed98ce6 qos-scripts: disable by default
SVN-Revision: 27832
2011-07-29 16:32:55 +00:00
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
2011-04-12 20:33:11 +00:00
Felix Fietkau db9921a0c2 qos-scripts: remove the layer7 based classifiers from the default configuration - they are unreliable and prone to memory leaks
SVN-Revision: 26364
2011-03-30 10:44:27 +00:00
Felix Fietkau 2bcc7fb12b qos-scripts: disable overhead calculation by default, it does not work properly for many line speeds
SVN-Revision: 25685
2011-02-24 00:30:09 +00:00
Felix Fietkau 7f20657f4c qos-scripts: add missing dependency
SVN-Revision: 25656
2011-02-22 00:10:19 +00:00
Felix Fietkau fca74c3a44 qos-scripts: drop the use of IMQ, use ifb and act_connmark instead
SVN-Revision: 25640
2011-02-21 01:33:27 +00:00
Vasilis Tsiligiannis a98c957eb5 qos-scripts: Rework qos-stat script
SVN-Revision: 25052
2011-01-20 17:33:41 +00:00
Jo-Philipp Wich 0da0c4d119 qos-scripts: bump pkg revision after r23227, extend copyright, mark /etc/config/qos as conffile
SVN-Revision: 23238
2010-10-05 09:04:38 +00:00
Vasilis Tsiligiannis de0324cfb0 qos-scripts: Fix generation of IMQ firewall rules on halfduplex mode (#7800)
SVN-Revision: 23227
2010-10-04 21:25:48 +00:00
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
2010-02-26 17:22:53 +00:00
Felix Fietkau 9e99581621 adjust dependencies of firewall and qos-scripts, so that these packages are visible even when iptables is not selected
SVN-Revision: 18714
2009-12-09 13:36:39 +00:00
Florian Fainelli ffc1fefe2c set PKGARCH to all for packages in trunk containing only arch-neutral files (#5572)
Signed-off-by: Malte S. Stretz <mss@apache.org>

SVN-Revision: 16966
2009-07-24 12:08:01 +00:00
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
2009-05-20 21:16:22 +00:00
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
2009-05-20 21:12:09 +00:00
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
2009-05-20 21:10:45 +00:00
Felix Fietkau 34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Felix Fietkau 06713e3d82 get rid of a remaining reference to ipp2p
SVN-Revision: 14602
2009-02-21 19:19:53 +00:00
Felix Fietkau 02ff1ea933 qos-scripts: remove ipp2p from the default ruleset
SVN-Revision: 14595
2009-02-21 16:28:54 +00:00
Nicolas Thill 34a1fe969e fix qos dependency on iptables-mod-conntrack-extra for CONNMARK (closes: #4035)
SVN-Revision: 12681
2008-09-24 13:06:01 +00:00
Florian Fainelli 9a3d8e3163 Load xt_layer7 for 2.6 kernels (#3269)
SVN-Revision: 10667
2008-03-27 14:47:54 +00:00
Felix Fietkau 0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau 64a21dae8f do not fire up the qos-scripts hotplug part if the init script is disabled
SVN-Revision: 9046
2007-09-27 14:06:07 +00:00
Felix Fietkau 1f000c666c add qos-scripts patch from #2385
SVN-Revision: 8860
2007-09-20 09:19:48 +00:00
Felix Fietkau 4db9556f99 bump package versions after updates
SVN-Revision: 8680
2007-09-07 20:41:57 +00:00
Felix Fietkau 77fb42c9cb qos-scripts: add patch for tos and dscp support from #2291
SVN-Revision: 8663
2007-09-07 09:27:22 +00:00
Nicolas Thill 34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
2007-09-07 08:34:51 +00:00
Felix Fietkau a817b45169 reorganize netfilter modules, get rid of the iptables-mod-extra dependency in qos-scripts
SVN-Revision: 7912
2007-07-11 06:47:33 +00:00
Felix Fietkau febfbf2acd remove a warning that has confused a few people
SVN-Revision: 7911
2007-07-11 06:15:50 +00:00
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
2007-06-30 02:34:03 +00:00
Felix Fietkau 0c8cccc9f7 add direction matching patch for qos-scripts from #1708
SVN-Revision: 7571
2007-06-11 16:32:38 +00:00
Felix Fietkau e4550a0ebc fix error handling in qos-scripts
SVN-Revision: 7442
2007-06-02 05:21:54 +00:00
Felix Fietkau 7d3baf4131 add qos-scripts connbytes match from #1618
SVN-Revision: 7091
2007-05-04 22:10:40 +00:00
Felix Fietkau 50735bc351 qos-scripts update - fix enabling/disabling of interfaces, make the overhead calculation optional
SVN-Revision: 7048
2007-04-24 19:24:08 +00:00
Felix Fietkau 6ee129297f fix a small typo
SVN-Revision: 7047
2007-04-24 16:54:18 +00:00
Felix Fietkau 3c4dd6fb02 qos-scripts: fix RED burst calculation
SVN-Revision: 6878
2007-04-07 00:20:48 +00:00
Felix Fietkau c993ad73be update qos-scripts to v1.1 - rewritten hfsc rate calculation
SVN-Revision: 6875
2007-04-06 16:59:56 +00:00
Tim Yardley 026e6046eb same propset here as changeset:6500
SVN-Revision: 6501
2007-03-04 04:41:46 +00:00
Nicolas Thill bed47be36c more use of the INSTALL_DIR variable
SVN-Revision: 6023
2007-01-08 00:53:24 +00:00
Felix Fietkau e3a0c3b9fd fix qos-scripts RED qdisc calculation for slow lines
SVN-Revision: 5853
2006-12-19 02:53:02 +00:00
Felix Fietkau 312802199b allow the user to disable downlink shaping by removing the option download ... line
SVN-Revision: 5497
2006-11-11 15:25:07 +00:00
Felix Fietkau 8612d33691 init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks
SVN-Revision: 5128
2006-10-15 21:03:30 +00:00
Felix Fietkau 60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00