Now,

this I have to do it now (can't wait for Radiator 9.3 :-).

As I mentioned in my last cited message, I intend to forward (proxy) a 
request to another radius and this one will tell me which profile it 
wants in a Configuration-Token attribute.

As I am limiting simultaneous use per profile, I can't do this until I 
have this info (this is no problem).

The point is that, obviously, the record in the SessionDatabase MUST have 
the profile info. I insert this record when I receive the Acct-Start 
packet, but this packet DOESN'T have info about the profile (and the NAS 
can't send it).

So, what do I do? The only idea I have is to use the Acct-Session-ID that 
is present in all the packets (Access-Request, Start & Stop), but it 
seems I would need to use an auxiliary table where I insert a record with 
(Session-ID,profile) when I get back the Configuration-Token (in an 
Access-Accept from the final radius), and then, when I get the Start, I 
should check the Session-ID against this auxiliary table, get the 
apropriate profile, insert the record in the SessionDatabase and delete 
the record from the aux.table.

This I don't like, 'cause it implies lots of inserts/queries/deletes in 
this aux.table and eventually, I should do some garbage collection 'cause 
there could be stale records there... probably, any record in the 
aux.table older than 5 minutes should be discarded? when/how do I do this?

Do you have another idea?



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to