Age | Commit message (Collapse) | Author |
|
Priority queue automatically creates classes 1:[1-7] so we have to
use these as our classes.
Default class needs to be in the priomap (this is ugly, but it works
there must be a better way)
|
|
|
|
|
|
Bug 3643
Enhancement to expose kernel priority queuing.
|
|
Regression from previous commit. Need to compare numeric not string value.
|
|
Bug 7547
Kernel limiters don't allow value of zero for bandwidth, so
block it in Vyatta config.
|
|
Bug 6092
The code now calculates r2q value based on max rate and min rate which
gives better accuracy and stops kernel message.
|
|
This reverts commit bcb18b96605e194cf8c186467b0a4d853695f75e.
|
|
ethtool moved in Debian Squeeze to /sbin/ethtool
|
|
This adds:
traffic-policy myexample {
bandwidth 100Mbit
class 2 {
class 2a {
...
|
|
Need to handle queue-limit better (confusion between bytes and packets)
Bug 5872
(cherry picked from commit 94ea365fc966a16807a2086db05ea2877e9b00fa)
|
|
Looking at wrong field in hash!
Bug 5961
(cherry picked from commit 17b2ff0e596eff2d609d5abb661af3696914f7a6)
|
|
Bug 5958
(cherry picked from commit 7f42350146525544bd38db2426d6f5c7b99302c2)
|
|
Use a null u32 rather than basic match to get statistics.
(cherry picked from commit ac7353307d00a55d1740b642cf6c712a0b280181)
|
|
This resolves problems with filter and classes for round-robin
policy.
Bug 5950 and 5952
(cherry picked from commit cb9532549c0eb2390cbd7d3eba1b5254bc7cb734)
|
|
Bug 5924
If ip protocol match was specified but no port match then the
code would incorrectly call getPort (undef, "tcp") which gets
interpreted as getPort("tcp") by Perl and causes error.
(cherry picked from commit 5ad6cc5026cd19cf994dd0670db4d0fa31f9010b)
|
|
Bug 5896
Need to insert dummy filter to match all packets
(cherry picked from commit 9f1e20193852f059afda8041192086313107b29f)
|
|
This reverts commit cf51e90bfc2d1c3b58192a726e786b598681fb71.
Conflicts:
templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def
|
|
The class configuration function was looking at wrong place
in configuration (bug introduced when default added).
|
|
|
|
Need to generate a filter to cause default filter rule to exist.
Otherwise default does nothing.
|
|
Cleaner to use %d for priority here.
|
|
Now vyatta user has permission through capability to run ethtool
|
|
|
|
Give correct message when queue limit too small in random detect
|
|
Bug 5879
|
|
For queue-type (other than fair-queue), it is allowable to have larger queue size.
Move validation into class checking.
|
|
|
|
This makes RED more robust since constant values are visible.
|
|
The calculation of random-detect queue parameters is based on recommended
values from RFC. If allowed bandwidth is too small, the queue will be
too small to be useable. In that case just fail.
|
|
Bug 5872
Don't allow stupidly small queue limit, and round up the minimum queue
value to be at least one packet.
|
|
This allows use of IANA (/etc/services) values for port names:
example:
traffic-policy shaper SS {
class 2 {
match SMTP ip destination port smtp
}
}
|
|
It is possible to use u32 to match on value and mark.
|
|
Can't have 2 filters at same priority level, need to cascade them.
|
|
Allow using common values supported by TC filter.
|
|
Missing $ in script
Bug 5854
|
|
Needs to be fwmark no fw_mark
|
|
Bug 5815
Allow match on firewall mark and interface id. Using meta match it
is possible to match on both.
|
|
Bug 5407
This fixes the confusing usage of priority field in both shaper
and limiter class. In limiter, it is renamed to precedence since
it controls the order of match rule evaluation.
|
|
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 5799 - Add matching on firewall mark values
Bug 5795 - Block match rules that have multiple underlying filters
|
|
If bandwidth not defined for rate limiter policy, the error message
should come from policy (not perl error checking).
|
|
Bug 5769
The incoming interface index was recorded with _dev but code
was looking for _indev
|
|
The name ip exists in /etc/protocols as a pseudonym for all IP protocols.
But the Qos match logic doesn't support it so do not allow the user to
choose that value
Bug 5689
|
|
This adds:
set traffic-policy limiter TL default bandwidth 1mbit
|
|
Command format error.
|
|
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
|