Unknown module "clients"

Stefano Zanmarchi zanmarchi at gmail.com
Tue Jun 23 14:39:18 CEST 2015


Hello,
I'm performing some filtering, based on the client, in the authorize
section of inner-tunnel:

authorize {
        preprocess
        rewrite.calling_station_id
        if ("%{clients:shortname}" =~ /internal_radius_(.*)/i) {
          ok
          update control {
            Auth-Type := Accept
          }
        }
...
}

The output logs in debug mode show the following warning:
..
++? if ("%{clients:shortname}" =~ /internal_radius_(.*)/i)
WARNING: Unknown module "clients" in string expansion "%"
..

Does this mean that the 'if ("%{clients:shortname}"...' clause is not being
evaluated?
How can I solve the problem generating the warning?

Thank you,
Stefano


More information about the Freeradius-Users mailing list