FreeRADIUS InkBridge

Language Modules

Language modules allow an administrator to use different languages within the server.

If the policies require basic if / then / else checks, or they require simple attribute editing, we recommend using the Unlang Policy Language. It is good enough for nearly all common use-cases, and it is much faster than any of the language modules.

The only reason to use one of these language modules is when you need to connect to an external API, and the API connector is a library which is only available as a language-specific library. In every other case, Unlang will be simpler, and faster.

The available Language modules are:

Language Modules

Module Description

echo

Echo is used in conjunction with the exec module to display output from a program or command.

exec

Executes an external script, passing in FreeRADIUS attributes as environmental variables or as arguments.

lua

Allows the server to call embedded lua scripts.

mruby

Allows the server to call a persistent, embedded mRuby script.

perl

Allows the server to call a persistent, embedded Perl script.

python

Allows the server to call a persistent, embedded Python script.