Age | Commit message (Collapse) | Author |
|
The start-interface option was not correctly handling both in and out
directions. This is part of the problem with OpenVPN, and also shows
up when doing QoS on PPP.
|
|
Bug 4922
Need to add wait loop because bringing up ppp can take some
time for interface to settle.
|
|
* these are no longer necessary with the new CLI library.
|
|
Bug 5798
|
|
|
|
Bug 5889
Deleting input interface not allowed if target of redirect
|
|
No longer need sudo, can just use capabilty.
|
|
The redirect and mirror actions were incorrectly using an end:
node, so they would fail on boot when combined with ifb.
|
|
It won't work because of how classifiers interact with policing.
See: http://ace-host.stuart.id.au/russell/files/tc/doc/police.txt
|
|
Comments contained reference to old syntax
|
|
Bug 5807
Fix regression that broke limiter on input.
Caused by rename from traffic-limter to limiter.
|
|
Need to run sudo tc
|
|
Need to restore direction argument from earlier (Kenwood) version.
|
|
Last round of changes broke policy name completion
|
|
Current (Kenwood and earlier):
set qos-policy traffic-shaper TS { ...classes }
set qos-policy traffic-limiter TL { ...classes }
seq qos-policy network-emulator NE ...
set qos-policy random-detect RD ...
set qos-policy rate-limiter RC ...
set qos-policy round-robin RR ...
set interfaces ethernet eth0 qos-policy out TS
set interfaces ethernet eth0 qos-policy in TL
New (Larkspur and later):
set traffic-policy shaper TS { ...classes }
set traffic-policy limiter TL { ...classes }
seq traffic-policy network-emulator NE ...
set traffic-policy random-detect RD ...
set traffic-policy rate-control RC ...
set traffic-policy round-robin RR ...
set interfaces ethernet eth0 traffic-policy out TS
set interfaces ethernet eth0 traffic-policy in TL
set interfaces ethernet eth0 redirect ifb0
set interfaces ethernet eth0 mirror eth2
Note:
1. Only one of the following is allowed: "redirect", or "mirror"
2. Traffic-policy limiter is allowed with redirection/mirror and takes place
before mirror/redirect action (NEW)
3. Limiter policy may applied on output (NEW)
4. Only limiter policies can be applied on input (same as previous releases)
This does add some new functionality (#2, and #3) which are possible because
of how filter classes are implemented.
|
|
This reverts commit c8f2c288665143e2b165b7d448555af9d657b56c.
Conflicts:
scripts/vyatta-qos.pl
|
|
Handle configuration errors in policy.
|
|
If policy changes, then the whole ingress qdisc needs to be
reloaded.
|
|
Need to drop/recreate on changes.
|
|
Direction is no longer part of syntax.
|
|
Support mirror and redirect.
Note: traffic-limiter is broken (ignored), and will later be
moved to input-policy/limit
|
|
|
|
Need to put prio queue on root queue.
|
|
|
|
Need to have a match rule (even it is match all).
Change naming convention for ifb devices
Don't autocreate ifb0, ifb1
|
|
Bug 4541
Limiting implies packet drop, but this qos-policy
does shaping.
|
|
|
|
Bug 5005
Make sure qos script is run inside equivalent environment
as configuration mode.
|
|
Bug 5123
Add ability to use traffic-shaper and other policies
for input traffic.
|
|
Simple limiting on output.
|
|
|
|
Solves issues like Bug 4759 where qos-policy is commited to
an interface that does not exist in system until later.
(cherry picked from commit f94f46058fce5ca110a24ef90935b0f517b16d33)
|
|
Bug 4597
Don't print ARRAY() print the element of that array.
(cherry picked from commit 24889117e3aa124071e13541d4a6b663476226a2)
|
|
If policy is updated, then the function interfaces_using() has
to set correct arguments for later update.
(cherry picked from commit db0b46b068eda15884eb92636d52d6f821869283)
|
|
If policy is deleted, then the end: check is still run, but can
be safely ignored.
(cherry picked from commit 68312d5d735861153fbd28e5e3c98000761ca9a2)
|
|
The $VAR(.) is not set on end node, so have to go hunting
for policy type.
Related to Bug 4545
(cherry picked from commit 39712bfaf390a4435218a14308cc6efa1a2d39b8)
|
|
The CLI end: node does work correctly, so don't need to go walking configuration
manually
Bug 4545
(cherry picked from commit 377896b296827e4d7c3c20debb3487605c45bbe3)
|
|
Minor config confusion in script.
Bug 4532
(cherry picked from commit 28650945b96e0990fbe39e4743bca436662bae66)
|
|
Typo in syntax validation script
Bug 4485
|
|
Can't use perl closures in getOptions, if routine exits, the error
from getOptions rather than as exit code.
Bug 4477
|
|
Make a simpler version of WRED that acts more like Cisco.
Use Diffserv on Linux paper for example of how to use DSMARK and GRED
to achieve similar result.
|
|
Having too long a name messes up column output on operational commands.
|
|
Bug 4296
Ehancement to allow configuring GRED as form of weighted RED.
|
|
|
|
|
|
Easier to just use 'select' in perl to avoid passing file
descriptor everywhere.
|
|
|
|
Want the policy names, not the policy type.
|
|
Getting a little ragged, use perltidy.
|
|
Make command more friendly if ever used manually. Handle multiple
values for list_policy, start_interface and delete_policy
|