LUA Redis Integration
Hermann.Lauer at uni-heidelberg.de
Hermann.Lauer at uni-heidelberg.de
Thu Nov 21 09:08:35 UTC 2024
Hi,
On Wed, Nov 20, 2024 at 06:47:15AM -0500, Alan DeKok wrote:
> > On Nov 20, 2024, at 1:00 AM, Gabriel Marais <gabriel.j.marais at gmail.com> wrote:
> > I was wondering if anyone has successfully integrated LUA with Redis
> > in freeRADIUS.
...
> The documentation doesn't say that the redis module supports in-line lug.
I needed to extend some of the lua scripts provided in the freeradius source
code and used the python3 module for that. So if there is interest, I can
provide a stripped down version version how this can be done. There are
pitfalls, as with 3.2.x a config reload is not working due to some threading
stuff.
> The lua scripts have to be on the redis server before FreeRADIUS can use them. Then, just use normal Redis queries from FreeRADIUS to run the scripts.
Ok, there are other ways to do this...
Greetings
Hermann
More information about the Freeradius-Users
mailing list