Revision with unchanged content. Quality of Service (QoS) is commonly used to shape network traffic to meet specified criteria. The various scenarios include limiting and reserving bandwidth for a particular application, host or user, prioritizing latency sensitive traffic or equal distribution of unreserved bandwidth. There are, however, other applications, such as distributing and controlling a traffic quota. These are very common in shared networks, where QoS provides more sophisticated means than fixed per user limits and simple disconnection after the user reaches the limit. The simplest approach to restrict the bandwidth to a fixed rate is a rather awkward albeit effective solution. The DynShaper software takes a more sophisticated approach to this problem. This book covers the algorithms used by the DynShaper software to create a fair and efficient distribution of a traffic quota in shared networks.