[freeside] Radius Check Items

ivan ivan at 420.am
Mon Jul 3 06:33:51 PDT 2000


On Thu, Jun 29, 2000 at 08:31:53AM -0500, Kenny Elliott wrote:
> Hi Ivan:
> 
>   Sorry I have not contributed any more patched lately but it's been a
> very hectic two weeks around here. I'm hoping to get back on track
> today though.

Hahaha, quite all right.  Patches in any timeframe are most appriciated.

>   I need to add the ability to add radius check items to a service
> definition. Currently if I add additional radius items to the svc_acct
> and part_svc (I don't need to add them anywhere else right) they will
> be treated as Radius reply items only. Adding check items allows me to
> support NAS-Port-Type and ICRadius' Simultaneous-Login. The best I've
> come up with so far is to add 'radiuscheck_' fields to the database
> and supporting scripts. Do you see any problems with this?

That should work for now - though I'd ask that you use something no longer
than `radius_' - maybe `rcheck_' ?  The problem is the resultant fields 
in part_svc:

svc_acct__radius_Attribute_flag

which already overflow PostgreSQL default of 31 characters for some RADIUS
attributes.  Come to think of it, it might be better to use something as
short as possible - `rc_' ?

> Are there
> any reasons  you would not like to do it this way and perhaps do it
> another.

Longer-term, I need to do something about the length of the column names -
The SQL1992 standard defines 18 character column names, which would be a
reasonable goal.

>   One other question. The Radius documentation says that
> Framed-Address should be Framed-IP-Address. Either seems to work on my
> ICRadius and my Livingston Radius v2.x. Any problems with me changing
> it to the standard?

Sounds good.

>   I also noticed in the TODO file that Tim Jung was looking for a way
> to support pre-paid cards. I'm ccing this to him so he will see it but
> I wanted to mention for those who did not know that ICRadius supports
> Monthly-Time-Limit and Total-Time-Limit attributes. This probably will
> not solve all of the issues related to pre-paid cards but way assist
> in that effort.

There's support for pre-paid cards via dollar amount - see the end of
htdocs/docs/signup.html.

There isn't any support for time tracking yet, although I have specced out
a RADIUS monitoring system which would provide this functionality.

-- 
meow
_ivan



More information about the freeside-users mailing list