If anyone interested, i modified rlm_ippool.c to work with SQL. This code was made to solve my problem, I needed

Ippool to work (it worked, but wasn’t releasing ip for some reason) and I needed a database that I could access

From the web. This code will NOT work with other method for authorize than SQL. If you use another method with this code

The module will NOT release ip’s from bad username/passwords. Also the sql information is hard coded you will need to edit it.

And the last thing, to avoid running the STOP multiple times, I hard coded the code to run the STOP on one instance only.

For example, if you have three instances called a, b and c, you can edit the code to do the STOP for a only. Otherwise it will run

For the tree of them which is unnecessary.

 

http://core.friendspr.com/~elec/rlm_ipsql.c

http://core.friendspr.com/~elec/Makefile.in

http://core.friendspr.com/~elec/configure.in

 

Abel Alejandro

 

Reply via email to