RE: Stale Sessions

2008-04-12 Thread Ivan Kalik
Thanks for the reply. However, these are Internet customers coming from DSL or Dial up. I assume the Cisco and portmasters are sending unique session IDs. Don't assume. Use debug to see what's happening with accounting packets. Ivan Kalik Kalik Informatika ISP - List

Re: Stale Sessions

2008-04-11 Thread A . L . M . Buxey
Hi, No one has any ideas or suggestions? If I can solve this issue I will have a 'perfect' freeradius installation. And FYI I upgraded my server to a dual core 2BG of RAM and still the same issue resides. radutmp issueS? what are you using to make sessions unique? perhaps they are not unique

RE: Stale Sessions

2008-04-11 Thread Shane McKinley
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 11, 2008 12:40 PM To: FreeRadius users mailing list Subject: Re: Stale Sessions Hi, No one has any ideas or suggestions? If I can solve this issue I will have a 'perfect' freeradius installation. And FYI I upgraded

RE: Stale Sessions

2008-04-10 Thread Shane McKinley
No one has any ideas or suggestions? If I can solve this issue I will have a 'perfect' freeradius installation. And FYI I upgraded my server to a dual core 2BG of RAM and still the same issue resides. Thanks, Shane From: Shane McKinley Sent: Tuesday, April

Re: Stale Sessions

2008-04-10 Thread Phil Mayers
Shane McKinley wrote: No one has any ideas or suggestions? If I can solve this issue I will have a 'perfect' freeradius installation. And FYI I upgraded my server to a dual core 2BG of RAM and still the same issue resides. If the radius server doesn't receive the packets, it doesn't matter

Re: Stale Sessions

2008-04-08 Thread Bill Brunton
I am having the same problem. I am using: radiusd: FreeRADIUS Version 1.1.3, for host i686-redhat-linux-gnu, built on May 10 2007 at 12:30:17 on Centos 5.1. I only have about 150 users authenticating and I have plenty of CPU time and the server is in a datacenter with several DS3s so I

Re: Stale sessions

2006-06-13 Thread Stelio Gouveia
Thank you Carlos for your reply, your post has been most helpful to reinforce my understanding of freeradius. According to your reply i am going to assume that the only field that need to be updated is the AcctStopTime field. To be honest i dont really understand the logic behind the

Re: Stale sessions

2006-06-12 Thread Alan DeKok
Stelio Gouveia [EMAIL PROTECTED] wrote: I have noticed that you cant rely on the sql method, even thou there is a simul_count_query! In my case when i encounter a stale session i set the AcctStopTime = AcctStartTime + AcctSessionTime. Although this seems to work most of the time, its not fool

Re: Stale sessions problem

2006-02-25 Thread Georgi Alexandrov
Alan DeKok wrote: Georgi Alexandrov [EMAIL PROTECTED] wrote: If a user that somehow failed network connectivity and failed to tell the server account stop tries to reconnect back it won't let him because his previous session is stalled. I need a mechanism that will do a check upon connection if

Re: Stale sessions problem

2006-02-25 Thread Gerry Dalton
Kinda depends on what he is connected to. If you get a START record and a STOP record after the authentication from the device they are connected to you can check there. If you use sql for accounting, there will be a record created with a unique session id for the customer, and it will have

Re: Stale sessions problem

2006-02-25 Thread Alan DeKok
Georgi Alexandrov [EMAIL PROTECTED] wrote: how could one know from the database (radacct i suppose) if a user session i stalled or he's actually online? The SQL module is supposed to do this by calling checkrad. Have you listed sql in the session section? Alan DeKok. - List

Re: Stale sessions problem

2006-02-25 Thread Georgi Alexandrov
Alan DeKok wrote: Georgi Alexandrov [EMAIL PROTECTED] wrote: how could one know from the database (radacct i suppose) if a user session i stalled or he's actually online? The SQL module is supposed to do this by calling checkrad. Have you listed sql in the session section? Alan

Re: Stale sessions problem

2006-02-25 Thread Georgi Alexandrov
Gerry Dalton wrote: Kinda depends on what he is connected to. If you get a START record and a STOP record after the authentication from the device they are connected to you can check there. If you use sql for accounting, there will be a record created with a unique session id for the

Re: Stale sessions problem

2006-02-25 Thread Alan DeKok
Georgi Alexandrov [EMAIL PROTECTED] wrote: sql is listed in the session section, yes. Then it should clean up stale sessions when the user logs in the second time, if the first session doesn't exist on the NAS. IF... checkrad can talk to the NAS. If not, you have to clean them up by

Re: Stale sessions problem

2006-02-21 Thread Alan DeKok
Georgi Alexandrov [EMAIL PROTECTED] wrote: If a user that somehow failed network connectivity and failed to tell the server account stop tries to reconnect back it won't let him because his previous session is stalled. I need a mechanism that will do a check upon connection if the session is

Re: Stale sessions problem

2006-02-20 Thread Georgi Alexandrov
On 2/17/06, Georgi Alexandrov [EMAIL PROTECTED] wrote: Hello,I'm running freeradius 1.1.0 + mysql + dialupadmin on a linux 2.6 boxwith a pppoe-server runing on the same machine as nas.It works great ;-)But i have a problem with stalled sessions.I have set simultaneous use :=1. I have set sql in