RE: Stale Sessions

2008-04-11 Thread Shane McKinley
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.

I will try creating a session timeout of 2 days, then create a script
for updating the accounting stop time.

Thanks all. 

-Original 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 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 enough.  also, some NASs do have issues with sending this
sort of thing properly.  most posts on this topic have, historically,
stated that if you have a session time-out of eg 1 hour, then just run a
script which will close any session that has not bene updated for at
least an hour - because ,logically, that session is now dead and gone.

alan
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


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 08, 2008 11:17 AM
To: 'freeradius-users@lists.freeradius.org'
Subject: Stale Sessions


I have searched and searched, read the archives, etc. I feel that I may
have a unique problem and just missing a piece of the puzzle.
 
I have been running freeradius with a mysql database for over a year
now. It is very stable and I am generally pleased.
 
I have been having stale session issues on every one of my NASes. They
range from Cisco 7200, Cisco 2600, and Livingston Portmasters. They all
have stale sessions in the mysql database that never recieve a stop
time. I am almost certain there are no network issues because it seems
that start packets are never lost or update packets either.
 
This is the aaa config on my Ciscos:
 
aaa new-model
!
!
aaa authentication login default local group radius
aaa authentication login telnet line
aaa authentication ppp default if-needed local group radius
aaa authorization network default local group radius 
aaa authorization network iemcdslauth group radius local 
aaa accounting delay-start 
aaa accounting update newinfo
aaa accounting network default start-stop group radius
aaa session-id common
!
radius-server attribute nas-port format d
radius-server host X.X.X.X auth-port 1645 acct-port 1646
radius-server key 7 XXX
 
So the question is, why are my NASs not sending stop packets, or why is
the freeradius server not processing the stop packets?
 
Is this a common problem? Feel free to also point me to some documents
that may be of assistance. Maybe I don't have enough resources to
process the commands? I have about 1500 users.
 
This is my setup:
 
openSuSE 10.2
Freeradius 1.1.13
MySQL 5.0.26
128MB RAM
Pentium III
 
Thanks for any help,
 
Shane
 
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Stale Sessions

2008-04-08 Thread Shane McKinley
I have searched and searched, read the archives, etc. I feel that I may
have a unique problem and just missing a piece of the puzzle.
 
I have been running freeradius with a mysql database for over a year
now. It is very stable and I am generally pleased.
 
I have been having stale session issues on every one of my NASes. They
range from Cisco 7200, Cisco 2600, and Livingston Portmasters. They all
have stale sessions in the mysql database that never recieve a stop
time. I am almost certain there are no network issues because it seems
that start packets are never lost or update packets either.
 
This is the aaa config on my Ciscos:
 
aaa new-model
!
!
aaa authentication login default local group radius
aaa authentication login telnet line
aaa authentication ppp default if-needed local group radius
aaa authorization network default local group radius 
aaa authorization network iemcdslauth group radius local 
aaa accounting delay-start 
aaa accounting update newinfo
aaa accounting network default start-stop group radius
aaa session-id common
!
radius-server attribute nas-port format d
radius-server host X.X.X.X auth-port 1645 acct-port 1646
radius-server key 7 XXX
 
So the question is, why are my NASs not sending stop packets, or why is
the freeradius server not processing the stop packets?
 
Is this a common problem? Feel free to also point me to some documents
that may be of assistance. Maybe I don't have enough resources to
process the commands? I have about 1500 users.
 
This is my setup:
 
openSuSE 10.2
Freeradius 1.1.13
MySQL 5.0.26
128MB RAM
Pentium III
 
Thanks for any help,
 
Shane
 
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html