AFAIK the 'other' type doesnt make any checks on the NAS if a user logged on or not. Radius then relies on the accounting packets received from the NAS. If you know little perl then you can perhaps make an addition to radcheck script.
Evren On Mon, 3 Mar 2003, Eric wrote: > I use chinese nas hardware by Huawei (QuidwayA8010 refiner). > Maybe somebody knows with what type of nas (in radius) it compartible? > Now I'm use "other" type. But I have staled session with it. > Thanks. > > > On Saturday 01 March 2003 18:17, Kostas Kalevras wrote: > > On Thu, 27 Feb 2003, Eric wrote: > > > Hi, all > > > > > > I use freeradius with MySQL & I have problem with user freezing. > > > I'm turn off any accounting & logging except MySQL (such as radutmp, > > > radwtmp). My radius server works pretty well except one thing: > > > When my users is disconnects unexpectedly (telephone line rapture & etc.) > > > in the database his still online (AcctStopTime is still 0000-00-00 > > > 00:00:00) & as effect his can't reconnect (radius tells him such login > > > already exists). To solve it I'm every day check radacct table for > > > redundancy > > > AcctStopTime=0000-00-00 00:00:00 & delete all this records. I do this > > > manualy every day. My users thinks that somebody steals his password. > > > > > > Question: How can I check for existance of incorrect entries & delete it > > > automatically or at all debar from appearance of it? > > > > The fact that you get stale sessions in your database means that your NAS > > does not work that well. It should always send accounting-stops. Also you > > should setup the nas type in clients.conf so that freeradius can first ask > > the nas about if the user is logged in before rejecting him. If you do this > > then if the NAS reports back that the user is not logged in and we have a > > stale entry in the database then we zap that entry. > > > > > Thanks in advance. > > > > > > Regards, Eric. > > > > > > > > > > > > - > > > List info/subscribe/unsubscribe? See > > > http://www.freeradius.org/list/users.html > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
