Freeradius with Caller-station-id

Alan DeKok aland at deployingradius.com
Thu Feb 16 10:00:06 CET 2012


Richard J Palmer wrote:
> There are two reasons for my approach:
> 
> 1) The radius server is also serving other requests that DO have a
> username password it is only certain logins I need to process
> differently - those where the caller ID matches a pattern.

  So... write code to match that pattern, and treat those requests
differently.

> 2) On those that do match I do want per session settings - ie to return
> a IP address.

  So... figure that out.

> This way seems to achieve that mix easily and seems to work.
> 
> I'm happy for suggestions as ever ...

  Write down what you want to do.  Use English.  Refer to packets,
attributes, and values of those attributes.  Refer to contents of
databases.  Use the contents of the attributes to look up information in
a database.

  That should be 4-5 paragraphs of text at most.

  Then... convert it to unlang.

  The majority of problems people have is in defining what they want to
do.  They ask for help with messages like "I want to do stuff!".  OK...
WHAT do you want to do?  They don't know... but they know want want to
do stuff, and they know we're not being helpful!

  Help yourself.  Understand the problem *independent* of FreeRADIUS.
Then, configure FreeRADIUS to solve your problem.

  Alan DeKok.



More information about the Freeradius-Users mailing list