(RADIATOR) More questions!

Hugh Irvine hugh at open.com.au
Mon Aug 20 21:33:49 CDT 2007


Hello Adam -

You can use hooks in your Radiator configuration file to do whatever  
special processing you require.

There are many example hooks in "goodies/hooks.txt" in the Radiator  
distribution.

regards

Hugh


On 21 Aug 2007, at 03:17, Adam Armstrong wrote:

> Hi All,
>
> Ok, I managed to figure out how to do the hourly billing and  
> accounting stuff (a mess of php using the accounting table  
> generating new usage, usage_daily and usage_monthly tables, if  
> anyone wants it, they can have it!).
>
> My new question for this week is :
>
> What's the best way to handle giving customers a static IP / subnet?
>
> I'd rather not store the framed-ip-address / framed-ip-netmask in  
> the database, as that's a bit messy and horrible to parse out into  
> other systems!
>
> Is it possible to have a field in the db called 'ip' and generate  
> "framed-ip-address = x.x.x.x, framed-ip-netmask = 255.255.255.255"  
> from an ip like 1.1.1.1 and add it to the reply?
>
> Also, would it then be possible to have a field called 'netblock'  
> and generate framed-ip-address=x.x.x.x framed-ip-netmask = y.y.y.y"  
> from a cidr entry like 1.1.1.1/27?
>
> I'm sure it is possible, just as to how easy it is to figure out :)
>
> Thanks all,
> adam.
>
> --
> 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.



NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


--
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