Request Authenticator value made available to a Perl module
Brandon Miller
webasdf at gmail.com
Tue Nov 14 23:14:37 UTC 2023
Hi Everyone,
I am working on a Perl module that requires access to the Request
Authenticator value for each Access-Request.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Code | Identifier | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Request Authenticator <----------- I need
this value passed to my Perl module
| |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Attributes ...
+-+-+-+-+-+-+-+-+-+-+-+-+-
I combed through the docs and found the Request-Authenticator Runtime
variable (https://wiki.freeradius.org/config/run_time_variables). I
tried to dynamically assign this variable (%V) to a Radius-Request
variable in my site definition file, but the server won't start with
error:
/etc/raddb/sites-enabled/myPerlSite[17]: Failed parsing expanded string:
/etc/raddb/sites-enabled/myPerlSite[17]: %V
/etc/raddb/sites-enabled/myPerlSite[17]: ^ Invalid variable expansion
It seems this variable has been deprecated in v3. Is there any way to
get at this variable in another way? I am running v3.0.13.
Thanks in advance,
Brandon
More information about the Freeradius-Users
mailing list