LUA Redis Integration

Hermann.Lauer at uni-heidelberg.de Hermann.Lauer at uni-heidelberg.de
Mon Nov 25 10:24:01 UTC 2024


Hi Alan,

On Thu, Nov 21, 2024 at 08:06:13AM -0500, Alan DeKok wrote:
> On Nov 21, 2024, at 4:08 AM, Hermann.Lauer at uni-heidelberg.de wrote:
> > I needed to extend some of the lua scripts provided in the freeradius source
> > code
> 
>   What lua scripts?  v3 doesn't come with any lua scripts.

got them from the "master" git branch more than a year ago, where they are embedded in the files
src/modules/rlm_redis_ippool/rlm_redis_ippool* in C.

> > 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.
> 
>   Configuration reload in v3 only works for a very limited subset of the configuration.  Doing reloads is hard.

Yes, so I'm eager to see if and how this will be handled in v4.

Thanks a lot and greetings
  Hermann


More information about the Freeradius-Users mailing list