On Thu, Oct 17, 2013 at 4:35 PM, Petre Bandac <petre@kgb.ro> wrote:
No amount of poking FreeRADIUS will fix a broken NAS.
Freeradius sits behind a pppoe server
Rephrasing my question: I want to detect the lost ppp connections (I suppose there is a timeout set somewhere) and delete the ip from radippool without waiting the lease-time set in radius (something like the check dhcp does with the handled ip addresses)
If you can detect "lost ppp connections", then configure FR is easy. If you CAN'T detect it, then IMHO it's a sign of broken NAS, and as Alan put it, "No amount of poking FreeRADIUS will fix a broken NAS." A sane NAS would usually have some kind of method of notifying radius that a particular connection is still alive. Usually this is in the form of interim-update. FR can then be configured (if not already done so, can't remember from the back of my head) to extend the lease time whenever it receives interim update for a particular user, so that the IP will still be (correctly) marked as used. Sending the lease time to be around twice or three times interim update interval should be enough. -- Fajar