[ previous ] [ next ] [ threads ]
 
 From:  "Jonathan De Graeve" <Jonathan dot De dot Graeve at imelda dot be>
 To:  "Manuel Kasper" <mk at neon1 dot net>
 Cc:  <m0n0wall dash dev at lists dot m0n0 dot ch>, <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: PHP Radius Extensions C-code
 Date:  Wed, 21 Sep 2005 13:27:19 +0200
I just added the whole Nomadix dictionary to the Radius C extensions

Unlike all attributes are in the C library now they aren't in the PHP
code, only the following attributes are available when set by the radius
server:

Nomadix-Bw-Up: Auth_list['bw_up']
Nomadix-Bw-Down: Auth_list['bw_down']
Nomadix-URL_Redirection: Auth_list['url_redirection']
Nomadix-Expiration: Auth_list['expiration']
Nomadix-MaxBytesUp: Auth_list['maxbytesup']
Nomadix-MaxBytesDown: Auth_list['maxbytesdown']
Nomadix-Logoff-URL: Auth_list['url_logoff']

I'm not going to implement the actual bandwidth limitations etc myself
but this framework gives other developers the possibility to easily add
it without worrying about the radius calls.

It's also possible to give different radius users/groups a different
redirection url after logon

If you want extra features, just ask.

If somebody knows how to request or own vendor code I will make it
possible to implement or own M0n0wall VSA's (you already can start using
the Array Auth_list[] attributes because they will be transparent over
vendors...

J.

---------
Always read the manual for the correct way to do things because the
number of incorrect ways to do things is almost infinite
---------

-----Oorspronkelijk bericht-----
Van: Manuel Kasper [mailto:mk at neon1 dot net] 
Verzonden: woensdag 21 september 2005 12:03
Aan: Jonathan De Graeve
Onderwerp: Re: PHP Radius Extensions C-code

On 21.09.05 11:24 +0200, Jonathan De Graeve wrote:

> What kind of attributes are you going to use for radius selected
> user bandwidth options?

The previous (now removed due to bugs) per-user bandwidth patches
used "Nomadix-Bw-Up" and "Nomadix-Bw-Down", so unless you find a
better set of attributes, I'd say we'll use those.

- Manuel