(RADIATOR) Uniqueness in session database

Hugh Irvine hugh at open.com.au
Sat Oct 23 04:24:32 CDT 2004


Hello Martin -

You can redefine what variables are used in the session database by 
specifying whatever SQL queries are required.

See section 6.8 in the Radiator 3.10 reference manual ("doc/ref.html").

regards

Hugh


On 23 Oct 2004, at 00:06, Cockerell Martin (UK) wrote:

> I am using a PreAuthHook to substitute Calling-Station-Id for 
> User-Name prior to the lookup for an Access-Request, and this is 
> working fine as a means of providing a unique, fixed IP address based 
> on MSISDN.  However, I have noticed that the session database is still 
> being updated based on the incoming username – as we are using a 
> single (dummy) username for all of our devices and our NAS (a Nortel 
> GGSN) does not provide a value for NAS-Port it would seem that the 
> session key is not unique.
>
> So a couple of questions:
>
>  
>
> 1)                     Will this cause a problem, or does the deletion 
> of a session from the database take into account some other parameter, 
> such as Framed-IP-Address?
>
> 2)                     If the lack of a unique key does cause a 
> problem I’m happy to substitute another parameter for NAS-Port, but in 
> which hook would I need to do this?
>
>  
>
> Thanks in advance,
>
> Martin
>
>  
>
> ========================================================
> This electronic message contains information from the mmO2 plc Group
> which may be privileged or confidential. The information is intended to
> be for the use of the individual(s) or entity named above. If you are 
> not
> the intended recipient be aware that any disclosure, copying
> distribution or use of the contents of this information is prohibited. 
> If you
> have received this electronic message in error, please notify us
> by telephone or email (to the numbers or address above) immediately.
> ========================================================
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
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