summaryrefslogtreecommitdiff
path: root/lib/Vyatta
AgeCommit message (Collapse)Author
2017-12-26T453: QOS Match.pm shaper max-lengthChristian Poessinger
Convert string to int before bitwise and operation Signed-off-by: Carl Byington <carl@five-ten-sg.com>
2015-03-26Remove small packets matching from fq-codel import (already fixed in #513) ↵kouak
(#446)
2015-03-26fq-codel target and interval in milliseconds (#446)Carl Byington
Signed-off-by: kouak <kouak@kouak.org>
2015-03-26add fq-codel parameters (#446)Carl Byington
Signed-off-by: kouak <kouak@kouak.org>
2015-03-26add fair queue codel queueing (#446)Carl Byington
Signed-off-by: kouak <kouak@kouak.org>
2015-03-25Add TCP SYN/ACK and IP max length matching (#513)kouak
2015-01-06HFSC Configuration support (#428)kouak
2014-01-23Bug #86: Apply unique prio for all matchesAn-Cheng Huang
This was also suggested by Carl Byington. Signed-off-by: Daniil Baturin <daniil@baturin.org>
2014-01-17Bug #113: missing parenthesis broke everything.Daniil Baturin
2013-06-18Bugfix 8469: ensure that matches have data under themJohn Southworth
2012-08-17Fix a few priority-queue problemsJohn Southworth
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)
2012-08-07Fix file descriptionsDaniil Baturin
2012-08-07Add a module for functions shared between conf and op mode scripts.Daniil Baturin
2012-07-13Add support for priority-queue policyStephen Hemminger
Bug 3643 Enhancement to expose kernel priority queuing.
2011-10-27Fix non-numeric comparisonStephen Hemminger
Regression from previous commit. Need to compare numeric not string value.
2011-10-10zero is not a legal bandwidth valueStephen Hemminger
Bug 7547 Kernel limiters don't allow value of zero for bandwidth, so block it in Vyatta config.
2010-12-08Compute optimium rate to quantum valueStephen Hemminger
Bug 6092 The code now calculates r2q value based on max rate and min rate which gives better accuracy and stops kernel message.
2010-12-07Revert "Add nested shaper classes"Stephen Hemminger
This reverts commit bcb18b96605e194cf8c186467b0a4d853695f75e.
2010-11-08Fix path to ethtoolStephen Hemminger
ethtool moved in Debian Squeeze to /sbin/ethtool
2010-10-19Add nested shaper classesStephen Hemminger
This adds: traffic-policy myexample { bandwidth 100Mbit class 2 { class 2a { ...
2010-08-17Fix shaper class queue calculations for random-detectStephen Hemminger
Need to handle queue-limit better (confusion between bytes and packets) Bug 5872 (cherry picked from commit 94ea365fc966a16807a2086db05ea2877e9b00fa)
2010-08-17Fix typo in Qos match for ethernetStephen Hemminger
Looking at wrong field in hash! Bug 5961 (cherry picked from commit 17b2ff0e596eff2d609d5abb661af3696914f7a6)
2010-08-17Make round-robin quantum per classStephen Hemminger
Bug 5958 (cherry picked from commit 7f42350146525544bd38db2426d6f5c7b99302c2)
2010-08-17Fix matching (default)Stephen Hemminger
Use a null u32 rather than basic match to get statistics. (cherry picked from commit ac7353307d00a55d1740b642cf6c712a0b280181)
2010-08-17Fix round-robin filter and class generationStephen Hemminger
This resolves problems with filter and classes for round-robin policy. Bug 5950 and 5952 (cherry picked from commit cb9532549c0eb2390cbd7d3eba1b5254bc7cb734)
2010-07-28Fix problem with port interpretation if protocol specifiedStephen Hemminger
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)
2010-07-28Make default class work for round robinStephen Hemminger
Bug 5896 Need to insert dummy filter to match all packets (cherry picked from commit 9f1e20193852f059afda8041192086313107b29f)
2010-07-23Revert "Rename limiter class priority field to precedence"Stephen Hemminger
This reverts commit cf51e90bfc2d1c3b58192a726e786b598681fb71. Conflicts: templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def
2010-07-21Fix traffic-limiter class managementStephen Hemminger
The class configuration function was looking at wrong place in configuration (bug introduced when default added).
2010-07-21Fix formatting of default filter ruleStephen Hemminger
2010-07-20Fix default match ruleStephen Hemminger
Need to generate a filter to cause default filter rule to exist. Otherwise default does nothing.
2010-07-20Don't mix string with format in printfStephen Hemminger
Cleaner to use %d for priority here.
2010-07-20Don't need sudo to run ethtoolStephen Hemminger
Now vyatta user has permission through capability to run ethtool
2010-07-20Fix message when random-detect bandwidth is too lowStephen Hemminger
2010-07-20Fix random-detect queue to small messageStephen Hemminger
Give correct message when queue limit too small in random detect
2010-07-20Validate shaper class ceilingStephen Hemminger
Bug 5879
2010-07-20Allow larger queue size for sub-queues in Shaper and RoundRobinStephen Hemminger
For queue-type (other than fair-queue), it is allowable to have larger queue size. Move validation into class checking.
2010-07-20Use perltidy to cleanup indentationStephen Hemminger
2010-07-20Expose RED values as constantStephen Hemminger
This makes RED more robust since constant values are visible.
2010-07-19Add check for random-detect on slow speed classStephen Hemminger
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.
2010-07-19Add sanity checks for shaper random-detect queue typeStephen Hemminger
Bug 5872 Don't allow stupidly small queue limit, and round up the minimum queue value to be at least one packet.
2010-07-16Allow text string for IP port matchStephen Hemminger
This allows use of IANA (/etc/services) values for port names: example: traffic-policy shaper SS { class 2 { match SMTP ip destination port smtp } }
2010-07-15Allow match on firewall mark and protocolStephen Hemminger
It is possible to use u32 to match on value and mark.
2010-07-15Fix problems when combining match rulesStephen Hemminger
Can't have 2 filters at same priority level, need to cascade them.
2010-07-15Allow match on Ethernet protocol nameStephen Hemminger
Allow using common values supported by TC filter.
2010-07-15Fix rate limiterStephen Hemminger
Missing $ in script Bug 5854
2010-07-12Fix typo in ematch/fwmark filterStephen Hemminger
Needs to be fwmark no fw_mark
2010-07-12Allow firewall mark combined with interface matchStephen Hemminger
Bug 5815 Allow match on firewall mark and interface id. Using meta match it is possible to match on both.
2010-07-12Rename limiter class priority field to precedenceStephen Hemminger
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.
2010-07-09Remove traffic-limiter outboundStephen Hemminger
It won't work because of how classifiers interact with policing. See: http://ace-host.stuart.id.au/russell/files/tc/doc/police.txt