> 
> 
> Would be handy to change Acct-Interim-Interval to something like:
> ----
> update reply {
>       Acct-Interim-Interval := 3000 + %{rand:1200}
> }
> ----
> 
> This would give me Acct-Interim-Interval set to 1hr+-10mins.
> 
> As it is set now, I just got 1MB of journal recorded to file accounting 
> data landing on my systems :)

Are you suggesting adding a rand xlat? I guess it'd be useful to add some fuzz 
to interim update intervals.  But there are many other options for fuzz other 
than rand. For example...

if("%{%{NAS-IP-Address}:-%{Packet-Src-Ip-Address}}" =~ 
/([0-9]{1,3})[.]([0-9]{1,3})$/){
        update control {
                Tmp-Integer-0 = "%{expr:((%{1}*1000)+%{2})%%2000}"
        }
}

-Arran

Arran Cudbard-Bell
a.cudba...@freeradius.org

RADIUS - Half the complexity of Diameter


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to