On Fri, Dec 10, 2004 at 10:20:36AM +0100, Alfred H. Dahl wrote: > we have a problem with our IP-POOL.
> We run pppoe-servers from Mikrotik, and we assign IP to the client > using freeradius 0.9.3. > If a Mikrotik pppoe-server stops, or the accounting-stop-packet from > the pppoe-server does not reach the radius-server, the IP-address is > not freed from the ip_pool, meaning we get "stale" sessions in the > IP-Pool. Depending on the port-numbers you're getting from the pppoe server, this shouldn't be a problem. If your port numbers are densely populated, and there are less than the entries in your IP pool, stale entries aren't a problem. > Is there a way to manipulate the "active"-flag in the IP-Pool for a > given IP? Does the radzap-routine also remove the active entry from > the IP-POOL when the corresponding account is zap'ed? rlm_ippool_tool should be able to do it... Be careful though, the file format changed (I think) in the 1.0.0 release. On the other hand, I don't recall when rlm_ippool_tool was integrated into FreeRADIUS... You may have to glance at the CVS logs for rlm_ipool_tool.c for that sort of detail. ^_^ radzap _ought_ to clear entries from the ippool, but I never had any luck with it in 0.9.3. Kostas made some large improvements for the 1.0.0 release involving some locking issues, and it seems to be working much better here. -- Paul "TBBle" Hampson, on an alternate email client. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html