Modified version of rlm_counter for FR3

Marco Marino marino.mrc at gmail.com
Tue Mar 11 20:18:53 CET 2014


It's a modified version of rlm_counter.
New features:
1) Per realm or per nas-identifier different counters with possibility of
set reply and check item values.
Logical behavior is (per realm counter example)
- if the user "has" a realm and this realm is present in the configuration
file, then it returns check and reply values in the config file.
- else -> normal behavior of freeradius.
2) Avoid the gdbm database reset after a freeradius restart using the
configuration file.

Pay attention please: rlm_counter needs the "daily" directive in the
authorize and accounting sections!

Repository is here -> https://bitbucket.org/ntt1985/rlm_counter-v3  (i'm
not so sure. I'm not using well bitbucket, so if we have problems, please
mail me)
In the repository there is a file named counter that contains an example
for a configuration file. Use this in mods-available/counter and create a
symbolic link in mods-enabled/

Thanks,
MM


2014-03-11 14:59 GMT+01:00 Alan DeKok <aland at deployingradius.com>:

> Marco Marino wrote:
> > on bitbucket there is my version of rlm_counter for FR3 (search for
> > rlm_counter-v3 , user = ntt1985). Let me know if this version can be
> > useful for other users.
> > Every question/comment/criticism is welcome.
>
>   You could explain *why* you modified it, and *what* new functionality
> it has.
>
>   And post a link to it.  You have the URL in front of you.  Asking us
> to search for it means we're not going to do that.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/devel.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140311/711f45a2/attachment.html>


More information about the Freeradius-Devel mailing list