Re: Incomplete accounting sessions and IP pool resets

2007-03-22 Thread Peter Nixon
On Wed 21 Mar 2007 11:50, Ramm-Ericson, Johannes wrote:
 Hello Freeradius users!

 I have a recurring problem that I'm wondering if any of you have run
 into. I am currently running freeradius 1.1.4 (haven't had time to
 upgrade yet) on Suse Linux SLES 10 together with a Myql DB engine.

 I am using IP pools to supply users coming from various NAS:es with IP
 adresses. These IP pools seem to run out of IP adresses which is
 surprising given that I have more IP adresses than users for each NAS.
 Basically, new access requests don't get anywhere because there aren't
 any free IPs left. Once I stop freeradius, delete the ip pools and start
 freeradius again everything is fine. It is annoying however

I suggest you take a look at the sqlippool module as you can both easily play 
with the expiry time, and script sql commands from cron instead of deleting 
files on disk. There are quite a few additions in cvs head (soon to be 
FreeRADIUS 2.0) so I suggest you run it instead of the 1.1.x branch..

Regards
-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Incomplete accounting sessions and IP pool resets

2007-03-21 Thread Ramm-Ericson, Johannes
Hello Freeradius users!
 
I have a recurring problem that I'm wondering if any of you have run
into. I am currently running freeradius 1.1.4 (haven't had time to
upgrade yet) on Suse Linux SLES 10 together with a Myql DB engine.
 
I am using IP pools to supply users coming from various NAS:es with IP
adresses. These IP pools seem to run out of IP adresses which is
surprising given that I have more IP adresses than users for each NAS.
Basically, new access requests don't get anywhere because there aren't
any free IPs left. Once I stop freeradius, delete the ip pools and start
freeradius again everything is fine. It is annoying however
 
I suspect the problem may be related to the fact that some sessions do
not recieve accounting session stop packets. This happens alot so
currently I'm working around the issue by way of a cron jobb that
deletes the IP pools and restarts freeradius every night - but this is a
workaround and I really would like a better solution. Particularly since
the problem creeps up in daily operations aswell.
 
Also; I have no control over the NAS:es but I can discuss the issue with
the NAS admins if i know what to look for!
 
Does anyone have any suggestions / ideas / experiences with this sort of
problem?
 
Thanks and Best Regards,
Johannes R-E
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Incomplete accounting sessions and IP pool resets

2007-03-21 Thread Alan DeKok
Ramm-Ericson, Johannes wrote:

 I suspect the problem may be related to the fact that some sessions do
 not recieve accounting session stop packets.

  Yes.  if the server isn't told that the IP is free, what is it
supposed to do?

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html