Possible to display/capture values of variables/attributes at various points in the RADIUS conversation?
Hello, Would like to get the value of "request:EAP-Type" after the authorize section of the site config has been processed, and have it returned in the debug output or logged, so I can look at it. Is ther a way to do this? Thanks, Joshua
Joshua Paye wrote:
Hello,
Would like to get the value of "request:EAP-Type" after the authorize section of the site config has been processed, and have it returned in the debug output or logged, so I can look at it. Is ther a way to do this?
$ man unlang This is documented. Alan DeKok.
Thank you for the response Alan. For other people who find this isn't immediately obvous after reading the unlang man page: "%{foo}" will exapnd the variable/attribute "foo". If you are running radiusd in debug mode then it will print the value of the exapnded variable/attribute to stdout. Example: Placed in site config: "%{request:EAP-Type}" Corresponding debug output: expand: %{request:EAP-Type} -> Identity Thanks, Joshua -- View this message in context: http://freeradius.1045715.n5.nabble.com/Possible-to-display-capture-values-o... Sent from the FreeRadius - User mailing list archive at Nabble.com.
participants (3)
-
Alan DeKok -
jkpaye@gmail.com -
Joshua Paye