New Problem with sqlcounter

Alan DeKok aland at deployingradius.com
Thu Dec 4 16:42:45 CET 2014


On Dec 4, 2014, at 7:00 AM, Haviaras Kostas <koshalirod at gmail.com> wrote:

> Hello, I have write the following rule on the sqlcounter module:
> sqlcounter checkthetime {
>     sql_module_instance = "sql"
>     dialect = ${modules.sql.dialect}
> 
>         counter_name = "All-Hour-Used"
>         check_name = "Max-Hour-Used"
>         key = "User-Name"
>         reset = “never"

  Which doesn’t set a reply_name.  Why?

> Even I don't have define property reply_name = "Session-Timeout" in my rule it appears!! My problem is that the Session Time out is defined even if I didn't define it.

  Yes.  The counter module has a default reply_name.

  If the module didn’t send Session-Timeout, the user would be online for longer than the maximum allowed tim you set, and you would be say that’s a bug.

  Alan DeKok.



More information about the Freeradius-Users mailing list