My earlier email has the sql table which has all the data logged at radius. Without worrying about sql the contents of the packets are as follows.
UserName NASIPAddress AcctStartTime AcctStopTime These have correct values returned from my NAS to radius and radius is successfully able to log them . >From what i understand from your email is to use this info to tell apart the sessions. One way i can think of is to Use UserName and see if AcctStartTime fielf has a value. If it does , that means same UserName can not login. Now to The issue with such an approach is that i can not limit it to 2 or 3 simultaneous use sessions. It will only be one. Can you suggest anything. Also .. Under what circumstances does Simultaneous-Use Attribute works and can i use it in my case. Thanks As i was saying earlier When a sesison starts AcctStartTime gets a values and when this session ends AcctStopTime is assigned a value. So given this info On Sat, 12 Mar 2005 23:59:52 -0500, Alan DeKok <[EMAIL PROTECTED]> wrote: > Rad Adm <[EMAIL PROTECTED]> wrote: > > The problem is that the NAS ( can not ) send NAS-Port Attribute and > > that is not changeable at the moment . So that eliminates the options > > of using radutmp. > > It would appear so. > > > Now knowing that radutmp can not work .. do you have any suggestion as > > to how i am implement User Concurrency. > > If your NAS sends attributes which lets you tell sessions apart, > then you can use those attributes. > > > Each time a user connects to my NAS , it send a Accounting Start > > packet and on user disconnect a Accounting Stop packet. > > That's what the standard says. > > > Given this information what would you suggest is the best way to go > > about and implement user concurrency . > > I have no idea. I don't use SQL, so I don't recall what information > is being logged in them. > > The key is to look at the contents of the packets. That's what's > important. > > Alan DeKok. > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html