suggestions about load-balance/cluster

Jorge Pereira jpereiran at gmail.com
Thu Oct 22 10:00:10 CEST 2015


Hi Matthew,

In my case, all of my NAS have the Acct-Session-Id during the
Access-Request. In another project
I create my Acct-Session-Id based in some avps as below example.

if (!&Acct-Session-Id) {
    update {
       &Acct-Session-Id := "static:%{md5:
%{Calling-Station-Id},%{Called-Station-Id}}"
    }
}

And save your preferred avps in REDIS using this like a key. The idea
of prefix "static" it's only
to be different.

--
Jorge Pereira


On Thu, Oct 22, 2015 at 5:43 AM, Matthew Newton <mcn4 at leicester.ac.uk> wrote:
> On Wed, Oct 21, 2015 at 11:11:15PM -0200, Jorge Pereira wrote:
>> About the ways to based the requests, I have used the Acct-Session-Id
>> which is the key of storage. below a example.
>
> There is no accounting session ID in an auth request...
>
> Matthew
>
>
> --
> Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
>
> Systems Specialist, Infrastructure Services,
> I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
>
> For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list