summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2010-07-09Fix out of date commentsStephen Hemminger
Comments contained reference to old syntax
2010-07-08Cleanup error message on conflicting matchStephen Hemminger
2010-07-08Add ability to match on firewall markStephen Hemminger
Bug 5799 - Add matching on firewall mark values Bug 5795 - Block match rules that have multiple underlying filters
2010-07-07Fix error handling for rate limiterStephen Hemminger
If bandwidth not defined for rate limiter policy, the error message should come from policy (not perl error checking).
2010-06-30Fix match rule on incoming interfaceStephen Hemminger
Bug 5769 The incoming interface index was recorded with _dev but code was looking for _indev
2010-06-14Reject ip as a IP protocol valueStephen Hemminger
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
2010-06-14Add default for traffic limiterStephen Hemminger
This adds: set traffic-policy limiter TL default bandwidth 1mbit
2010-06-11Fix typo in traffic limiterStephen Hemminger
Command format error.
2010-06-07Rearrange Qos commands for LarkspurStephen Hemminger
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.
2010-06-07Revert "Allow any Qos policy to be used for input"Stephen Hemminger
This reverts commit c8f2c288665143e2b165b7d448555af9d657b56c. Conflicts: scripts/vyatta-qos.pl
2010-06-07Revert "Move traffic-limiter to input-policy"Stephen Hemminger
This reverts commit b75a66a4d5768f22a4b995d49ba442de8762a800.
2010-05-12Add drop action to ingress limit policyStephen Hemminger
Need to drop (not reclassify) packet when threshold is reached. Bug 5599
2010-05-06Make sure perl modules end with 1;Stephen Hemminger
Need to ensure success on package load
2010-04-06Move traffic-limiter to input-policyStephen Hemminger
This changes: qos-policy traffic-limiter foo class ... interfaces ethernet eth0 qos-policy in foo to interface ethernet eth0 input-policy limit class ... Which unifies all uses of ingress qdisc (limit, redirect, mirror) into a single usage model.
2010-04-06Preliminary support of input-policyStephen Hemminger
Support mirror and redirect. Note: traffic-limiter is broken (ignored), and will later be moved to input-policy/limit
2010-03-29Allow any Qos policy to be used for inputStephen Hemminger
Bug 5123 Add ability to use traffic-shaper and other policies for input traffic.
2010-03-29Allow use of traffic-limiter for output policyStephen Hemminger
Simple limiting on output.
2010-02-17Fix typo in filtering for matchStephen Hemminger
Missing space in command cause failure of filter. Introduced with previous change to allow any protocol.
2010-01-22Simple to allow matching vlan tagged framesStephen Hemminger
Just skip matching on ethernet type field, this allows both IP and VLAN frames (and allows IPV6 over vlan). The downside is some false matches possible on non-IP frames, but not a big issue. Bug 4978
2009-10-01Fix match rules for traffic limiterStephen Hemminger
Need to pass police string in to Match filter generator. Bug 4596 (cherry picked from commit 340773bacdacbb88586ff0ea8d053990205bd538)
2009-10-01random-detect needs qmax > qminStephen Hemminger
Need some space to compute RED parameters Bug 4594 (cherry picked from commit 603752d0771c2bdaf77e18e0f65135ac090fde85)
2009-10-01Fix IPV6 traffic-class matchStephen Hemminger
This resolves issues with mulitple filters (can't have same priority), and IPV6 traffic-class/dscp match rules Bug 4552 (cherry picked from commit da8a3fdc4e5cc526bb28f6959944f3635c23a6ed)
2009-10-01Fix mixed protocol matchesStephen Hemminger
If matching on multiple protocols in same traffic-shaper class then the filter command was garbaled. Bug 4552 (cherry picked from commit 22e0d06a750abc2847e7e7bc96d8abf341a5bca1)
2009-10-01Fix DSCP field match with set-dscpStephen Hemminger
Special case of DSCP changing exposed bug in dscp match code. Bug 4551 (cherry picked from commit 87f3e3dd1d054e5c356b8b9e251eb23b6a35bb32)
2009-10-01Fix issues with vif matchStephen Hemminger
Typo in hash for match Bug 4583 (cherry picked from commit 2631b297f701250537ed0eeda21d5fe01c67785f)
2009-10-01Require bandwidth setting for default classStephen Hemminger
Check for bandwidth value on default class (Bug 4551) (cherry picked from commit e69c7c849e70edd757b160488f83035f2a16be66)
2009-10-01Address issues in traffic-shaper matchStephen Hemminger
Fix bug when matching only ether protocol field (Bug 4539) Fix IPV6 match (Bug 4548) (cherry picked from commit 4ce140e2d2376b647f5dc65de0316bd331167a41)
2009-10-01Cleanup how qos-policy change detection worksStephen Hemminger
The CLI end: node does work correctly, so don't need to go walking configuration manually Bug 4545 (cherry picked from commit 377896b296827e4d7c3c20debb3487605c45bbe3)
2009-10-01IPV6 match fixStephen Hemminger
Bug 4548 The tc u32 filter command wants "ipv6" in protocol field but "ip6" in the match field. Make up your mind Alexey! (cherry picked from commit e7d228450c037ce16923dee385e127e7028d3358)
2009-10-01Change initialization of WRED parametersStephen Hemminger
Bug 4544, 4543 Rereading documentation: mark-probability should always be 1/10 min-threshold should be scaled if max-threshold changed Also enforce sanity constraints on values. (cherry picked from commit 3a88e33b7d06814faac5c20e539f3b5d28f2bcb5)
2009-10-01Fix netem bandwidth (TBF) setupStephen Hemminger
Need limit or latency value Bug 4533 (cherry picked from commit 61a756a5003bda12380c300dbc963adfcc09d888)
2009-10-01Handle round-robin without configuration of defaultStephen Hemminger
If default class is not configured Qos. Bug 4529 (cherry picked from commit 0df90b28ca6d9cb6ae4f5267ef8522ac12a0c352)
2009-10-01Allow setting queue limit and average packet sizeStephen Hemminger
Two more (optional) parameters for random detect precedence groups. Bug 4518,4519 (cherry picked from commit 8104da09f5da338c6ce0813c367262de4e417598)
2009-10-01Allow random-detect for Qos policy types without rateStephen Hemminger
Part of Bug 4516 (cherry picked from commit 8f5e0920e7edd83b8d58d016d7ec6964bf222577)
2009-10-01Use sudo when getting speedStephen Hemminger
Ethtool doesn't allow non-root user to read settings (in mainline kernel). (cherry picked from commit 767fa8a7e2afeb1d53838a6f544fa1232aef39da)
2009-06-01Handle missing rate value more gracefullyStephen Hemminger
2009-05-28Allow netem without network delay valueStephen Hemminger
Bug 4466 Need to allow policy without delay value.
2009-05-28Handle percent without % signStephen Hemminger
Bug 4465 When using percent for netem, allow value without percent
2009-05-27Fix setup of DP Virtual QueuesStephen Hemminger
Was refering to VQ incorrectly, they are not subclasses in GRED
2009-05-27Fix missing argument in NetemStephen Hemminger
Missing interface name in printf
2009-05-26Fix WRED setupStephen Hemminger
1. Use 0 for default class 2. Use indices in dsmark 3. Better formatting
2009-05-26One more pass over on RED parametersStephen Hemminger
Make sure and get scaling right here.