Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
mod_feature_capping.pm [2016-09-26 17:49] – [SMRadius-Capping-Uptime-Limit] nkukardmod_feature_capping.pm [2016-09-27 08:39] – [Attributes] nkukard
Line 2: Line 2:
  
 Implements traffic or session time based capping defined using certain attributes that can be set at a group or user level. Implements traffic or session time based capping defined using certain attributes that can be set at a group or user level.
 +
 +====== Config File ======
 +
 +===== [mod_feature_capping] =====
 +
 +==== enable_mikrotik ====
 +
 +Enable Mikrotik specific attributes to allow better control of capping and traffic control by setting session limits.
 +<code>
 +enable_mikrotik=yes
 +</code>
 +
 +==== caveat_captrafzero ====
 +
 +<btn type="success" size="xs">Supported <badge>v1.0.x</badge></btn>
 +
 +Enable the captrafzero caveat. This will swap the meaning of 0 and undef on traffic capping limits. There was a logic error prior to v1.0.x.
 +<code>
 +caveat_captrafzero=yes
 +</code>
  
 ====== Attributes ====== ====== Attributes ======