(RADIATOR) Code Snippet for Hourly Limitation on an End-User and/or Proxy
Hugh Irvine
hugh at open.com.au
Thu May 16 02:19:57 CDT 2002
Hello Mike -
All you need is a reply item containing a Session-Timeout attribute set to
the number of seconds that the user has left for the month.
There is an example of how to do this in the file "goodies/radmin.cfg" - you
would do the same sort of thing in an <AuthBy SQL> clause.
regards
Hugh
>
> I searched the goodies directory for the perl responsible for cutting off
> users who have exceeded a particular amount of hours per month. However, I
> can not find any, even though the archives suggest its there.
>
> Can anyone send me the code needed to get this to work? I am not a perl
> programmer, but I love Radiator and do not want to migrate when its
> perfectly capable of doing it.
>
> We have considered a proxy method to control hourly usage but am concerned
> about its performance under load. Does anyone out there have experience
> doing time limitations at the proxy level? It would seem to me, with the
> time needed to do all the updates per second, that Radiator would be likely
> to overrun SQL under heavy load. If someone out there has any real world
> experience doing this, I would love to know how it worked out for you.
>
> Thanks in advance!!!
>
>
> -Mike Walker
> USExpress.net, Inc.
>
> -------------------------------------------------------
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list