$wgDBname<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=User_Manager%2FLimiting</id>
	<title>User Manager/Limiting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=User_Manager%2FLimiting"/>
	<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Limiting&amp;action=history"/>
	<updated>2026-05-09T04:59:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.3</generator>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Limiting&amp;diff=1042&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;{{ Versions | v3.x}}  {{ Note | In version 4,  profiles are used for  user limiting }}  == Introduction == User Manager/Us...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=User_Manager/Limiting&amp;diff=1042&amp;oldid=prev"/>
		<updated>2016-05-10T17:50:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ Versions | v3.x}}  {{ Note | In version 4, &lt;a href=&quot;/support/radio/software/index.php/User_Manager/Profiles&quot; title=&quot;User Manager/Profiles&quot;&gt; profiles&lt;/a&gt; are used for &lt;a href=&quot;/support/radio/software/index.php/User_Manager/Users&quot; title=&quot;User Manager/Users&quot;&gt; user&lt;/a&gt; limiting }}  == Introduction == User Manager/Us...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ Versions | v3.x}}&lt;br /&gt;
&lt;br /&gt;
{{ Note | In version 4, [[User Manager/Profiles | profiles]] are used for [[User Manager/Users | user]] limiting }}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
[[User Manager/Users | User]] actions can be limited in several dimensions:&lt;br /&gt;
* time&lt;br /&gt;
* traffic amount (download and upload)&lt;br /&gt;
* rate limits (speed)&lt;br /&gt;
&lt;br /&gt;
== Time ==&lt;br /&gt;
Time can be managed in two ways: user&amp;#039;s &amp;#039;&amp;#039;uptime-limit&amp;#039;&amp;#039; field and [[User Manager/Credits | credit]]&amp;#039;s &amp;#039;&amp;#039;time&amp;#039;&amp;#039; field.&lt;br /&gt;
&lt;br /&gt;
=== Uptime limit ===&lt;br /&gt;
Uptime limit is maximum time amount a user is allowed to be active (to have [[User Manager/Active sessions | active sessions]]). If the user&amp;#039;s &amp;#039;&amp;#039;uptime-limit&amp;#039;&amp;#039; field is left blank, he/she has no uptime limit. See the [[#Example | example]] below.&lt;br /&gt;
&lt;br /&gt;
Used-uptime for a user is sum of durations of all sessions this user has. Used-uptime can not exceed uptime-limit.&lt;br /&gt;
&lt;br /&gt;
User&amp;#039;s request to start a new session is processed as follows:&lt;br /&gt;
* uptime-limit for the user is checked. If it is not specified, start a new session, otherwise proceed to next step.&lt;br /&gt;
* uptime-left is calculated (left = allowed - used). If uptime-left is not positive, raise an error, otherwise proceed to next step.&lt;br /&gt;
* session-timeout is set and a new session is started.&lt;br /&gt;
&lt;br /&gt;
=== Credit time ===&lt;br /&gt;
[[User Manager/Subscribers | Subscriber]] can define available [[User Manager/Credits | credit vouchers]]. User can buy those vouchers, customers can assign available credits to users. [[User Manager/Credits #User credits | User credits]] are valid specific time. This means, when a credit is started, it must be used within a time specified. User can have active sessions only while he/she has valid credits. See the [[#Example | example]] below.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
If a user must be allowed to use 2 hours of Internet access and he/she must use these 2 hours within one week, then the &amp;#039;&amp;#039;uptime-limit&amp;#039;&amp;#039; field must be set to &amp;#039;&amp;#039;2h&amp;#039;&amp;#039; and the user must be assigned a credit with time equal to &amp;#039;&amp;#039;1w&amp;#039;&amp;#039; (See [[User Manager/Character constants | character constants]] for more information about time limit constants).&lt;br /&gt;
&lt;br /&gt;
== Traffic amount ==&lt;br /&gt;
User has fields &amp;#039;&amp;#039;download-limit&amp;#039;&amp;#039; and &amp;#039;&amp;#039;upload-limit&amp;#039;&amp;#039;. To specify unlimited amount, leave blank the proper field.&lt;br /&gt;
Limits are specified in bytes. For example, to allow download 1GB, &amp;#039;&amp;#039;download-limit&amp;#039;&amp;#039; field must have value of 1073741824 (1073741824 bytes = 1024 x 1024 x 1024 bytes = 1 gigabyte).&lt;br /&gt;
&lt;br /&gt;
== Rate limits ==&lt;br /&gt;
User has field &amp;#039;&amp;#039;rate-limit&amp;#039;&amp;#039;. This field is available straight in the console, but is divided in several fields in web-interface, to ease the input process. For more detailed description about the meaning of these fields see CableFree HotSpot User AAA documentation, HotSpot User Profiles, Property description, rate-limit.&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>