Re: User never get disconnected (was Re: Simultaneous-Use problem)

2007-04-12 Thread Milan Holub
On Thu, Apr 12, 2007 at 07:42:16AM +, PD wrote: I still have another problem... many of radacct table records are incompleted. We know the user already disconnected (even by click logout botton or just shut his/her computer down), but the information did not saved. At Radacct table,

Re: User never get disconnected (was Re: Simultaneous-Use problem)

2007-04-12 Thread PD
On 4/12/2007, Milan Holub [EMAIL PROTECTED] wrote: == is Accounting-STOP reaching your radius? you can find out by running in debug mode: freeradius -X == is the correct query run on your database? check accounting_ queries in your sql/mysql-dialup.conf * check your DB log files: eg. with mysql:

Re: User never get disconnected (was Re: Simultaneous-Use problem)

2007-04-12 Thread satish patel
I have faceing same problem when some time NAS send ACCT-STOP packet and packet would be lost then user session would be open and next time whne user try to login he/she got error multilogin so that i have implement checkrad.pl script and check simultaneouse users through SNMP and it is working

Re: User never get disconnected (was Re: Simultaneous-Use problem)

2007-04-12 Thread satish patel
checkrad work only for simultaneous detection not fix my stop time entry in sql it is possible to modify checkrad to fix sql stop time in radacct table ? [EMAIL PROTECTED] wrote: If you are happy with reliability then fix checkrad and it will clean these random drops. That is the utility that

Re: User never get disconnected (was Re: Simultaneous-Use problem)

2007-04-12 Thread Jacob Jarick
for a temp fix I would make your perl script ping said ip before checking for idle (perhaps a sleep timer) or you could simply have each supposed active ip pinged every 1 - 2 minutes by a seperate perl script. Would you mind posting your checkrad.pl script, Im a perl hacker myself :) On 4/12/07,

Re: User never get disconnected (was Re: Simultaneous-Use problem)

2007-04-12 Thread tnt
No. Idle-Timeout will work if NAS doesn't realize that user is not online any more. It doesn't help if stop packets are lost. Only checkrad or such routines that check user status with NAS will help there. Ivan Kalik Kalik Informatika ISP Dana 12/4/2007, satish patel [EMAIL PROTECTED] piše: I

Re: User never get disconnected (was Re: Simultaneous-Use problem)

2007-04-12 Thread tnt
There is a line in (my)sql.conf: # Remove stale session if checkrad does not see a double login deletestalesessions = yes that enables it. I don't know if there is such an entry in mssql.conf. Ivan Kalik Kalik Informatika ISP Dana 12/4/2007, satish patel [EMAIL PROTECTED] piše: